Home
last modified time | relevance | path

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

1234567891011

/PHP-8.1/Zend/tests/
H A D009.phpt2 get_class() tests
8 var_dump(get_class());
13 var_dump(get_class(null));
30 var_dump(get_class());
35 var_dump(get_class("qwerty"));
40 var_dump(get_class($f1));
41 var_dump(get_class($f2));
50 get_class() without arguments must be called from within a class
51 get_class(): Argument #1 ($object) must be of type object, string given
54 get_class(): Argument #1 ($object) must be of type object, null given
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";
/PHP-8.1/ext/standard/tests/class_object/
H A Dget_class_variation_001.phpt2 Test get_class() function : usage variations - passing unexpected types.
5 echo "*** Testing get_class() : usage variations ***\n";
66 var_dump( get_class($value) );
75 *** Testing get_class() : usage variations ***
82 get_class(): Argument #1 ($object) must be of type object, int given
85 get_class(): Argument #1 ($object) must be of type object, int given
88 get_class(): Argument #1 ($object) must be of type object, int given
91 get_class(): Argument #1 ($object) must be of type object, int given
94 get_class(): Argument #1 ($object) must be of type object, float given
97 get_class(): Argument #1 ($object) must be of type object, float given
[all …]
H A Dget_class_variation_002.phpt2 Test get_class() function : usage variations - ensure class name case is preserved.
6 var_dump(get_class(new casesensitivitytest));
/PHP-8.1/ext/ffi/tests/
H A D027.phpt13 echo get_class($e) . ": " . $e->getMessage()."\n";
19 echo get_class($e) . ": " . $e->getMessage()."\n";
25 echo get_class($e) . ": " . $e->getMessage()."\n";
31 echo get_class($e) . ": " . $e->getMessage()."\n";
36 echo get_class($e) . ": " . $e->getMessage()."\n";
41 echo get_class($e) . ": " . $e->getMessage()."\n";
46 echo get_class($e) . ": " . $e->getMessage()."\n";
52 echo get_class($e) . ": " . $e->getMessage()."\n";
58 echo get_class($e) . ": " . $e->getMessage()."\n";
64 echo get_class($e) . ": " . $e->getMessage()."\n";
[all …]
H A D015.phpt13 echo get_class($e) . ": " . $e->getMessage()."\n";
19 echo get_class($e) . ": " . $e->getMessage()."\n";
25 echo get_class($e) . ": " . $e->getMessage()."\n";
31 echo get_class($e) . ": " . $e->getMessage()."\n";
37 echo get_class($e) . ": " . $e->getMessage()."\n";
43 echo get_class($e) . ": " . $e->getMessage()."\n";
49 echo get_class($e) . ": " . $e->getMessage()."\n";
55 echo get_class($e) . ": " . $e->getMessage()."\n";
H A D013.phpt17 echo get_class($e) . ": " . $e->getMessage()."\n";
23 echo get_class($e) . ": " . $e->getMessage()."\n";
29 echo get_class($e) . ": " . $e->getMessage()."\n";
35 echo get_class($e) . ": " . $e->getMessage()."\n";
41 echo get_class($e) . ": " . $e->getMessage()."\n";
47 echo get_class($e) . ": " . $e->getMessage()."\n";
53 echo get_class($e) . ": " . $e->getMessage()."\n";
H A D028.phpt13 echo get_class($e) . ": " . $e->getMessage()."\n";
19 echo get_class($e) . ": " . $e->getMessage()."\n";
25 echo get_class($e) . ": " . $e->getMessage()."\n";
31 echo get_class($e) . ": " . $e->getMessage()."\n";
37 echo get_class($e) . ": " . $e->getMessage()."\n";
43 echo get_class($e) . ": " . $e->getMessage()."\n";
H A D020.phpt15 echo get_class($e) . ": " . $e->getMessage()."\n";
23 echo get_class($e) . ": " . $e->getMessage()."\n";
30 echo get_class($e) . ": " . $e->getMessage()."\n";
37 echo get_class($e) . ": " . $e->getMessage()."\n";
44 echo get_class($e) . ": " . $e->getMessage()."\n";
51 echo get_class($e) . ": " . $e->getMessage()."\n";
59 echo get_class($e) . ": " . $e->getMessage()."\n";
H A D016.phpt13 echo get_class($e) . ": " . $e->getMessage()."\n";
19 echo get_class($e) . ": " . $e->getMessage()."\n";
25 echo get_class($e) . ": " . $e->getMessage()."\n";
H A D017.phpt12 echo get_class($e) . ": " . $e->getMessage()."\n";
17 echo get_class($e) . ": " . $e->getMessage()."\n";
22 echo get_class($e) . ": " . $e->getMessage()."\n";
/PHP-8.1/ext/intl/tests/
H A Dcalendar_get_getActualMaximum_Minumum_error2.phpt15 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
20 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
25 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
31 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
36 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
41 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
47 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
52 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
57 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
63 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
[all …]
H A Dcalendar_get_Least_Greatest_Minimum_Maximum_error.phpt15 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
20 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
25 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
30 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
36 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
41 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
46 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
51 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
57 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
62 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
[all …]
H A Dbreakiter_clone_basic.phpt11 var_dump(get_class($bi), get_class($bi_clone));
16 var_dump(get_class($bi), get_class($bi_clone));
/PHP-8.1/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-8.1/ext/standard/tests/mail/
H A Dmail_basic7.phpt47 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
53 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
59 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
65 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
71 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
77 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
83 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
89 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
102 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
108 echo get_class($exception) . ": " . $exception->getMessage() . "\n";
[all …]
/PHP-8.1/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-8.1/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 …]

Completed in 33 milliseconds

1234567891011