rfc:function_autoloading

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:function_autoloading [2015/09/03 05:06] – Add support for multiple types of autloaders defined in a single call ircmaxellrfc:function_autoloading [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 32: Line 32:
 === bool php\autoload_register(callable $callback, int $type, bool $prepend = false) === === bool php\autoload_register(callable $callback, int $type, bool $prepend = false) ===
  
-This function behaves similar to the current //spl_autoload_register// function. You *must* call this function individually for the specific autoloader that you want to hook into.+This function behaves similar to the current //spl_autoload_register// function. You can pass in a bitmask of types to register for this autoloader.
  
 === bool php\autoload_unregister(callable $callback, int $type = 0) === === bool php\autoload_unregister(callable $callback, int $type = 0) ===
rfc/function_autoloading.1441256769.txt.gz · Last modified: 2017/09/22 13:28 (external edit)