Searched refs:class (Results 226 – 250 of 5331) sorted by relevance
12345678910>>...214
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_getModifierNames_basic.phpt | 8 class a {} 9 abstract class b {} 10 final class c {} 12 class x 26 abstract class y 32 function dump_modifierNames($class) { 33 $obj = new ReflectionClass($class); 37 function dump_methodModifierNames($class) { 38 $obj = new ReflectionClass($class);
|
H A D | ReflectionClass_toString_006.phpt | 2 Using ReflectionClass::__toString() with typed class constants 6 class Foo { 10 echo new ReflectionClass(Foo::class); 14 Class [ <user> class Foo ] {
|
H A D | ReflectionObject_isInstance_basic.phpt | 5 class A {} 6 class B extends A {} 7 class X {} 15 foreach ($classes as $class) { 16 $ro = new ReflectionObject(new $class); 18 echo "is $name a $class? ";
|
H A D | bug37964.phpt | 2 Reflection Bug #37964 (Reflection shows private methods of parent class) 6 abstract class foobar { 10 class foo extends foobar { 17 class bar extends foo { 26 Class [ <user> class bar extends foo ] {
|
/php-src/Zend/tests/traits/ |
H A D | constant_001.phpt | 18 class Base { 27 class Derived extends Base { 35 echo Base::PUBLIC, ' via class name', PHP_EOL; 39 echo Derived::PUBLIC, ' via derived class name', PHP_EOL; 40 echo (new Derived)::PUBLIC, ' via derived class object', PHP_EOL; 44 public via class name 51 public via derived class name 52 public via derived class object
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_084.phpt | 2 Typed properties and class aliases 6 class Foo {} 11 class A { 17 class B extends A {
|
/php-src/ext/dom/tests/modern/token_list/ |
H A D | replace.phpt | 8 $dom = DOM\XMLDocument::createFromString('<root class="A B C"/>'); 41 <root class="A B C"/> 44 <root class="A X C"/> 47 <root class="A X"/> 50 <root class="B X"/> 53 <root class="B"/> 55 <root class="AA"/>
|
/php-src/Zend/tests/namespaces/ |
H A D | ns_095.phpt | 7 class ClassA{} 8 class ClassB{} 9 class ClassC{} 26 var_dump(ClassA::class); 27 var_dump(ClassB::class); 28 var_dump(ClassC::class);
|
H A D | ns_037.phpt | 2 037: Name ambiguity (namespace name or namespace's class name) 7 class X { 11 echo "class ok\n"; 31 class ok 32 class ok 33 class ok
|
/php-src/Zend/tests/ |
H A D | bug60444.phpt | 2 Bug #60444 (Segmentation fault with include & class extending) 5 class Foo { 7 eval("class Bar extends Foo {}"); 11 class Some {
|
H A D | gh10709.phpt | 2 GH-10709: Recursive class constant evaluation 6 class B { const C = A::C . "B"; } 8 spl_autoload_register(function ($class) { 9 class A { const C = "A"; }
|
H A D | bug63976.phpt | 2 Bug #63976 (Parent class incorrectly using child constant in class property) 6 class Foo { 12 class Bar extends Foo {
|
H A D | method_argument_binding.phpt | 6 class A { 10 class B extends A { 18 class C extends B { 26 class D { 32 class E extends D {
|
/php-src/Zend/tests/closures/ |
H A D | closure_054.phpt | 2 Closure 054: self::class in non-static closure in non-static method. 6 class A { 9 return self::class; 15 class B extends A {}
|
H A D | closure_049.phpt | 2 Closure 049: static::class in static closure in non-static method. 6 class A { 9 return static::class; 15 class B extends A {}
|
H A D | closure_050.phpt | 2 Closure 050: static::class in non-static closure in non-static method. 6 class A { 9 return static::class; 15 class B extends A {}
|
H A D | closure_053.phpt | 2 Closure 053: self::class in static closure in non-static method. 6 class A { 9 return self::class; 15 class B extends A {}
|
/php-src/Zend/tests/property_hooks/ |
H A D | parent_syntax.phpt | 6 class A { 14 class B extends A { 24 class C { 28 class D extends C { 34 class E {
|
H A D | attributes.phpt | 7 class A {} 10 class B {} 12 class C { 19 $getAttr = (new ReflectionProperty(C::class, 'prop'))->getHook(PropertyHookType::Get)->getAttribute… 24 $setAttr = (new ReflectionProperty(C::class, 'prop'))->getHook(PropertyHookType::Set)->getAttribute…
|
/php-src/Zend/tests/readonly_classes/ |
H A D | readonly_class_final_modifier.phpt | 2 The readonly and final class modifiers can be defined in the same time 6 final readonly class Foo 10 readonly class Bar extends Foo 16 Fatal error: Class Bar cannot extend final class Foo in %s on line %d
|
/php-src/Zend/tests/return_types/ |
H A D | 042.phpt | 5 class UnionType { 9 class UnionType2 { 13 class UnionTypeOldStyle { 17 class JustAnArray {
|
/php-src/ext/reflection/tests/property_hooks/ |
H A D | basics.phpt | 6 class Test { 16 abstract class Test2 { 31 $rp1 = new ReflectionProperty(Test::class, 'prop1'); 39 $rp2 = new ReflectionProperty(Test::class, 'prop2'); 56 $rp3 = new ReflectionProperty(Test::class, 'prop3'); 70 $rp5 = new ReflectionProperty(Test::class, 'prop5'); 75 $rp6 = new ReflectionProperty(Test::class, 'prop6'); 92 ["class"]=> 99 ["class"]=> 110 ["class"]=> [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_intersect_uassoc_variation10.phpt | 2 Test array_intersect_uassoc() function : usage variation - Passing class/object methods to callback 10 // define some class with method 11 class MyClass 23 echo "\n-- Testing array_intersect_uassoc() function using class with static method as callback --\… 27 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --… 34 -- Testing array_intersect_uassoc() function using class with static method as callback -- 44 -- Testing array_intersect_uassoc() function using class with regular method as callback --
|
/php-src/ext/spl/tests/ |
H A D | iterator_056.phpt | 2 SPL: Calling __construct(void) on class extending SPL iterator 8 class myFilterIterator extends FilterIterator { 12 class myCachingIterator extends CachingIterator { } 14 class myRecursiveCachingIterator extends RecursiveCachingIterator { } 16 class myParentIterator extends ParentIterator { } 18 class myLimitIterator extends LimitIterator { } 20 class myNoRewindIterator extends NoRewindIterator {}
|
/php-src/Zend/tests/readonly_props/ |
H A D | override_with_attributes.phpt | 7 class FooAttribute {} 9 class A { 16 class B extends A { 21 var_dump((new ReflectionProperty(B::class, 'prop'))->getAttributes()[0]->newInstance());
|
Completed in 38 milliseconds
12345678910>>...214