Searched refs:class (Results 501 – 525 of 4799) sorted by relevance
1...<<21222324252627282930>>...192
/php-src/Zend/tests/ |
H A D | name_collision_07.phpt | 7 class Bar {} 12 class Bar {} 16 Fatal error: Cannot redeclare class Bazzle\Bar (previously declared as local import) in %s on line …
|
H A D | constant_expressions_dynamic_class_name_error.phpt | 2 Dynamic class names can't be used in compile-time constant refs 11 Fatal error: Dynamic class names are not allowed in compile-time class constant references in %s on…
|
H A D | magic_methods_021.phpt | 6 class Foo { 10 class Foo2 { 14 class Foo3 {
|
H A D | class_alias_019.phpt | 2 Trying to redeclare class name in global scope inside namespace 9 class foo { 17 Warning: Cannot redeclare class foo (previously declared in %s:%d) in %s on line %d
|
H A D | debug_backtrace_options.phpt | 31 class foo { 104 [class] => foo 123 [class] => foo 168 [class] => foo 187 [class] => foo 232 [class] => foo 247 [class] => foo 292 [class] => foo 311 [class] => foo 344 [class] => foo [all …]
|
H A D | lsb_005.phpt | 6 class TestA { 18 class TestB { 26 class TestC { 32 class TestBB extends TestB {
|
H A D | bug41961.phpt | 2 Bug #41961 (Ensure search for hidden private methods does not stray from class hierarchy) 8 class X { 18 class ParentClass { 22 class ChildClass extends ParentClass {
|
H A D | bug48770.phpt | 2 Bug #48770 (call_user_func_array() fails to call parent from inheriting class) 6 class A { 12 class B extends A { 22 class C extends B {
|
/php-src/ext/opcache/tests/ |
H A D | bug78986.phpt | 2 Bug #78986: Opcache segfaults when inheriting ctor from immutable into mutable class 10 class TestClass2 { 14 class TestClass extends TestClass2 {
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionEnum_getBackingType.phpt | 12 var_dump((new ReflectionEnum(Enum_::class))->getBackingType()); 13 echo (new ReflectionEnum(IntEnum::class))->getBackingType() . "\n"; 14 echo (new ReflectionEnum(StringEnum::class))->getBackingType() . "\n";
|
H A D | ReflectionEnum_isBacked.phpt | 12 var_dump((new ReflectionEnum(Enum_::class))->isBacked()); 13 var_dump((new ReflectionEnum(IntEnum::class))->isBacked()); 14 var_dump((new ReflectionEnum(StringEnum::class))->isBacked());
|
H A D | ReflectionParameter_ctor_cast.phpt | 6 class A {} 9 A::class, 10 new class { public function __toString() { return 'method'; } }
|
H A D | ReflectionProperty_constructor_error.phpt | 2 Test ReflectionProperty class constructor errors. 6 class TestClass { 11 echo "Non-existent class:\n"; 36 Non-existent class:
|
H A D | ReflectionProperty_isDefault_basic.phpt | 6 function reflectProperty($class, $property) { 7 $propInfo = new ReflectionProperty($class, $property); 9 echo "Reflecting on property $class::$property\n\n"; 15 class TestClass {
|
H A D | ReflectionClassConstant_getValue.phpt | 7 class A { 11 class B { 15 class C { 28 Class [ <user> class C ] {
|
/php-src/Zend/tests/return_types/ |
H A D | inheritance001.phpt | 2 Return type covariance; extends class 6 class A { 10 class B extends A {
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_035.phpt | 5 class Foo{ 9 class Baz extends Foo{ 14 Fatal error: Type of Baz::$bar must not be defined (as in class Foo) in %s on line 6
|
H A D | typed_properties_protected_inheritance_mismatch.phpt | 6 class A { protected int $x; } 7 class B extends A { protected $x; } 11 Fatal error: Type of B::$x must be int (as in class A) in %s on line %d
|
/php-src/ext/spl/tests/ |
H A D | SplFileInfo_setFileClass_error.phpt | 2 SplFileInfo::setFileClass() throws exception for invalid class 16 SplFileInfo::setFileClass(): Argument #1 ($class) must be a class name derived from SplFileObject, …
|
H A D | SplFileInfo_setInfoClass_error.phpt | 2 SplFileInfo::setInfoClass() throws exception for invalid class 16 SplFileInfo::setInfoClass(): Argument #1 ($class) must be a class name derived from SplFileInfo, st…
|
H A D | arrayObject___construct_error1.phpt | 14 echo "Non-existent class:\n"; 23 ArrayObject::__construct(): Argument #3 ($iteratorClass) must be a class name derived from ArrayIte… 24 Non-existent class: 25 ArrayObject::__construct(): Argument #3 ($iteratorClass) must be a class name derived from ArrayIte…
|
/php-src/Zend/tests/attributes/ |
H A D | 021_attribute_flags_type_is_validated.phpt | 7 class A1 { } 10 class Foo {} 13 (new ReflectionClass(Foo::class))->getAttributes()[0]->newInstance();
|
H A D | 030_strict_types.phpt | 7 class MyAttribute { 12 class TestWeak {} 16 var_dump((new ReflectionClass(TestWeak::class))->getAttributes()[0]->newInstance()); 17 var_dump((new ReflectionClass(TestStrict::class))->getAttributes()[0]->newInstance());
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_fetch_object_oo.phpt | 22 echo $e::class, ': ', $e->getMessage(), "\n"; 30 echo $e::class, ': ', $e->getMessage(), "\n"; 39 class mysqli_fetch_object_test { 56 class mysqli_fetch_object_construct extends mysqli_fetch_object_test { 68 echo $e::class, ': ', $e->getMessage(), "\n"; 79 echo $e::class, ': ', $e->getMessage(), "\n"; 102 echo $e::class, ': ', $e->getMessage(), "\n"; 108 echo $e::class, ': ', $e->getMessage(), "\n"; 119 Error: Object of class mysqli could not be converted to string 126 TypeError: mysqli_result::fetch_object(): Argument #1 ($class) must be a valid class name, this_cla…
|
/php-src/ext/reflection/tests/internal_parameter_default_value/ |
H A D | ReflectionParameter_isDefaultValueConstant_Internal.phpt | 5 $class = new ReflectionClass('DateTime'); 6 $method = $class->getMethod('setTime'); 18 $class = new ReflectionClass('DateTimeZone'); 19 $method = $class->getMethod('listIdentifiers');
|
Completed in 119 milliseconds
1...<<21222324252627282930>>...192