/php-src/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) { 82 Cannot assign string to property _ZendTestClass::$intProp of type int [all …]
|
/php-src/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"))); 32 string(14) "_ZendTestClass"
|
H A D | attribute-deprecated.phpt | 14 _ZendTestClass::ZEND_TEST_DEPRECATED_ATTR; 16 $reflection = new ReflectionClassConstant('_ZendTestClass', 'ZEND_TEST_DEPRECATED_ATTR'); 33 Deprecated: Constant _ZendTestClass::ZEND_TEST_DEPRECATED_ATTR is deprecated, custom message in %s …
|
H A D | class_constant_deprecated.phpt | 8 $r = new ReflectionClassConstant('_ZendTestClass', 'ZEND_TEST_DEPRECATED'); 11 $r = new ReflectionClassConstant('_ZendTestClass', 'TYPED_CLASS_CONST2');
|
H A D | variadic_arguments.phpt | 8 $reflection = new ReflectionMethod("_ZendTestClass", "variadicTest");
|
/php-src/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-src/ext/reflection/tests/ |
H A D | internal_static_property.phpt | 8 $rp = new ReflectionProperty('_ZendTestClass', '_StaticProp'); 9 $rp->setValue(new _ZendTestClass(), 42);
|
H A D | internal_property_union_type.phpt | 7 $rp = new ReflectionProperty(_ZendTestClass::class, 'classUnionProp');
|
/php-src/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-src/ext/opcache/tests/ |
H A D | internal_func_info_static_method.phpt | 9 var_dump(is_bool(_ZendTestClass::is_object()));
|
/php-src/ext/zend_test/ |
H A D | test_arginfo.h | 310 static ZEND_METHOD(_ZendTestClass, is_object); 311 static ZEND_METHOD(_ZendTestClass, __toString); 312 static ZEND_METHOD(_ZendTestClass, returnsStatic); 313 static ZEND_METHOD(_ZendTestClass, returnsThrowable); 314 static ZEND_METHOD(_ZendTestClass, variadicTest); 315 static ZEND_METHOD(_ZendTestClass, takesUnionType); 455 …ZEND_ME(_ZendTestClass, is_object, arginfo_class__ZendTestClass_is_object, ZEND_ACC_PUBLIC|ZEND_AC… 456 …ZEND_ME(_ZendTestClass, __toString, arginfo_class__ZendTestClass___toString, ZEND_ACC_PUBLIC|ZEND_… 457 ZEND_ME(_ZendTestClass, returnsStatic, arginfo_class__ZendTestClass_returnsStatic, ZEND_ACC_PUBLIC) 458 …ZEND_ME(_ZendTestClass, returnsThrowable, arginfo_class__ZendTestClass_returnsThrowable, ZEND_ACC_… [all …]
|
H A D | test.stub.php | 32 class _ZendTestClass implements _ZendTestInterface { class 83 class _ZendTestChildClass extends _ZendTestClass
|
H A D | test.c | 901 static ZEND_METHOD(_ZendTestClass, __toString) in ZEND_METHOD() argument 908 static ZEND_METHOD(_ZendTestClass, is_object) in ZEND_METHOD() argument 914 static ZEND_METHOD(_ZendTestClass, returnsStatic) { in ZEND_METHOD() argument 919 static ZEND_METHOD(_ZendTestClass, returnsThrowable) in ZEND_METHOD() argument 925 static ZEND_METHOD(_ZendTestClass, variadicTest) { in ZEND_METHOD() argument 1140 static ZEND_METHOD(_ZendTestClass, takesUnionType) in ZEND_METHOD() argument
|