Searched refs:class (Results 501 – 525 of 5459) sorted by relevance
1...<<21222324252627282930>>...219
/php-src/Zend/tests/access_modifiers/ |
H A D | access_modifiers_013.phpt | 2 Prevent abstract and final in the same class declaration 6 final abstract class C { 12 Fatal error: Cannot use the final modifier on an abstract class in %s on line %d
|
/php-src/Zend/tests/errmsg/ |
H A D | errmsg_030.phpt | 2 errmsg: cannot use "self" as parent class name 6 class test extends self { 12 Fatal error: Cannot use "self" as class name, as it is reserved in %s on line %d
|
H A D | errmsg_031.phpt | 2 errmsg: cannot use "parent" as parent class name 6 class test extends parent { 12 Fatal error: Cannot use "parent" as class name, as it is reserved in %s on line %d
|
/php-src/Zend/tests/ |
H A D | bug65322.phpt | 6 spl_autoload_register(function($class) { 7 var_dump($class); 8 class X {} 18 eval('class A { private function __invoke() { } }');
|
H A D | bug38772.phpt | 5 class A { 16 class B extends A { 22 class C extends A { 28 class D extends A {
|
H A D | bug45742.phpt | 2 Bug #45742 Wrong class array interpretation using constant indexes 5 class Constants { 11 class ArrayProperty {
|
/php-src/Zend/tests/lazy_objects/ |
H A D | gc_001.phpt | 6 class Canary { 12 class C { 19 $obj = (new ReflectionClass(C::class))->newInstanceWithoutConstructor(); 33 $obj = (new ReflectionClass(C::class))->newInstanceWithoutConstructor();
|
H A D | reset_as_lazy_while_init_exception.phpt | 6 class C { 10 $reflector = new ReflectionClass(C::class); 19 printf("%s: %s\n", $e::class, $e->getMessage()); 24 printf("%s: %s\n", $e::class, $e->getMessage()); 37 printf("%s: %s\n", $e::class, $e->getMessage()); 42 printf("%s: %s\n", $e::class, $e->getMessage());
|
H A D | oss_fuzz_71407.phpt | 6 class C { 10 $reflector = new ReflectionClass(C::class); 16 printf("%s: %s\n", $e::class, $e->getMessage());
|
/php-src/Zend/tests/magic_methods/ |
H A D | magic_methods_inheritance_rules_non_trivial_02.phpt | 2 Magic Methods inheritance rules on a non-trivial class hierarchy 5 class A { 9 class B extends A { 13 class C extends B {
|
/php-src/ext/standard/tests/serialize/ |
H A D | incomplete_class.phpt | 23 …class definition "unknown" of the object you are trying to operate on was loaded _before_ unserial… 25 …class definition "unknown" of the object you are trying to operate on was loaded _before_ unserial… 28 …class definition "unknown" of the object you are trying to operate on was loaded _before_ unserial…
|
/php-src/ext/opcache/tests/ |
H A D | bug69688.phpt | 13 eval('class A{} class B{} class C{}');
|
/php-src/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"); 7 var_dump((new class extends AnonBase {
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug35229.phpt | 5 class test2 { 11 spl_autoload_register(function ($class) { 12 eval('class test1 extends test2 {}');
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_class_constants_type_error12.phpt | 2 Typed class constants with static in union 5 class A { 9 class B {}
|
H A D | typed_properties_006.phpt | 5 class Foo { 9 class Bar extends Foo { 14 Fatal error: Type of Bar::$qux must be int (as in class Foo) in %s on line 6
|
H A D | typed_properties_008.phpt | 5 class Foo { 9 class Bar extends Foo { 14 Fatal error: Type of Bar::$qux must be int (as in class Foo) in %s on line 6
|
H A D | scalar_reserved7.phpt | 2 Scalar type names cannot be used as class, trait or interface names (7) 7 class int {} 10 Fatal error: Cannot use "int" as a class name as it is reserved in %s on line %d
|
/php-src/Zend/tests/objects/ |
H A D | objects_009.phpt | 8 class test { 12 class test2 extends test { 16 class test3 extends test {
|
/php-src/ext/tokenizer/tests/ |
H A D | attributes.phpt | 8 $tokens = token_get_all('<?php #[A1(1, 2)] class C1 { }'); 15 $class = $tokens[2]; 16 var_dump($class[1]);
|
/php-src/Zend/tests/constants/final_constants/ |
H A D | final_const2.phpt | 2 Final class constants cannot be overridden 6 class Foo 11 class Bar extends Foo
|
/php-src/Zend/tests/traits/ |
H A D | inheritance002.phpt | 2 Trait method overrides base class method 7 class Base { 19 class MyHelloWorld extends Base {
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionMethod_basic2.phpt | 2 ReflectionMethod class __toString() method 6 function reflectMethod($class, $method) { 7 $methodInfo = new ReflectionMethod($class, $method); 9 echo "Reflecting on method $class::$method()\n\n"; 15 class TestClass 34 class DerivedClass extends TestClass {} 118 Parameter #0 [ <required> object|string $class ]
|
H A D | ReflectionFunction_getClosureCalledClass.phpt | 5 class A { 7 echo static::class.'::'.$name, "\n"; 11 echo static::class.'->'.$name, "\n"; 15 echo static::class.'::b', "\n"; 20 echo static::class.'->c', "\n"; 25 echo static::class.'::{closure}'."\n"; 30 class B extends A {}
|
/php-src/Zend/tests/type_declarations/union_types/ |
H A D | inheritance.phpt | 6 class X { 14 class Y extends X { 25 class Z { 29 class U extends X { 33 class V extends X {
|
Completed in 24 milliseconds
1...<<21222324252627282930>>...219