Home
last modified time | relevance | path

Searched refs:classname (Results 1 – 25 of 37) sorted by relevance

12

/php-src/ext/spl/tests/
H A Dspl_autoload_003.phpt8 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 Dspl_autoload_001.phpt33 function TestFunc1($classname)
35 echo __METHOD__ . "($classname)\n";
38 function TestFunc2($classname)
40 echo __METHOD__ . "($classname)\n";
H A Dclass_implements_variation.phpt12 spl_autoload_register(function ($classname) {
13 echo "attempting to autoload $classname\n";
H A Dclass_uses_variation.phpt12 spl_autoload_register(function ($classname) {
13 echo "attempting to autoload $classname\n";
H A Ddualiterator_001.phpt6 function spl_examples_autoload($classname)
8 include(__DIR__ . '/' . strtolower($classname) . '.inc');
/php-src/Zend/
H A Dzend_dtrace.d20 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 Dzend_dtrace.c58 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 Dbug67436_nohandler.phpt6 spl_autoload_register(function($classname) {
7 if (in_array($classname, array('a','b','c'))) {
8 require_once __DIR__ . "/{$classname}.inc";
H A Dbug67436.phpt10 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 Dbug55007.phpt6 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 Dbug46665.phpt2 Bug #46665 (Triggering autoload with a variable classname causes truncated autoload param)
/php-src/ext/reflection/tests/
H A Dbug29268.phpt5 spl_autoload_register(function ($classname) {
6 echo "__autoload($classname)\n";
7 eval("class $classname {}");
/php-src/ext/phar/phar/
H A Dphar.php43 function command_autoload($classname) argument
45 command_include(strtolower($classname) . '.inc');
/php-src/tests/lang/
H A D042.phpt9 $classname = 'A';
12 echo $classname::B."\n";
H A D041.phpt9 $classname = 'A';
12 echo $classname::$b."\n";
H A D043.phpt9 $classname = 'A';
12 echo $classname::foo()."\n";
H A D044.phpt8 $classname = 'A';
13 echo $classname::$methodname()."\n";
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_interface.phpt33 $classname = get_class($db);
35 $methods = get_class_methods($classname);
41 if ($method == $classname) {
/php-src/ext/pdo/tests/
H A Dpdo_test.inc21 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 Dbug62836_2.phpt9 function mycallback($classname) {
11 eval ("#[AllowDynamicProperties] class $classname {} ");
/php-src/ext/standard/
H A Duser_filters.c31 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 Dsearch_underscores.php84 foreach($classes as $classname => &$methods) {
85 echo " Class: $classname\n";
/php-src/ext/pdo_sqlite/tests/subclasses/
H A Dpdosqlite_006.phpt2 Calling PDO::connect through the wrong classname
H A Dpdosqlite_005.phpt2 Calling PDO::connect through the wrong classname
/php-src/ext/soap/tests/
H A Dtypemap009.phpt33 $classname=get_class($book);
34 return "Object: ".$classname. "(".$book->a.",".$book->b.")";

Completed in 19 milliseconds

12