/php-src/tests/classes/ |
H A D | abstract_class.phpt | 2 ZE2 An abstract class cannot be instantiated 6 abstract class fail { 10 class pass extends fail { 27 Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
|
H A D | abstract_by_interface_001.phpt | 6 class Root { 14 abstract class Derived extends Root implements MyInterface { 17 class Leaf extends Derived 24 class Fails extends Root implements MyInterface {
|
/php-src/Zend/tests/type_declarations/variance/ |
H A D | parent_in_class_failure2.phpt | 2 Use of parent inside a class that has / has no parent (failure case 2) 7 class P4 {} 8 class A4 extends P4 { 11 class B4 extends A4 {
|
/php-src/Zend/tests/ |
H A D | bug45744.phpt | 5 class Foo { 18 class Bar extends Foo { 23 class Foo2 { 32 class Bar2 extends Foo2 {
|
H A D | bug77613.phpt | 5 class A { 11 class B extends A { } 13 class C extends B {
|
H A D | bug77922.phpt | 6 class A { 11 class B extends A { 14 class C extends B {
|
H A D | oss_fuzz_57821.phpt | 2 oss-fuzz #57821: Unevaluated rhs of class constant fetch in constant expression 5 class Foo { 8 const C = Foo::{Foo::class};
|
H A D | declare_already_in_use.phpt | 2 Cannot redeclare class 7 class A {} 14 Fatal error: Cannot redeclare class A (previously declared in %s:%d) in %s on line %d
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_class_constants_type_error7.phpt | 2 Typed class constants (type mismatch; runtime) 5 class A { 24 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable 25 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
|
/php-src/ext/dom/tests/modern/html/interactions/ |
H A D | without_constructor.phpt | 8 foreach (['Dom\HTMLDocument', 'Dom\XMLDocument'] as $class) { 10 $rc = new ReflectionClass($class); 19 Class Dom\HTMLDocument is an internal class marked as final that cannot be instantiated without inv… 20 Class Dom\XMLDocument is an internal class marked as final that cannot be instantiated without invo…
|
/php-src/ext/reflection/tests/ |
H A D | bug29268.phpt | 7 eval("class $classname {}"); 10 class B{ 19 $class = $parameter->getClass(); 20 echo $class->name."\n";
|
H A D | bug38465.phpt | 5 class Baz { 9 class Foo { 14 class Bar extends Foo { 31 echo "\nFrom class context:\n"; 33 class Test { 58 From class context:
|
H A D | bug30856.phpt | 5 class bogus { 10 $class = new ReflectionClass('bogus'); 12 var_dump($class->getStaticProperties());
|
/php-src/ext/reflection/tests/property_hooks/ |
H A D | hook_guard.phpt | 6 class A { 10 class B extends A { 24 (new ReflectionProperty(B::class, 'prop'))->getHook(PropertyHookType::Set)->invoke($b, 43); 25 var_dump((new ReflectionProperty(B::class, 'prop'))->getHook(PropertyHookType::Get)->invoke($b));
|
/php-src/Zend/tests/lazy_objects/ |
H A D | init_preserves_proxy_class.phpt | 2 Lazy objects: initialization of proxy does not change the class of the object 7 class A { 10 class B extends A { 16 $reflector = new ReflectionClass(B::class);
|
/php-src/ext/pcntl/tests/ |
H A D | pcntl_sigtimedwait_errors.phpt | 18 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 27 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 34 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 41 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 50 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 59 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 65 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 71 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 77 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 84 echo $e::class, ': ', $e->getMessage(), PHP_EOL;
|
/php-src/ext/zlib/tests/ |
H A D | gzgetss.gz |
|
/php-src/Zend/tests/generators/errors/ |
H A D | generator_extend_error.phpt | 2 The Generator class cannot be extended 6 class ExtendedGenerator extends Generator { } 10 Fatal error: Class ExtendedGenerator cannot extend final class Generator in %s on line %d
|
/php-src/ext/gmp/tests/ |
H A D | final.phpt | 2 Cannot extend GMP class 8 class T extends GMP {} 12 Fatal error: Class T cannot extend final class GMP in %s on line %d
|
/php-src/ext/dba/tests/ |
H A D | dba_array_keys_errors.phpt | 20 echo $e::class, ': ', $e->getMessage(), \PHP_EOL; 25 echo $e::class, ': ', $e->getMessage(), \PHP_EOL; 33 echo $e::class, ': ', $e->getMessage(), \PHP_EOL; 38 echo $e::class, ': ', $e->getMessage(), \PHP_EOL; 54 Error: Object of class stdClass could not be converted to string 55 Error: Object of class stdClass could not be converted to string
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh15101.phpt | 13 class A { 33 class Document { 35 final class TreeBuilderContext { 41 abstract class Node { 48 class DocumentType extends Node { 61 class DoctypeToken {
|
/php-src/Zend/tests/lsb/ |
H A D | lsb_021.phpt | 5 class A { 11 class B extends A { 28 (self::class)::test(); 29 call_user_func(self::class . "::test"); 30 call_user_func(array(self::class, "test")); 34 class C extends B {
|
/php-src/ext/zend_test/tests/ |
H A D | attribute-internal-property.phpt | 2 Tests attributes on internal class properties. 9 $prop = new \ReflectionProperty(ZendTestClassWithPropertyAttribute::class, 'attributed'); 10 $attr = $prop->getAttributes(ZendTestAttribute::class)[0];
|
/php-src/Zend/tests/new_without_parentheses/ |
H A D | new_without_ctor_arguments_parentheses_static_property.phpt | 6 class B 10 class A 12 public static $prop = B::class;
|
/php-src/Zend/tests/class_alias/ |
H A D | class_alias_002.phpt | 2 Trying redeclare class with class_alias() 6 class foo { } 12 Warning: Cannot redeclare class FOO (previously declared in %s:%d) in %s on line %d
|