/PHP-7.3/ext/standard/tests/class_object/ |
H A D | get_class_error_001.phpt | 2 Test get_class() function : error conditions - wrong number of arguments. 5 /* Prototype : proto string get_class([object object]) 11 echo "*** Testing get_class() : error conditions ***\n"; 13 //Test get_class with one more than the expected number of arguments 14 echo "\n-- Testing get_class() function with more than expected no. of arguments --\n"; 17 var_dump( get_class($object, $extra_arg) ); 22 *** Testing get_class() : error conditions *** 24 -- Testing get_class() function with more than expected no. of arguments -- 26 Warning: get_class() expects at most 1 parameter, 2 given in %s on line 14
|
H A D | get_class_variation_001.phpt | 2 Test get_class() function : usage variations - passing unexpected types. 5 /* Prototype : proto string get_class([object object]) 11 echo "*** Testing get_class() : usage variations ***\n"; 71 var_dump( get_class($value) ); 77 *** Testing get_class() : usage variations *** 85 Warning: get_class() expects parameter 1 to be object, int given in %sget_class_variation_001.php o… 90 Warning: get_class() expects parameter 1 to be object, int given in %sget_class_variation_001.php o… 155 Warning: get_class() expects parameter 1 to be object, null given in %s on line %d 160 Warning: get_class() expects parameter 1 to be object, null given in %s on line %d 205 Warning: get_class() expects parameter 1 to be object, null given in %s on line %d [all …]
|
H A D | get_class_variation_002.phpt | 2 Test get_class() function : usage variations - ensure class name case is preserved. 5 /* Prototype : proto string get_class([object object]) 12 var_dump(get_class(new casesensitivitytest));
|
/PHP-7.3/Zend/tests/ |
H A D | 009.phpt | 2 get_class() tests 8 var_dump(get_class()); 12 var_dump(get_class(null)); 28 var_dump(get_class()); 29 var_dump(get_class("qwerty")); 31 var_dump(get_class($f1)); 32 var_dump(get_class($f2)); 47 Warning: get_class() called without object from outside a class in %s on line %d 50 Warning: get_class() expects parameter 1 to be object, string given in %s on line %d 55 Warning: get_class() expects parameter 1 to be object, null given in %s on line %d
|
H A D | lsb_005.phpt | 8 echo get_class(new static()) . "\n"; 10 echo get_class(new static()) . "\n"; 12 echo get_class(new static()) . "\n"; 14 echo get_class(new static()) . "\n"; 20 echo get_class(new static()) . "\n"; 22 echo get_class(new static()) . "\n"; 28 echo get_class(new static()) . "\n";
|
H A D | ns_060.phpt | 10 echo get_class($a)."\n"; 11 echo get_class($b)."\n"; 16 echo get_class($a)."\n"; 17 echo get_class($b)."\n";
|
H A D | bug69957.phpt | 12 printf("Type: %s\n", get_class($t)); 22 printf("Type: %s\n", get_class($t)); 31 printf("Type: %s\n", get_class($t)); 40 printf("Type: %s\n", get_class($t)); 49 printf("Type: %s\n", get_class($t)); 58 printf("Type: %s\n", get_class($t));
|
H A D | bug76502.phpt | 17 echo "before: ", get_class($example), ".previous == ", 18 get_class($example->getPrevious()), "\n"; 19 echo "after : ", get_class($processed), ".previous == ", 20 $processedPrev ? get_class($processedPrev) : "null", "\n";
|
H A D | bug32596.phpt | 11 $c=get_class($this); unset($c); 12 echo get_class($this) ."\n"; 14 $c=get_class($this); //memory leak only
|
H A D | ns_062.phpt | 8 echo get_class(new stdClass)."\n"; 9 echo get_class(new A)."\n";
|
H A D | exception_handler_005.phpt | 10 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!"); 14 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
|
H A D | exception_handler_006.phpt | 12 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!"); 16 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
|
H A D | class_alias_017.phpt | 2 Testing alias with get_called_class() and get_class() 11 echo get_class(), "\n";
|
H A D | lsb_003.phpt | 17 echo get_class($testClass) . "\n"; 18 echo get_class($childClass) . "\n";
|
/PHP-7.3/ext/spl/tests/ |
H A D | SplFileInfo_setInfoClass_basic.phpt | 11 echo get_class($info->getFileInfo()), "\n"; 12 echo get_class($info->getPathInfo()), "\n"; 15 echo get_class($info->getFileInfo()), "\n"; 16 echo get_class($info->getPathInfo()), "\n";
|
H A D | SplFileInfo_setFileClass_basic.phpt | 11 echo get_class($info->openFile()), "\n"; 14 echo get_class($info->openFile()), "\n";
|
/PHP-7.3/ext/intl/tests/ |
H A D | breakiter_clone_basic.phpt | 13 var_dump(get_class($bi), get_class($bi_clone)); 18 var_dump(get_class($bi), get_class($bi_clone));
|
H A D | timezone_createEnumeration_basic.phpt | 11 var_dump(get_class($tz)); 16 var_dump(get_class($tz));
|
/PHP-7.3/Zend/tests/function_arguments/ |
H A D | argument_count_incorrect_userland_strict.phpt | 10 echo get_class($e) . PHP_EOL; 18 echo get_class($e) . PHP_EOL; 27 echo get_class($e) . PHP_EOL; 34 echo get_class($e) . PHP_EOL; 41 echo get_class($e) . PHP_EOL;
|
H A D | argument_count_incorrect_userland.phpt | 9 echo get_class($e) . PHP_EOL; 17 echo get_class($e) . PHP_EOL; 26 echo get_class($e) . PHP_EOL; 33 echo get_class($e) . PHP_EOL;
|
/PHP-7.3/Zend/tests/closures/ |
H A D | closure_from_callable_error.phpt | 17 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 30 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 42 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 54 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 66 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 78 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 90 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 102 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 114 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 126 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; [all …]
|
/PHP-7.3/Zend/tests/anon/ |
H A D | 011.phpt | 2 Ensure proper inheritance with get_class(anon class instance) used via class_alias (see also bug #7… 6 class_alias(get_class(new class { protected $foo = 1; }), "AnonBase");
|
/PHP-7.3/ext/dom/tests/ |
H A D | regsiter_node_class.phpt | 21 echo get_class($root), "\n"; 24 echo get_class($attr), "\n"; 29 echo get_class($attr), "\n";
|
/PHP-7.3/Zend/tests/try/ |
H A D | try_multicatch_006.phpt | 11 echo get_class($e) . PHP_EOL; 13 echo get_class($e) . PHP_EOL;
|
H A D | try_multicatch_007.phpt | 11 echo get_class($e) . PHP_EOL; 13 echo get_class($e) . PHP_EOL;
|