Home
last modified time | relevance | path

Searched refs:get_class (Results 1 – 25 of 172) sorted by relevance

1234567

/PHP-7.3/ext/standard/tests/class_object/
H A Dget_class_error_001.phpt2 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 Dget_class_variation_001.phpt2 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 Dget_class_variation_002.phpt2 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 D009.phpt2 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 Dlsb_005.phpt8 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 Dns_060.phpt10 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 Dbug69957.phpt12 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 Dbug76502.phpt17 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 Dbug32596.phpt11 $c=get_class($this); unset($c);
12 echo get_class($this) ."\n";
14 $c=get_class($this); //memory leak only
H A Dns_062.phpt8 echo get_class(new stdClass)."\n";
9 echo get_class(new A)."\n";
H A Dexception_handler_005.phpt10 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
14 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
H A Dexception_handler_006.phpt12 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
16 var_dump(__FUNCTION__."(): ".get_class($e)." thrown!");
H A Dclass_alias_017.phpt2 Testing alias with get_called_class() and get_class()
11 echo get_class(), "\n";
H A Dlsb_003.phpt17 echo get_class($testClass) . "\n";
18 echo get_class($childClass) . "\n";
/PHP-7.3/ext/spl/tests/
H A DSplFileInfo_setInfoClass_basic.phpt11 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 DSplFileInfo_setFileClass_basic.phpt11 echo get_class($info->openFile()), "\n";
14 echo get_class($info->openFile()), "\n";
/PHP-7.3/ext/intl/tests/
H A Dbreakiter_clone_basic.phpt13 var_dump(get_class($bi), get_class($bi_clone));
18 var_dump(get_class($bi), get_class($bi_clone));
H A Dtimezone_createEnumeration_basic.phpt11 var_dump(get_class($tz));
16 var_dump(get_class($tz));
/PHP-7.3/Zend/tests/function_arguments/
H A Dargument_count_incorrect_userland_strict.phpt10 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 Dargument_count_incorrect_userland.phpt9 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 Dclosure_from_callable_error.phpt17 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 D011.phpt2 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 Dregsiter_node_class.phpt21 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 Dtry_multicatch_006.phpt11 echo get_class($e) . PHP_EOL;
13 echo get_class($e) . PHP_EOL;
H A Dtry_multicatch_007.phpt11 echo get_class($e) . PHP_EOL;
13 echo get_class($e) . PHP_EOL;

Completed in 33 milliseconds

1234567