/php-src/ext/spl/tests/ |
H A D | spl_autoload_003.phpt | 8 function TestFunc1($classname) 10 echo __METHOD__ . "($classname)\n"; 13 function TestFunc2($classname) 15 echo __METHOD__ . "($classname)\n"; 16 throw new Exception("Class $classname missing"); 19 function TestFunc3($classname) 21 echo __METHOD__ . "($classname)\n";
|
H A D | spl_autoload_001.phpt | 33 function TestFunc1($classname) 35 echo __METHOD__ . "($classname)\n"; 38 function TestFunc2($classname) 40 echo __METHOD__ . "($classname)\n";
|
H A D | class_implements_variation.phpt | 12 spl_autoload_register(function ($classname) { 13 echo "attempting to autoload $classname\n";
|
H A D | class_uses_variation.phpt | 12 spl_autoload_register(function ($classname) { 13 echo "attempting to autoload $classname\n";
|
H A D | dualiterator_001.phpt | 6 function spl_examples_autoload($classname) 8 include(__DIR__ . '/' . strtolower($classname) . '.inc');
|
/php-src/Zend/ |
H A D | zend_dtrace.d | 20 probe exception__caught(char *classname); 21 probe exception__thrown(char* classname); 29 …probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* … 30 …probe function__return(char* function_name, char* request_file, int lineno, char* classname, char*…
|
H A D | zend_dtrace.c | 58 const char *scope, *filename, *funcname, *classname; in dtrace_execute_ex() local 59 scope = filename = funcname = classname = NULL; in dtrace_execute_ex() 69 classname = get_active_class_name(&scope); in dtrace_execute_ex() 78 …DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope… in dtrace_execute_ex() 84 …DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scop… in dtrace_execute_ex()
|
/php-src/Zend/tests/bug67436/ |
H A D | bug67436_nohandler.phpt | 6 spl_autoload_register(function($classname) { 7 if (in_array($classname, array('a','b','c'))) { 8 require_once __DIR__ . "/{$classname}.inc";
|
H A D | bug67436.phpt | 10 spl_autoload_register(function($classname) { 11 if (in_array($classname, array('a','b','c'))) { 12 require_once __DIR__ . "/{$classname}.inc";
|
/php-src/Zend/tests/ |
H A D | bug55007.phpt | 6 spl_autoload_register(function ($classname) { 7 if ('CompileErrorClass'==$classname) eval('class CompileErrorClass { function foo() { $a[]; } }'); 8 …if ('MyErrorHandler'==$classname) eval('class MyErrorHandler { function __construct() { print "My …
|
H A D | bug46665.phpt | 2 Bug #46665 (Triggering autoload with a variable classname causes truncated autoload param)
|
/php-src/ext/reflection/tests/ |
H A D | bug29268.phpt | 5 spl_autoload_register(function ($classname) { 6 echo "__autoload($classname)\n"; 7 eval("class $classname {}");
|
/php-src/ext/phar/phar/ |
H A D | phar.php | 43 function command_autoload($classname) argument 45 command_include(strtolower($classname) . '.inc');
|
/php-src/tests/lang/ |
H A D | 042.phpt | 9 $classname = 'A'; 12 echo $classname::B."\n";
|
H A D | 041.phpt | 9 $classname = 'A'; 12 echo $classname::$b."\n";
|
H A D | 043.phpt | 9 $classname = 'A'; 12 echo $classname::foo()."\n";
|
H A D | 044.phpt | 8 $classname = 'A'; 13 echo $classname::$methodname()."\n";
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_interface.phpt | 33 $classname = get_class($db); 35 $methods = get_class_methods($classname); 41 if ($method == $classname) {
|
/php-src/ext/pdo/tests/ |
H A D | pdo_test.inc | 21 static function factory($classname = PDO::class, bool $useConnectMethod = false) { 36 $db = $classname::connect($dsn, $user, $pass, $attr); 38 $db = new $classname($dsn, $user, $pass, $attr); 61 static function test_factory($file, $classname = PDO::class, bool $useConnectMethod = false) { 66 return self::factory($classname, $useConnectMethod);
|
/php-src/ext/standard/tests/serialize/ |
H A D | bug62836_2.phpt | 9 function mycallback($classname) { 11 eval ("#[AllowDynamicProperties] class $classname {} ");
|
/php-src/ext/standard/ |
H A D | user_filters.c | 31 zend_string *classname; member 272 if (NULL == (fdat->ce = zend_lookup_class(fdat->classname))) { in user_filter_factory_create() 275 filtername, ZSTR_VAL(fdat->classname)); in user_filter_factory_create() 336 zend_string_release_ex(fdat->classname, 0); in filter_item_dtor() 498 zend_string *filtername, *classname; in PHP_FUNCTION() local 503 Z_PARAM_STR(classname) in PHP_FUNCTION() 511 if (!ZSTR_LEN(classname)) { in PHP_FUNCTION() 522 fdat->classname = zend_string_copy(classname); in PHP_FUNCTION() 528 zend_string_release_ex(classname, 0); in PHP_FUNCTION()
|
/php-src/scripts/dev/ |
H A D | search_underscores.php | 84 foreach($classes as $classname => &$methods) { 85 echo " Class: $classname\n";
|
/php-src/ext/pdo_sqlite/tests/subclasses/ |
H A D | pdosqlite_006.phpt | 2 Calling PDO::connect through the wrong classname
|
H A D | pdosqlite_005.phpt | 2 Calling PDO::connect through the wrong classname
|
/php-src/ext/soap/tests/ |
H A D | typemap009.phpt | 33 $classname=get_class($book); 34 return "Object: ".$classname. "(".$book->a.",".$book->b.")";
|