Home
last modified time | relevance | path

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

12

/PHP-8.0/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-8.0/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-8.0/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-8.0/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)
H A Dbug63741.phpt23 static function autoload($classname)
/PHP-8.0/ext/reflection/tests/
H A Dbug29268.phpt5 spl_autoload_register(function ($classname) {
6 echo "__autoload($classname)\n";
7 eval("class $classname {}");
/PHP-8.0/ext/phar/phar/
H A Dphar.php43 function command_autoload($classname) argument
45 command_include(strtolower($classname) . '.inc');
/PHP-8.0/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-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_interface.phpt34 $classname = get_class($db);
36 $methods = get_class_methods($classname);
42 if ($method == $classname) {
/PHP-8.0/ext/standard/tests/serialize/
H A Dbug62836_2.phpt9 function mycallback($classname) {
11 eval ("class $classname {} ");
/PHP-8.0/ext/standard/
H A Duser_filters.c32 zend_string *classname; member
316 if (NULL == (fdat->ce = zend_lookup_class(fdat->classname))) { in user_filter_factory_create()
319 filtername, ZSTR_VAL(fdat->classname)); in user_filter_factory_create()
391 zend_string_release_ex(fdat->classname, 0); in filter_item_dtor()
549 zend_string *filtername, *classname; in PHP_FUNCTION() local
554 Z_PARAM_STR(classname) in PHP_FUNCTION()
562 if (!ZSTR_LEN(classname)) { in PHP_FUNCTION()
573 fdat->classname = zend_string_copy(classname); in PHP_FUNCTION()
579 zend_string_release_ex(classname, 0); in PHP_FUNCTION()
/PHP-8.0/scripts/dev/
H A Dsearch_underscores.php84 foreach($classes as $classname => &$methods) {
85 echo " Class: $classname\n";
/PHP-8.0/ext/soap/tests/
H A Dtypemap009.phpt33 $classname=get_class($book);
34 return "Object: ".$classname. "(".$book->a.",".$book->b.")";
H A Dclassmap001.phpt29 $classname=get_class($book);
30 return "Classname: ".$classname;
/PHP-8.0/ext/pdo/tests/
H A Dpdo_test.inc21 static function factory($classname = 'PDO', $drop_test_tables = true) {
35 $db = new $classname($dsn, $user, $pass, $attr);

Completed in 38 milliseconds

12