Home
last modified time | relevance | path

Searched refs:get_class (Results 1 – 25 of 288) sorted by path

12345678910>>...12

/php-src/Zend/tests/
H A D009.phpt2 get_class() tests
8 var_dump(get_class());
13 var_dump(get_class(null));
39 var_dump(get_class());
44 var_dump(get_class("qwerty"));
49 var_dump(get_class($f1));
50 var_dump(get_class($f2));
57 Calling get_class() without arguments is deprecated
61 get_class() without arguments must be called from within a class
62 get_class(): Argument #1 ($object) must be of type object, string given
[all …]
H A Danon_class_name.phpt14 echo strstr(get_class($obj), "\0", true), "\n";
H A Darginfo_zpp_mismatch.inc21 || (is_array($function) && get_class($function[0]) === mysqli::class
H A Darginfo_zpp_mismatch.phpt22 echo "Testing " . get_class($function[0]) . "::$function[1]\n";
H A Darginfo_zpp_mismatch_strict.phpt24 echo "Testing " . get_class($function[0]) . "::$function[1]\n";
H A Dbug32296.phpt18 $c = get_class($this);
19 $a = get_class_methods(get_class($this));
H A Dbug32429.phpt16 throw new Exception('Call to undefined method'.get_class($this).'::'.$name.'()');
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 Dbug41961.phpt14 echo "Called private " . __METHOD__ . "() on an instance of: " . get_class($this) . "\n";
24 echo "Called public " . __METHOD__ . "() on an instance of: " . get_class($this) . "\n";
H A Dbug46246.phpt9 echo 'Hello from '.get_class($this)."\n";
24 echo 'Overridden hello from '.get_class($this)."\n";
H A Dbug54910.phpt14 $class = get_class($this);
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 Dclass_alias_017.phpt2 Testing alias with get_called_class() and get_class()
11 echo get_class(), "\n";
33 Deprecated: Calling get_class() without arguments is deprecated in %s on line %d
36 Deprecated: Calling get_class() without arguments is deprecated in %s on line %d
H A Dclosure_041.phpt12 echo "bound: ", isset($this)?get_class($this):"no";
17 echo "bound: ", isset($this)?get_class($this):"no";
25 echo "bound: ", isset($this)?get_class($this):"no";
31 echo "bound: ", isset($this)?get_class($this):"no";
H A Dclosure_061.phpt86 $fnStr = is_object($fn[0]) ? "(new " . get_class($fn[0]) . ")->$fn[1]" : "$fn[0]::$fn[1]";
98 $objStr = $obj ? "new " . get_class($obj) : "null";
H A Ddeclare_007.phpt6 echo "tick: ", get_class($object), " ", count($array), "\n";
/php-src/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-src/Zend/tests/attributes/
H A D001_placement.phpt45 var_dump(get_class($r), count($attr));
H A D005_objects.phpt24 var_dump(get_class($obj), $obj->name, $obj->ttl);
H A D007_self_reflect_attribute.phpt14 var_dump(get_class($a));
H A D020_userland_attribute_validation.phpt12 var_dump(get_class($attr->newInstance()));
46 var_dump(get_class($attr->newInstance()));
H A D028_grouped.phpt29 var_dump(get_class($ref), count($attr));
/php-src/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-src/Zend/tests/enum/
H A Dbacked-mismatch.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";

Completed in 36 milliseconds

12345678910>>...12