/PHP-8.2/Zend/tests/type_declarations/ |
H A D | typed_properties_095.phpt | 11 $obj = new _ZendTestClass; 30 class Test extends _ZendTestClass { 52 var_dump(_ZendTestClass::$staticIntProp); 54 _ZendTestClass::$staticIntProp = "foobar"; 58 _ZendTestClass::$staticIntProp = 456; 59 var_dump(_ZendTestClass::$staticIntProp); 64 Cannot assign string to property _ZendTestClass::$intProp of type int 65 Cannot assign _ZendTestClass to property _ZendTestClass::$classProp of type ?stdClass 66 object(_ZendTestClass)#1 (3) { 80 Cannot assign string to property _ZendTestClass::$intProp of type int [all …]
|
/PHP-8.2/ext/zend_test/tests/ |
H A D | gh16266.phpt | 2 GH-16266 (_ZendTestClass::test() segfaults on named parameter) 8 $o = new _ZendTestClass(); 14 _ZendTestClass::test('a', 'b', c: 'c');
|
H A D | zend_internal_class_prop_intersection.phpt | 21 $o = new _ZendTestClass(); 43 Error: Typed property _ZendTestClass::$classIntersectionProp must not be accessed before initializa… 44 Cannot assign EmptyIterator to property _ZendTestClass::$classIntersectionProp of type Traversable&… 45 Cannot assign C to property _ZendTestClass::$classIntersectionProp of type Traversable&Countable
|
H A D | internal-call-internal-static-return.phpt | 21 class StillReturnsStatic extends _ZendTestClass {} 23 var_dump(get_class(zend_call_method(_ZendTestClass::class, "returnsStatic"))); 31 string(14) "_ZendTestClass"
|
H A D | variadic_arguments.phpt | 8 $reflection = new ReflectionMethod("_ZendTestClass", "variadicTest");
|
/PHP-8.2/Zend/tests/type_declarations/union_types/ |
H A D | inheritance_internal.phpt | 8 class C extends _ZendTestClass {} 30 Cannot assign DateTime to property _ZendTestClass::$classUnionProp of type stdClass|Iterator|null 31 Cannot assign DateTime to property _ZendTestClass::$classUnionProp of type stdClass|Iterator|null
|
/PHP-8.2/Zend/tests/ |
H A D | inherit_internal_static.phpt | 8 class Test extends _ZendTestClass { 12 _ZendTestClass::$_StaticProp = 42;
|
H A D | stringable_internal_class.phpt | 8 // _ZendTestClass defines __toString() but does not explicitly implement Stringable. 9 $obj = new _ZendTestClass;
|
H A D | bug78239.phpt | 14 $r = new _ZendTestClass; 19 Fatal error: Uncaught ErrorException: Method _ZendTestClass::__toString() is deprecated in %s:%d
|
H A D | overloaded_func_002.phpt | 7 $a = new _ZendTestClass();
|
H A D | overloaded_func_001.phpt | 9 var_dump(_ZendTestClass::test());
|
H A D | bug78335_2.phpt | 9 _ZendTestClass::$_StaticProp = $foo;
|
/PHP-8.2/ext/opcache/tests/ |
H A D | internal_func_info_static_method.phpt | 9 var_dump(is_bool(_ZendTestClass::is_object()));
|
/PHP-8.2/ext/reflection/tests/ |
H A D | internal_static_property.phpt | 8 $rp = new ReflectionProperty('_ZendTestClass', '_StaticProp');
|
H A D | internal_property_union_type.phpt | 7 $rp = new ReflectionProperty(_ZendTestClass::class, 'classUnionProp');
|
/PHP-8.2/ext/zend_test/ |
H A D | test_arginfo.h | 249 static ZEND_METHOD(_ZendTestClass, is_object); 250 static ZEND_METHOD(_ZendTestClass, __toString); 251 static ZEND_METHOD(_ZendTestClass, returnsStatic); 252 static ZEND_METHOD(_ZendTestClass, returnsThrowable); 253 static ZEND_METHOD(_ZendTestClass, variadicTest); 329 …ZEND_ME(_ZendTestClass, is_object, arginfo_class__ZendTestClass_is_object, ZEND_ACC_PUBLIC|ZEND_AC… 330 …ZEND_ME(_ZendTestClass, __toString, arginfo_class__ZendTestClass___toString, ZEND_ACC_PUBLIC|ZEND_… 331 ZEND_ME(_ZendTestClass, returnsStatic, arginfo_class__ZendTestClass_returnsStatic, ZEND_ACC_PUBLIC) 332 …ZEND_ME(_ZendTestClass, returnsThrowable, arginfo_class__ZendTestClass_returnsThrowable, ZEND_ACC_… 333 …ZEND_ME(_ZendTestClass, variadicTest, arginfo_class__ZendTestClass_variadicTest, ZEND_ACC_PUBLIC|Z…
|
H A D | test.stub.php | 27 class _ZendTestClass implements _ZendTestInterface { class 60 class _ZendTestChildClass extends _ZendTestClass
|
H A D | test.c | 714 static ZEND_METHOD(_ZendTestClass, __toString) in ZEND_METHOD() argument 721 static ZEND_METHOD(_ZendTestClass, is_object) in ZEND_METHOD() argument 727 static ZEND_METHOD(_ZendTestClass, returnsStatic) { in ZEND_METHOD() argument 732 static ZEND_METHOD(_ZendTestClass, returnsThrowable) in ZEND_METHOD() argument 738 static ZEND_METHOD(_ZendTestClass, variadicTest) { in ZEND_METHOD() argument
|