Searched refs:spl_autoload_register (Results 1 – 25 of 158) sorted by relevance
1234567
/PHP-8.0/ext/spl/tests/ |
H A D | spl_autoload_bug48541.phpt | 2 SPL: spl_autoload_register() Bug #48541: registering multiple closures fails with memleaks 23 spl_autoload_register($a); 24 spl_autoload_register($a2); 25 spl_autoload_register($b); 29 spl_autoload_register($c); 30 spl_autoload_register($c2);
|
H A D | spl_autoload_warn_on_false_do_throw.phpt | 2 spl_autoload_register() function - warn when using false as second argument for spl_autoload_regist… 8 spl_autoload_register('customAutolader', false); 14 Notice: spl_autoload_register(): Argument #2 ($do_throw) has been ignored, spl_autoload_register() …
|
H A D | spl_autoload_002.phpt | 11 spl_autoload_register(); 15 spl_autoload_register('SplAutoloadTest1'); 16 spl_autoload_register('SplAutoloadTest2'); 17 spl_autoload_register('SplAutoloadTest1'); 29 spl_autoload_register();
|
H A D | bug61697.phpt | 9 spl_autoload_register('f1'); 10 spl_autoload_register('f2'); 11 spl_autoload_register(function($class) { echo "cf1: [[$class]]\n"; }); 12 spl_autoload_register(function($class) { echo "cf2: [[$class]]\n"; });
|
H A D | bug71236.phpt | 2 Bug #71236: Second call of spl_autoload_register() does nothing if it has no arguments 6 spl_autoload_register(function ($class) {}); 7 spl_autoload_register();
|
H A D | spl_autoload_throw_with_spl_autoloader_call_as_autoloader.phpt | 2 spl_autoload_register() function - warn when using spl_autoload_call() as the autoloading function 7 spl_autoload_register('spl_autoload_call'); 14 spl_autoload_register(): Argument #1 ($callback) must not be the spl_autoload_call() function
|
H A D | spl_autoload_007.phpt | 45 spl_autoload_register($func); 55 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, class MyAutoLoader does … 58 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, cannot access protected … 64 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, non-static method MyAuto… 72 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, class MyAutoLoader does … 80 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, cannot access protected … 96 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, non-static method MyAuto… 105 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, class MyAutoLoader does … 114 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, cannot access protected …
|
H A D | spl_autoload_005.phpt | 23 spl_autoload_register(array('MyAutoLoader', 'autoLoad'), true); 32 spl_autoload_register(array($myAutoLoader, 'autoLoad')); 33 spl_autoload_register(array($myAutoLoader, 'autoThrow')); 46 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, non-static method MyAuto…
|
H A D | spl_autoload_010.phpt | 18 spl_autoload_register('autoloadA'); 19 spl_autoload_register('autoloadB', true, true); 20 spl_autoload_register('autoloadC');
|
H A D | spl_autoload_001.phpt | 45 spl_autoload_register(); 53 spl_autoload_register("TestFunc1"); 54 spl_autoload_register("TestFunc2"); 55 spl_autoload_register("TestFunc2"); /* 2nd call ignored */ 62 spl_autoload_register("spl_autoload"); 68 spl_autoload_register("unavailable_autoload_function"); 103 spl_autoload_register(): Argument #1 ($callback) must be a valid callback, function "unavailable_au…
|
H A D | bug40091.phpt | 2 Bug #40091 (issue with spl_autoload_register() and 2 instances of the same class) 13 spl_autoload_register(array($autloader1, 'autoload')); 16 spl_autoload_register(array($autloader2, 'autoload'));
|
H A D | bug65006.phpt | 2 Bug #65006: spl_autoload_register fails with multiple callables using self, same method 8 spl_autoload_register(array('self','load')); 15 spl_autoload_register(array('self','load'));
|
H A D | spl_autoload_003.phpt | 24 spl_autoload_register("TestFunc1"); 25 spl_autoload_register("TestFunc2"); 26 spl_autoload_register("TestFunc3");
|
H A D | spl_autoload_013.phpt | 22 spl_autoload_register($closure); 23 spl_autoload_register($al1); 24 spl_autoload_register($al2);
|
H A D | spl_autoload_009.phpt | 14 spl_autoload_register("spl_autoload"); 15 spl_autoload_register("my_autoload");
|
H A D | bug38325.phpt | 2 Bug #38325 (spl_autoload_register() gaves wrong line for "class not found") 5 spl_autoload_register();
|
H A D | bug48023.phpt | 2 Bug #48023 (spl_autoload_register didn't addref closures) 5 spl_autoload_register(function(){});
|
H A D | bug48493.phpt | 9 spl_autoload_register('autoload2'); 10 spl_autoload_register('autoload1', true, true);
|
H A D | spl_autoload_014.phpt | 29 spl_autoload_register($closure); 30 spl_autoload_register($al1); 31 spl_autoload_register($al2);
|
H A D | bug71204.phpt | 6 spl_autoload_register(function ($name) { 10 spl_autoload_register(function ($name) {
|
H A D | bug75049.phpt | 8 echo (int)spl_autoload_register($autoloader); 10 echo (int)spl_autoload_register($autoloader);
|
H A D | bug74372.phpt | 6 spl_autoload_register(function($class) { 9 spl_autoload_register(function($class) {
|
H A D | spl_autoload_004.phpt | 15 spl_autoload_register(array('MyAutoLoader', 'autoLoad')); 21 spl_autoload_register(array($myAutoLoader, 'autoLoad'));
|
H A D | bug71202.phpt | 22 spl_autoload_register(function ($name) { 24 spl_autoload_register("inner_autoload");
|
H A D | spl_autoload_called_scope.phpt | 8 spl_autoload_register([Test::class, 'autoload']); 18 spl_autoload_register([Test2::class, 'autoload']);
|
Completed in 21 milliseconds
1234567