Home
last modified time | relevance | path

Searched refs:class (Results 201 – 225 of 4511) sorted by relevance

12345678910>>...181

/php-src/Zend/tests/type_declarations/dnf_types/variance/
H A Dvalid4.phpt6 class A {}
7 class B extends A {}
10 class Test {
13 class Test2 extends Test {
/php-src/Zend/tests/
H A Dbug33116.phpt2 Bug #33116 (crash when assigning class name to global variable in autoloader)
5 spl_autoload_register(function ($class) {
6 $GLOBALS['include'][] = $class;
7 eval("class DefClass{}");
H A Dns_037.phpt2 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
H A Dns_095.phpt7 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 Dclosure_049.phpt2 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 Dclosure_050.phpt2 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 Dclosure_053.phpt2 Closure 053: self::class in static closure in non-static method.
6 class A {
9 return self::class;
15 class B extends A {}
H A Dclosure_054.phpt2 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 Dbug60444.phpt2 Bug #60444 (Segmentation fault with include & class extending)
5 class Foo {
7 eval("class Bar extends Foo {}");
11 class Some {
H A Dgh10709.phpt2 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 Dbug63976.phpt2 Bug #63976 (Parent class incorrectly using child constant in class property)
6 class Foo {
12 class Bar extends Foo {
H A Dmethod_argument_binding.phpt6 class A {
10 class B extends A {
18 class C extends B {
26 class D {
32 class E extends D {
H A Dclass_name_as_scalar_error_005.phpt2 class name as scalar from ::class keyword error using static non class context
6 $x = static::class;
H A Dclass_name_as_scalar_error_006.phpt2 class name as scalar from ::class keyword error using parent in non class context
6 $x = parent::class;
H A Dbug33277.phpt2 Bug #33277 (private method accessed by child class)
5 class foo {
11 class fooson extends foo {
17 class foo2son extends fooson {
/php-src/ext/reflection/tests/
H A DReflectionObject_isInstance_basic.phpt5 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 DReflectionClass_toString_006.phpt2 Using ReflectionClass::__toString() with typed class constants
6 class Foo {
10 echo new ReflectionClass(Foo::class);
14 Class [ <user> class Foo ] {
H A Dbug37964.phpt2 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/type_declarations/
H A Dtyped_properties_084.phpt2 Typed properties and class aliases
6 class Foo {}
11 class A {
17 class B extends A {
/php-src/Zend/tests/readonly_classes/
H A Dreadonly_class_final_modifier.phpt2 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 D042.phpt5 class UnionType {
9 class UnionType2 {
13 class UnionTypeOldStyle {
17 class JustAnArray {
/php-src/ext/standard/tests/array/
H A Darray_intersect_uassoc_variation10.phpt2 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 Diterator_056.phpt2 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 Doverride_with_attributes.phpt7 class FooAttribute {}
9 class A {
16 class B extends A {
21 var_dump((new ReflectionProperty(B::class, 'prop'))->getAttributes()[0]->newInstance());
/php-src/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_getDefaultValueConstantName_Internal.phpt5 $class = new ReflectionClass('DateTime');
6 $method = $class->getMethod('setTime');
18 $class = new ReflectionClass('DateTimeZone');
19 $method = $class->getMethod('getTransitions');
31 $class = new ReflectionClass('DateTimeZone');
32 $method = $class->getMethod('listIdentifiers');

Completed in 23 milliseconds

12345678910>>...181