Searched refs:class (Results 176 – 200 of 4705) sorted by relevance
12345678910>>...189
/php-src/ext/json/tests/ |
H A D | serialize.phpt | 8 class NonSerializingTest 18 class SerializingTest extends NonSerializingTest implements JsonSerializable 26 class ValueSerializingTest extends SerializingTest 34 class SelfSerializingTest extends SerializingTest 56 …y('NonSerializingTest','SerializingTest','ValueSerializingTest','SelfSerializingTest') as $class) { 57 echo "==$class==\n"; 58 echo json_encode(new $class($adata)), "\n"; 59 echo json_encode(new $class($ndata)), "\n"; 60 echo json_encode(new $class($odata)), "\n";
|
/php-src/Zend/tests/anon/ |
H A D | 012.phpt | 2 Ensure correct unmangling of private property names for anonymous class instances 5 var_dump(new class { private $foo; }); 8 object(class@anonymous)#1 (1) { 9 ["foo":"class@anonymous":private]=>
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_newInstance_001.phpt | 9 class B { 11 echo "In constructor of class B with args $a, $b\n"; 15 class C { 17 echo "In constructor of class C\n"; 21 class D { 23 echo "In constructor of class D\n"; 27 class E { 72 In constructor of class B with args x, 123 75 Access to non-public constructor of class C 76 Access to non-public constructor of class D
|
H A D | bug52057.phpt | 2 Bug #52057 (ReflectionClass fails on Closure class) 19 var_dump($h->class.'::'.$h->getName()); 23 var_dump($h->class.'::'.$h->getName()); 27 var_dump($h->class.'::'.$h->getName()); 37 ["class"]=> 44 ["class"]=> 51 ["class"]=>
|
H A D | ReflectionEnumUnitCase_getDocComment.phpt | 5 // enum cases should support doc comments, like class constants. 13 var_dump((new ReflectionEnumUnitCase(Foo::class, 'Bar'))->getDocComment()); 14 var_dump((new ReflectionEnumUnitCase(Foo::class, 'Baz'))->getDocComment()); 15 var_dump((new ReflectionClassConstant(Foo::class, 'Bar'))->getDocComment()); 16 var_dump((new ReflectionClassConstant(Foo::class, 'Baz'))->getDocComment());
|
H A D | bug64239.phpt | 5 class A { 13 class B extends A{ 28 [class] => A 34 [class] => A 41 [class] => A
|
/php-src/Zend/tests/ |
H A D | self_class_const_in_unknown_scope.phpt | 2 Use of self::class inside a constant in an unknown scope 6 class Test { 9 const FOO = self::class; 16 const BAR = self::class; 23 Fatal error: Uncaught Error: Cannot use "self" when no class scope is active in %s:%d
|
H A D | lsb_024.phpt | 3 class when the variable is private in parent class 6 class A { 13 class B extends A { 16 class C extends A {
|
H A D | bug24699.phpt | 2 Bug #24699 (Memory Leak with per-class constants) 5 class TEST { const FOO = SEEK_CUR; }; 6 class TEST2 { const FOO = 1; }; 7 class TEST3 { const FOO = PHP_VERSION; };
|
H A D | ns_010.phpt | 2 010: Accessing internal namespace class 7 class Foo { 11 echo "class ok\n"; 31 class ok 32 class ok 33 class ok
|
H A D | class_constants_007.phpt | 2 Ownership of constant expression inhereted from immutable class should be transfered to class 5 class A { 9 eval('class B extends A{}');
|
H A D | closure_051.phpt | 2 Closure 051: static::class in static closure in static method. 6 class A { 9 return static::class; 15 class B extends A {}
|
H A D | closure_052.phpt | 2 Closure 052: static::class in non-static closure in static method. 6 class A { 9 return static::class; 15 class B extends A {}
|
H A D | closure_055.phpt | 2 Closure 055: self::class in static closure in static method. 6 class A { 9 return self::class; 15 class B extends A {}
|
H A D | closure_056.phpt | 2 Closure 056: self::class in non-static closure in static method. 6 class A { 9 return self::class; 15 class B extends A {}
|
/php-src/Zend/tests/type_declarations/variance/ |
H A D | abstract_constructor.phpt | 5 class X { 7 abstract class A { 10 class B extends A { 13 class C extends B { 18 …patibility between C::__construct(Y $x) and A::__construct(X $x), because class Y is not available…
|
H A D | class_order_error.phpt | 2 Returns are covariant, but we don't allow the code due to class ordering 6 class A { 9 class B extends A { 12 class C extends B { 19 Fatal error: Could not check compatibility between B::method(): C and A::method(): B, because class…
|
H A D | unlinked_parent_1.phpt | 2 Using an unlinked parent class 6 spl_autoload_register(function($class) { 7 class X extends B {} 11 class B extends A {
|
H A D | mixed_return_type.phpt | 6 spl_autoload_register(function($class) { 7 echo "Loading $class\n"; 10 class A { 13 class B extends A {
|
/php-src/ext/standard/tests/class_object/ |
H A D | property_exists_variation1.phpt | 2 Test property_exists() function : class auto loading 5 echo "*** Testing property_exists() : class auto loading ***\n"; 11 echo "\ntesting property in autoloaded class\n"; 19 *** Testing property_exists() : class auto loading *** 21 testing property in autoloaded class
|
/php-src/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | valid4.phpt | 6 class A {} 7 class B extends A {} 9 class Test { 12 class Test2 extends Test {
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_105.phpt | 5 class A { 9 $class = new ReflectionClass(A::class); 11 $defaults = $class->getDefaultProperties();
|
/php-src/Zend/tests/grammar/ |
H A D | regression_002.phpt | 2 Test to ensure ::class still works 6 class Foo {} 8 var_dump(Foo::class); 10 var_dump(Foo:: class);
|
/php-src/tests/classes/ |
H A D | private_006.phpt | 2 ZE2 A private method can be overwritten in a second derived class 5 class first { 17 class second extends first { 22 class third extends second { 27 class fail extends third {
|
/php-src/Zend/tests/enum/ |
H A D | keyword-no-bc-break.phpt | 7 class Foo {} 11 class Bar {} 12 class enum extends Bar {} 17 class enum implements Baz {} 21 class enum {}
|
Completed in 25 milliseconds
12345678910>>...189