/PHP-8.0/Zend/tests/object_types/ |
H A D | return_type_inheritance_in_class.phpt | 2 Adding class method a object return type during inheritance is allowed 11 public function a() : object {} 15 public function a() : object { 22 Fatal error: Uncaught TypeError: Two@anonymous::a(): Return value must be of type object, int retur…
|
H A D | return_type_inheritance_in_interface.phpt | 2 Adding interface method a object return type during inheritance is allowed 11 public function a() : object; 15 public function a() : object { 22 Fatal error: Uncaught TypeError: Two@anonymous::a(): Return value must be of type object, int retur…
|
/PHP-8.0/Zend/tests/ |
H A D | objects_031.phpt | 18 object(stdClass)#%d (1) { 23 object(stdClass)#%d (0) { 26 object(stdClass)#%d (0) {
|
H A D | magic_methods_inheritance_rules_non_trivial_02.phpt | 10 public function __get(string|array|object $name): int {} // also valid 14 public function __get(string|array|object $name): int|float {} // this is invalid 18 Fatal error: Declaration of C::__get(object|array|string $name): int|float must be compatible with …
|
/PHP-8.0/ext/reflection/tests/ |
H A D | bug46064_2.phpt | 2 Bug #46064.2 (Exception when creating ReflectionProperty object on dynamicly created property) 40 object(ReflectionProperty)#%d (2) { 46 object(ReflectionProperty)#%d (2) { 59 object(ReflectionProperty)#%d (2) { 66 object(ReflectionProperty)#%d (2) {
|
H A D | ReflectionClass_getReflectionConstants_filter.phpt | 38 object(ReflectionClassConstant)#%d (%d) { 45 object(ReflectionClassConstant)#%d (%d) { 54 object(ReflectionClassConstant)#%d (%d) { 61 object(ReflectionClassConstant)#%d (%d) { 70 object(ReflectionClassConstant)#%d (%d) { 77 object(ReflectionClassConstant)#%d (%d) {
|
H A D | ReflectionClass_getProperty_004.phpt | 99 object(ReflectionProperty)#%d (2) { 107 object(ReflectionProperty)#%d (2) { 117 object(ReflectionProperty)#%d (2) { 125 object(ReflectionProperty)#%d (2) { 135 object(ReflectionProperty)#%d (2) { 143 object(ReflectionProperty)#%d (2) { 151 object(ReflectionProperty)#%d (2) { 161 object(ReflectionProperty)#%d (2) { 169 object(ReflectionProperty)#%d (2) { 177 object(ReflectionProperty)#%d (2) { [all …]
|
/PHP-8.0/ext/simplexml/tests/ |
H A D | 014.phpt | 33 object(SimpleXMLElement)#%d (1) { 38 object(SimpleXMLElement)#%d (1) { 42 object(SimpleXMLElement)#%d (1) { 51 object(SimpleXMLElement)#%d (1) { 55 object(SimpleXMLElement)#%d (1) {
|
/PHP-8.0/ext/ffi/tests/ |
H A D | bug80847.phpt | 42 object(FFI\CData:struct bug80847_02)#%d (1) { 44 object(FFI\CData:struct bug80847_01)#%d (2) { 51 object(FFI\CData:struct bug80847_02)#%d (1) { 53 object(FFI\CData:struct bug80847_01)#%d (2) { 60 object(FFI\CData:struct bug80847_02)#%d (1) { 62 object(FFI\CData:struct bug80847_01)#%d (2) {
|
/PHP-8.0/ext/opcache/tests/jit/ |
H A D | fetch_obj_001.phpt | 79 object(stdClass)#%d (1) { 83 object(stdClass)#%d (2) { 90 object(stdClass)#%d (2) { 98 object(stdClass)#%d (2) { 105 object(stdClass)#%d (1) { 109 object(stdClass)#%d (2) { 116 object(stdClass)#%d (2) { 124 object(stdClass)#%d (2) {
|
/PHP-8.0/ext/intl/dateformat/ |
H A D | dateformat_attrcpp.cpp | 44 &object, IntlDateFormatter_ce_ptr ) == FAILURE) { in PHP_FUNCTION() 64 &object, IntlDateFormatter_ce_ptr ) == FAILURE) { in PHP_FUNCTION() 91 "Oz", &object, IntlDateFormatter_ce_ptr, &timezone_zv) == FAILURE) { in PHP_FUNCTION() 112 &object, IntlDateFormatter_ce_ptr ) == FAILURE) { in PHP_FUNCTION() 133 &object, IntlDateFormatter_ce_ptr ) == FAILURE) { in PHP_FUNCTION() 164 object = getThis(); in PHP_FUNCTION() 166 if (object) { in PHP_FUNCTION() 172 Z_PARAM_OBJECT_OF_CLASS(object, IntlDateFormatter_ce_ptr) in PHP_FUNCTION()
|
H A D | dateformat_attr.c | 32 …if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "O", &object, IntlDateFormatter_ce_p… in PHP_FUNCTION() 52 …if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "O", &object, IntlDateFormatter_ce_p… in PHP_FUNCTION() 77 …if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "O", &object, IntlDateFormatter_ce_p… in PHP_FUNCTION() 116 &object, IntlDateFormatter_ce_ptr, &value, &value_len ) == FAILURE ) in PHP_FUNCTION() 148 &object, IntlDateFormatter_ce_ptr,&loc_type) == FAILURE ) in PHP_FUNCTION() 171 &object, IntlDateFormatter_ce_ptr ) == FAILURE ) in PHP_FUNCTION() 193 &object, IntlDateFormatter_ce_ptr,&isLenient ) == FAILURE ) in PHP_FUNCTION()
|
/PHP-8.0/Zend/ |
H A D | zend_builtin_functions.stub.php | 30 function get_class(object $object = UNKNOWN): string {} argument 34 function get_parent_class(object|string $object_or_class = UNKNOWN): string|false {} 44 function get_object_vars(object $object): array {} argument 46 function get_mangled_object_vars(object $object): array {} argument 48 function get_class_methods(object|string $object_or_class): array {}
|
/PHP-8.0/ext/libxml/ |
H A D | php_libxml.h | 46 zval object; member 90 typedef void * (*php_libxml_export_node) (zval *object); 92 PHP_LIBXML_API int php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, v… 93 PHP_LIBXML_API int php_libxml_decrement_node_ptr(php_libxml_node_object *object); 94 PHP_LIBXML_API int php_libxml_increment_doc_ref(php_libxml_node_object *object, xmlDocPtr docp); 95 PHP_LIBXML_API int php_libxml_decrement_doc_ref(php_libxml_node_object *object); 96 PHP_LIBXML_API xmlNodePtr php_libxml_import_node(zval *object); 102 PHP_LIBXML_API void php_libxml_node_decrement_resource(php_libxml_node_object *object);
|
/PHP-8.0/ext/spl/ |
H A D | php_spl.stub.php | 28 function spl_object_hash(object $object): string {} argument 30 function spl_object_id(object $object): int {} argument
|
/PHP-8.0/ext/spl/tests/ |
H A D | SplObjectStorage_unserialize_nested.phpt | 23 object(SplObjectStorage)#4 (1) { 29 object(stdClass)#5 (1) { 31 object(stdClass)#6 (0) { 40 object(stdClass)#6 (0) {
|
H A D | observer_003.phpt | 25 foreach($storage as $object) 27 var_dump($object->test); 37 foreach($storage2 as $object) 39 var_dump($object->test);
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_fetch_serialize.phpt | 84 printf("Creating an object, serializing it and writing it to DB...\n"); 86 $obj = myclass::singleton('Creating object'); 93 printf("\nUnserializing the previously serialized object...\n"); 123 Creating an object, serializing it and writing it to DB... 124 myclass::singleton(Creating object) 125 myclass::__construct(Creating object) 128 Unserializing the previously serialized object... 130 object(myclass)#4 (1) { 137 object(myclass)#%d (1) { 142 Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it... [all …]
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_walk_closure.phpt | 34 echo "\nclosure with object\n"; 48 echo "\nfunction with object\n"; 147 closure with object 150 object(stdClass)#1 (1) { 156 object(stdClass)#1 (1) { 162 object(stdClass)#1 (1) { 169 function with object 170 object(stdClass)#2 (1) { 174 object(stdClass)#2 (1) { 178 object(stdClass)#2 (1) { [all …]
|
/PHP-8.0/ext/pdo/tests/ |
H A D | pdo_005.phpt | 55 object(stdClass)#%d (3) { 64 object(stdClass)#%d (3) { 73 object(stdClass)#%d (3) { 84 object(TestBase)#%d (3) { 93 object(TestBase)#%d (3) { 102 object(TestBase)#%d (3) { 116 object(TestDerived)#%d (5) { 129 object(TestDerived)#%d (5) { 142 object(TestDerived)#%d (5) {
|
/PHP-8.0/ext/intl/msgformat/ |
H A D | msgformat_class.c | 32 void MessageFormatter_object_free( zend_object *object ) in MessageFormatter_object_free() argument 34 MessageFormatter_object* mfo = php_intl_messageformatter_fetch_object(object); in MessageFormatter_object_free() 59 zend_object *MessageFormatter_object_clone(zend_object *object) in MessageFormatter_object_clone() argument 64 mfo = php_intl_messageformatter_fetch_object(object); in MessageFormatter_object_clone() 67 new_obj = MessageFormatter_ce_ptr->create_object(object->ce); in MessageFormatter_object_clone()
|
/PHP-8.0/ext/curl/tests/ |
H A D | bug72202.phpt | 30 object(CurlHandle)#1 (0) { 32 object(CurlHandle)#1 (0) { 34 object(CurlHandle)#1 (0) { 36 object(CurlHandle)#1 (0) {
|
/PHP-8.0/ext/date/tests/ |
H A D | date_create_basic.phpt | 19 object(DateTime)#%d (3) { 27 object(DateTime)#%d (3) { 35 object(DateTime)#%d (3) { 43 object(DateTime)#%d (3) {
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | serialize_globals_var_refs.phpt | 16 object(stdClass)#1 (0) { 18 object(stdClass)#2 (1) { 20 object(stdClass)#1 (0) {
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | bug22224.phpt | 2 Bug #22224 (implode changes object references in array) 26 &object(foo)#%d (0) { 29 &object(foo)#%d (0) {
|