From af4cb0b687f3da842fdebe8576975edc65eaee1a Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 7 Sep 2021 10:48:39 +0200 Subject: [PATCH] Rename stdClass -> DynamicObject, keep stdClass as alias --- Zend/tests/029.phpt | 18 +- Zend/tests/add_002.phpt | 4 +- Zend/tests/add_003.phpt | 4 +- Zend/tests/anon/016.phpt | 2 +- Zend/tests/assign_coalesce_001.phpt | 4 +- Zend/tests/assign_obj_ref_byval_function.phpt | 2 +- Zend/tests/assign_obj_ref_return.phpt | 2 +- Zend/tests/bug29015.phpt | 2 +- Zend/tests/bug30080.phpt | 4 +- Zend/tests/bug35163_3.phpt | 4 +- Zend/tests/bug35239.phpt | 6 +- Zend/tests/bug37811.phpt | 4 +- Zend/tests/bug43332_1.phpt | 4 +- Zend/tests/bug52614.phpt | 2 +- Zend/tests/bug68118.phpt | 2 +- Zend/tests/bug69446.phpt | 4 +- Zend/tests/bug70121.phpt | 2 +- Zend/tests/bug70288.phpt | 4 +- Zend/tests/bug70332.phpt | 2 +- Zend/tests/bug71067.phpt | 2 +- Zend/tests/bug71539_1.phpt | 2 +- Zend/tests/bug72162.phpt | 2 +- Zend/tests/bug73900.phpt | 2 +- Zend/tests/bug78379.phpt | 2 +- Zend/tests/bug78644.phpt | 2 +- Zend/tests/bug78999.phpt | 2 +- Zend/tests/bug79155.phpt | 4 +- Zend/tests/bug79818.phpt | 2 +- Zend/tests/bug80072.phpt | 2 +- Zend/tests/bug80194.phpt | 2 +- Zend/tests/bug81159.phpt | 4 +- Zend/tests/cast_to_object.phpt | 24 +- Zend/tests/class_on_object.phpt | 6 +- Zend/tests/closure_027.phpt | 6 +- Zend/tests/closure_042.phpt | 6 +- Zend/tests/closure_061.phpt | 12 +- Zend/tests/closure_call.phpt | 2 +- Zend/tests/compare_001_64bit.phpt | 160 +-- Zend/tests/compare_002_64bit.phpt | 128 +- Zend/tests/compare_003_64bit.phpt | 160 +-- Zend/tests/compare_004_64bit.phpt | 160 +-- Zend/tests/compare_005_64bit.phpt | 160 +-- Zend/tests/compare_006_64bit.phpt | 160 +-- Zend/tests/compound_assign_failure.phpt | 24 +- Zend/tests/constant_arrays.phpt | 2 +- Zend/tests/constants_002.phpt | 2 +- Zend/tests/constexpr/new.phpt | 4 +- Zend/tests/constexpr/new_allowed.phpt | 8 +- Zend/tests/declare_007.phpt | 4 +- Zend/tests/decrement_001_64bit.phpt | 4 +- Zend/tests/dereference_004.phpt | 4 +- Zend/tests/dereference_010.phpt | 2 +- Zend/tests/die_string_cast_exception.phpt | 2 +- Zend/tests/dynamic_call_freeing.phpt | 2 +- Zend/tests/dynamic_prop_name_leak.phpt | 2 +- Zend/tests/errmsg_044.phpt | 2 +- Zend/tests/exception_009.phpt | 2 +- Zend/tests/exception_018.phpt | 4 +- Zend/tests/exception_019.phpt | 4 +- Zend/tests/exception_020.phpt | 4 +- Zend/tests/exception_021.phpt | 4 +- Zend/tests/exception_022.phpt | 4 +- Zend/tests/exception_from_toString.phpt | 2 +- Zend/tests/first_class_callable_errors.phpt | 6 +- Zend/tests/gc_005.phpt | 4 +- Zend/tests/gc_006.phpt | 4 +- Zend/tests/gc_008.phpt | 4 +- Zend/tests/gc_009.phpt | 4 +- Zend/tests/gc_042.phpt | 2 +- Zend/tests/gc_043.phpt | 6 +- Zend/tests/generators/bug63066.phpt | 4 +- .../generator_with_nonscalar_keys.phpt | 4 +- .../generators/throw_not_an_exception.phpt | 4 +- Zend/tests/indirect_call_array_002.phpt | 2 +- Zend/tests/indirect_method_call_004.phpt | 6 +- Zend/tests/list/list_reference_002.phpt | 6 +- Zend/tests/list_001.phpt | 8 +- Zend/tests/list_002.phpt | 4 +- Zend/tests/list_005.phpt | 2 +- Zend/tests/ns_062.phpt | 4 +- Zend/tests/ns_070.phpt | 4 +- Zend/tests/ns_071.phpt | 4 +- Zend/tests/ns_072.phpt | 4 +- Zend/tests/ns_073.phpt | 4 +- Zend/tests/ns_074.phpt | 2 +- Zend/tests/nullsafe_operator/015.phpt | 2 +- Zend/tests/nullsafe_operator/031.phpt | 2 +- Zend/tests/object_array_cast.phpt | 4 +- Zend/tests/objects_019.phpt | 4 +- Zend/tests/objects_022.phpt | 4 +- Zend/tests/objects_031.phpt | 8 +- Zend/tests/offset_object.phpt | 2 +- Zend/tests/offset_string.phpt | 2 +- Zend/tests/operator_unsupported_types.phpt | 1032 ++++++++--------- .../overloaded_assign_prop_return_value.phpt | 2 +- Zend/tests/readonly_props/cache_slot.phpt | 8 +- .../readonly_containing_object.phpt | 6 +- Zend/tests/settype_object.phpt | 24 +- ...atic_variable_in_private_trait_method.phpt | 4 +- Zend/tests/str_or_obj_of_class_zpp.phpt | 12 +- Zend/tests/str_or_obj_zpp.phpt | 4 +- .../closure_with_variadic.phpt | 2 +- .../tests/type_declarations/scalar_basic.phpt | 16 +- .../scalar_return_basic_64bit.phpt | 16 +- .../scalar_strict_64bit.phpt | 16 +- .../scalar_strict_basic.phpt | 8 +- .../type_declarations/static_type_return.phpt | 2 +- .../typed_properties_001.phpt | 2 +- .../typed_properties_043.phpt | 6 +- .../typed_properties_095.phpt | 4 +- .../typed_properties_class_loading.phpt | 4 +- .../union_types/anonymous_class.phpt | 2 +- .../union_types/multiple_classes.phpt | 4 +- .../union_types/type_checking_strict.phpt | 18 +- .../union_types/type_checking_weak.phpt | 18 +- Zend/tests/typehints/or_null.phpt | 24 +- Zend/tests/unset_non_array.phpt | 4 +- Zend/tests/varSyntax/newVariable.phpt | 14 +- Zend/tests/varSyntax/new_instanceof_expr.phpt | 4 +- .../weakrefs/weakmap_basic_map_behavior.phpt | 18 +- .../weakrefs/weakmap_error_conditions.phpt | 2 +- Zend/tests/weakrefs/weakmap_iteration.phpt | 16 +- .../weakrefs/weakmap_multiple_weakrefs.phpt | 10 +- Zend/tests/weakrefs/weakmap_weakness.phpt | 10 +- Zend/tests/weakrefs/weakrefs_001.phpt | 9 +- Zend/zend_builtin_functions.c | 3 +- Zend/zend_builtin_functions.stub.php | 2 +- Zend/zend_builtin_functions_arginfo.h | 8 +- ext/date/tests/timezone_offset_get_error.phpt | 4 +- ext/dom/tests/domobject_debug_handler.phpt | 2 +- ext/fileinfo/tests/mime_content_type_001.phpt | 2 +- ext/filter/tests/011.phpt | 2 +- ext/filter/tests/039.phpt | 2 +- ext/filter/tests/057.phpt | 4 +- ext/gd/tests/bug67248.phpt | 6 +- ext/gmp/tests/gmp_intval.phpt | 2 +- ext/gmp/tests/gmp_nextprime.phpt | 2 +- ext/gmp/tests/gmp_strval.phpt | 2 +- ext/gmp/tests/gmp_sub.phpt | 4 +- ext/gmp/tests/overloading.phpt | 2 +- ext/intl/tests/calendar_equals_error.phpt | 2 +- .../dateformat___construct_bad_tz_cal.phpt | 2 +- ext/json/tests/001.phpt | 16 +- ext/json/tests/004.phpt | 2 +- ext/json/tests/bug45791.phpt | 2 +- ext/json/tests/bug50224.phpt | 4 +- ext/json/tests/bug73991.phpt | 6 +- ext/json/tests/json_decode_basic.phpt | 8 +- ext/json/tests/pass001.1.phpt | 28 +- ext/json/tests/pass001.1_64bit.phpt | 30 +- ext/json/tests/pass001.phpt | 16 +- ext/json/tests/pass003.phpt | 10 +- ext/libxml/tests/004.phpt | 2 +- ext/mysqli/tests/042.phpt | 4 +- ext/mysqli/tests/047.phpt | 12 +- ext/mysqli/tests/mysqli_fetch_field.phpt | 6 +- .../tests/mysqli_fetch_field_direct.phpt | 2 +- .../tests/mysqli_fetch_field_direct_oo.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_field_oo.phpt | 4 +- ext/mysqli/tests/mysqli_fetch_fields.phpt | 4 +- ext/mysqli/tests/mysqli_fetch_object.phpt | 7 + ext/mysqli/tests/mysqli_fetch_object_oo.phpt | 7 + ext/mysqli/tests/mysqli_field_seek.phpt | 8 +- ext/mysqli/tests/mysqli_field_tell.phpt | 2 +- .../tests/mysqli_stmt_execute_bind.phpt | 2 +- ..._stmt_get_result_metadata_fetch_field.phpt | 8 +- .../tests/mysqli_stmt_result_metadata.phpt | 2 +- ext/openssl/tests/bug38261.phpt | 2 +- .../tests/openssl_cms_decrypt_error.phpt | 4 +- .../tests/openssl_pkcs7_decrypt_error.phpt | 4 +- ext/pcre/tests/preg_grep_error1.phpt | 2 +- ext/pcre/tests/preg_match_all_error1.phpt | 2 +- ext/pcre/tests/preg_match_error1.phpt | 2 +- ext/pcre/tests/preg_match_error2.phpt | 2 +- ext/pcre/tests/preg_replace_error1.phpt | 2 +- ext/pcre/tests/preg_replace_error2.phpt | 2 +- ext/pcre/tests/preg_split_error1.phpt | 2 +- ext/pdo_mysql/tests/bug46292.phpt | 2 +- .../tests/pdo_mysql_attr_errmode.phpt | 2 +- .../tests/pdo_mysql_attr_oracle_nulls.phpt | 2 +- ext/pdo_pgsql/tests/bug75402.phpt | 4 +- ext/pgsql/tests/10pg_convert_9.phpt | 2 +- ext/pgsql/tests/12pg_insert_9.phpt | 2 +- ext/pgsql/tests/13pg_select_9.phpt | 2 +- ext/pgsql/tests/17result.phpt | 4 +- .../tests/28large_object_import_oid.phpt | 2 +- ext/pgsql/tests/80_bug24499.phpt | 4 +- ext/pgsql/tests/bug60244.phpt | 4 +- ext/phar/tests/phar_extract.phpt | 2 +- ext/phar/tests/phar_metadata_write2.phpt | 2 +- ext/phar/tests/phar_metadata_write3.phpt | 6 +- .../ReflectionClass_constructor_001.phpt | 4 +- .../ReflectionClass_getInterfaces_003.phpt | 4 +- .../tests/ReflectionClass_getName_basic.phpt | 4 +- .../ReflectionClass_getNamespaceName.phpt | 4 +- ...onClass_newInstanceWithoutConstructor.phpt | 2 +- .../ReflectionObject_constructor_basic.phpt | 2 +- .../tests/ReflectionObject_getName_basic.phpt | 2 +- .../tests/ReflectionReference_errors.phpt | 4 +- ext/reflection/tests/bug40431.phpt | 2 +- ext/reflection/tests/bug46103.phpt | 4 +- ext/reflection/tests/bug61388.phpt | 4 +- ext/reflection/tests/bug69802.phpt | 2 +- ext/reflection/tests/new_in_attributes.phpt | 8 +- ext/reflection/tests/parameters_002.phpt | 8 +- ext/session/tests/bug79031.phpt | 6 +- ext/session/tests/session_start_error.phpt | 2 +- ext/simplexml/tests/bug38406.phpt | 2 +- ext/soap/tests/any.phpt | 8 +- ext/soap/tests/bugs/bug30106.phpt | 6 +- ext/soap/tests/bugs/bug30928.phpt | 2 +- ext/soap/tests/bugs/bug38536.phpt | 4 +- ext/soap/tests/bugs/bug44882.phpt | 6 +- ext/soap/tests/bugs/bug55323.phpt | 4 +- ext/soap/tests/bugs/bug73237.phpt | 8 +- ext/soap/tests/fault_warning.phpt | 2 +- .../Round3/GroupE/r3_groupE_list_001w.phpt | 2 +- .../Round3/GroupE/r3_groupE_list_002w.phpt | 4 +- .../Round3/GroupE/r3_groupE_list_003w.phpt | 6 +- .../Round3/GroupE/r3_groupE_list_005w.phpt | 8 +- .../Round3/GroupE/r3_groupE_list_006w.phpt | 8 +- ext/soap/tests/schema/schema030.phpt | 4 +- ext/soap/tests/schema/schema031.phpt | 4 +- ext/soap/tests/schema/schema032.phpt | 4 +- ext/soap/tests/schema/schema033.phpt | 6 +- ext/soap/tests/schema/schema034.phpt | 6 +- ext/soap/tests/schema/schema035.phpt | 6 +- ext/soap/tests/schema/schema036.phpt | 6 +- ext/soap/tests/schema/schema037.phpt | 4 +- ext/soap/tests/schema/schema038.phpt | 4 +- ext/soap/tests/schema/schema039.phpt | 4 +- ext/soap/tests/schema/schema040.phpt | 4 +- ext/soap/tests/schema/schema041.phpt | 4 +- ext/soap/tests/schema/schema042.phpt | 4 +- ext/soap/tests/schema/schema043.phpt | 4 +- ext/soap/tests/schema/schema044.phpt | 4 +- ext/soap/tests/schema/schema045.phpt | 4 +- ext/soap/tests/schema/schema046.phpt | 4 +- ext/soap/tests/schema/schema047.phpt | 4 +- ext/soap/tests/schema/schema048.phpt | 4 +- ext/soap/tests/schema/schema049.phpt | 4 +- ext/soap/tests/schema/schema050.phpt | 4 +- ext/soap/tests/schema/schema051.phpt | 4 +- ext/soap/tests/schema/schema052.phpt | 4 +- ext/soap/tests/schema/schema053.phpt | 4 +- ext/soap/tests/schema/schema062.phpt | 4 +- ext/soap/tests/schema/schema064.phpt | 4 +- ext/soap/tests/schema/schema065.phpt | 4 +- ext/soap/tests/schema/schema066.phpt | 4 +- ext/soap/tests/schema/schema067.phpt | 4 +- ext/soap/tests/schema/schema069.phpt | 4 +- ext/soap/tests/schema/schema070.phpt | 4 +- ext/soap/tests/schema/schema074.phpt | 4 +- ext/soap/tests/schema/schema075.phpt | 4 +- ext/soap/tests/schema/schema076.phpt | 4 +- ext/soap/tests/schema/schema077.phpt | 4 +- ext/soap/tests/schema/schema078.phpt | 4 +- ext/soap/tests/schema/schema079.phpt | 4 +- ext/soap/tests/schema/schema080.phpt | 4 +- ext/soap/tests/schema/schema085.phpt | 4 +- ext/sodium/tests/utils.phpt | 2 +- ...rrayObject_proptable_canonicalization.phpt | 6 +- ...Object_sort_different_backing_storage.phpt | 4 +- ext/spl/tests/SplFixedArray_serialize.phpt | 4 +- ext/spl/tests/SplObjectStorage_getHash.phpt | 2 +- .../SplObjectStorage_unserialize_bad.phpt | 6 +- .../SplObjectStorage_unserialize_nested.phpt | 8 +- ext/spl/tests/SplObjectStorage_var_dump.phpt | 2 +- .../tests/arrayObject___construct_basic1.phpt | 4 +- .../tests/arrayObject___construct_basic7.phpt | 4 +- .../arrayObject_exchangeArray_basic2.phpt | 2 +- ext/spl/tests/bug44615.phpt | 2 +- ext/spl/tests/bug45826.phpt | 10 +- ext/spl/tests/bug49263.phpt | 10 +- ext/spl/tests/bug70168.phpt | 2 +- ext/spl/tests/bug74058.phpt | 10 +- ext/spl/tests/bug78436.phpt | 4 +- ext/spl/tests/bug78456.phpt | 4 +- ext/spl/tests/iterator_044.phpt | 12 +- ext/spl/tests/multiple_iterator_001.phpt | 14 +- ext/spl/tests/observer_006.phpt | 4 +- .../tests/recursive_tree_iterator_007.phpt | 2 +- .../tests/array/array_column_basic.phpt | 4 +- .../tests/array/array_walk_closure.phpt | 12 +- ext/standard/tests/array/bug39576.phpt | 2 +- ext/standard/tests/array/bug74345.phpt | 2 +- ext/standard/tests/array/count_invalid.phpt | 2 +- ext/standard/tests/array/max.phpt | 2 +- ext/standard/tests/array/min.phpt | 2 +- .../get_class_methods_variation_001.phpt | 2 +- .../get_object_vars_variation_002.phpt | 2 +- .../get_parent_class_variation_002.phpt | 2 +- .../general_functions/array_is_list.phpt | 4 +- .../gettype_settype_basic.phpt | 26 +- .../tests/general_functions/type.phpt | 30 +- ext/standard/tests/mail/mail_basic7.phpt | 4 +- ext/standard/tests/misc/bug77338.phpt | 2 +- .../tests/misc/get_browser_variation2.phpt | 2 +- .../tests/password/password_hash_error.phpt | 2 +- ext/standard/tests/serialize/002.phpt | 4 +- .../SplObjectStorage_object_reference.phpt | 4 +- .../tests/serialize/__serialize_005.phpt | 6 +- ext/standard/tests/serialize/bug55798.phpt | 4 +- ext/standard/tests/serialize/bug70513.phpt | 2 +- ext/standard/tests/serialize/bug71995.phpt | 4 +- .../serialize/serialization_objects_004.phpt | 2 +- .../serialize/serialization_objects_012.phpt | 78 +- .../serialize/serialization_objects_013.phpt | 110 +- .../serialize/serialization_objects_014.phpt | 62 +- .../serialize/serialization_objects_015.phpt | 74 +- .../serialize/serialize_globals_var_refs.phpt | 6 +- ...typed_property_ref_assignment_failure.phpt | 2 +- ext/standard/tests/strings/bug72434.phpt | 4 +- .../tests/strings/sprintf_variation54.phpt | 12 +- ext/sysvshm/tests/005.phpt | 2 +- sapi/cli/tests/005.phpt | 2 +- tests/classes/autoload_009.phpt | 4 +- tests/classes/class_stdclass.phpt | 2 +- tests/classes/tostring_004.phpt | 4 +- tests/lang/bug24499.phpt | 2 +- tests/lang/catchable_error_001.phpt | 4 +- tests/lang/catchable_error_002.phpt | 2 +- .../lang/engine_assignExecutionOrder_001.phpt | 12 +- .../lang/engine_assignExecutionOrder_007.phpt | 8 +- tests/lang/foreachLoopObjects.006.phpt | 2 +- tests/lang/operators/coalesce.phpt | 4 +- 326 files changed, 1938 insertions(+), 1924 deletions(-) diff --git a/Zend/tests/029.phpt b/Zend/tests/029.phpt index 8ef56fadee4b7..13a8e3259325c 100644 --- a/Zend/tests/029.phpt +++ b/Zend/tests/029.phpt @@ -18,34 +18,34 @@ var_dump($arr); --EXPECT-- array(1) { [0]=> - object(stdClass)#1 (1) { + object(DynamicObject)#1 (1) { ["a"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } } } array(1) { [0]=> - object(stdClass)#1 (2) { + object(DynamicObject)#1 (2) { ["a"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["b"]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } } } array(1) { [0]=> - object(stdClass)#1 (3) { + object(DynamicObject)#1 (3) { ["a"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["b"]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } ["c"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } } } diff --git a/Zend/tests/add_002.phpt b/Zend/tests/add_002.phpt index 9077ece085872..296e833a30fcb 100644 --- a/Zend/tests/add_002.phpt +++ b/Zend/tests/add_002.phpt @@ -20,9 +20,9 @@ var_dump($c); echo "Done\n"; ?> --EXPECTF-- -Exception: Unsupported operand types: array + stdClass +Exception: Unsupported operand types: array + DynamicObject -Fatal error: Uncaught TypeError: Unsupported operand types: array + stdClass in %s:%d +Fatal error: Uncaught TypeError: Unsupported operand types: array + DynamicObject in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/add_003.phpt b/Zend/tests/add_003.phpt index 6d27863e893fc..7edbe4a4befe6 100644 --- a/Zend/tests/add_003.phpt +++ b/Zend/tests/add_003.phpt @@ -20,9 +20,9 @@ var_dump($c); echo "Done\n"; ?> --EXPECTF-- -Exception: Unsupported operand types: stdClass + array +Exception: Unsupported operand types: DynamicObject + array -Fatal error: Uncaught TypeError: Unsupported operand types: stdClass + array in %s:%d +Fatal error: Uncaught TypeError: Unsupported operand types: DynamicObject + array in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/anon/016.phpt b/Zend/tests/anon/016.phpt index ca1c1d2181c37..30b4d2ffc7cbe 100644 --- a/Zend/tests/anon/016.phpt +++ b/Zend/tests/anon/016.phpt @@ -21,7 +21,7 @@ var_dump($c->foo()); --EXPECT-- array(1) { [0]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } } array(1) { diff --git a/Zend/tests/assign_coalesce_001.phpt b/Zend/tests/assign_coalesce_001.phpt index 163f72f051130..fe9e19b434336 100644 --- a/Zend/tests/assign_coalesce_001.phpt +++ b/Zend/tests/assign_coalesce_001.phpt @@ -101,7 +101,7 @@ array(2) { } Objects: -object(stdClass)#1 (2) { +object(DynamicObject)#1 (2) { ["foo"]=> int(123) ["bar"]=> @@ -110,7 +110,7 @@ object(stdClass)#1 (2) { id(foo) id(foo) id(bar) -object(stdClass)#2 (2) { +object(DynamicObject)#2 (2) { ["foo"]=> int(123) ["bar"]=> diff --git a/Zend/tests/assign_obj_ref_byval_function.phpt b/Zend/tests/assign_obj_ref_byval_function.phpt index 561ef087d2ca3..ee26e552774c2 100644 --- a/Zend/tests/assign_obj_ref_byval_function.phpt +++ b/Zend/tests/assign_obj_ref_byval_function.phpt @@ -14,7 +14,7 @@ var_dump($obj); ?> --EXPECTF-- Notice: Only variables should be assigned by reference in %s on line %d -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["prop"]=> NULL } diff --git a/Zend/tests/assign_obj_ref_return.phpt b/Zend/tests/assign_obj_ref_return.phpt index 0c21c08ec06e0..06a86aa4f98f7 100644 --- a/Zend/tests/assign_obj_ref_return.phpt +++ b/Zend/tests/assign_obj_ref_return.phpt @@ -10,7 +10,7 @@ var_dump($obj); ?> --EXPECT-- -object(stdClass)#1 (2) { +object(DynamicObject)#1 (2) { ["ref"]=> &int(42) ["val"]=> diff --git a/Zend/tests/bug29015.phpt b/Zend/tests/bug29015.phpt index b13dc740600be..a160f7b7817c2 100644 --- a/Zend/tests/bug29015.phpt +++ b/Zend/tests/bug29015.phpt @@ -10,7 +10,7 @@ $a->{"\0"} = 42; var_dump($a); ?> --EXPECTF-- -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { [""]=> string(10) "string('')" } diff --git a/Zend/tests/bug30080.phpt b/Zend/tests/bug30080.phpt index d1d6302e85fcf..bb6d6e775890b 100644 --- a/Zend/tests/bug30080.phpt +++ b/Zend/tests/bug30080.phpt @@ -10,9 +10,9 @@ class foo { new foo(array(new stdClass)); ?> ---EXPECTF-- +--EXPECT-- array(1) { [0]=> - object(stdClass)#%d (0) { + object(DynamicObject)#2 (0) { } } diff --git a/Zend/tests/bug35163_3.phpt b/Zend/tests/bug35163_3.phpt index 6c6a57f2541cd..9a9cd80447589 100644 --- a/Zend/tests/bug35163_3.phpt +++ b/Zend/tests/bug35163_3.phpt @@ -11,8 +11,8 @@ var_dump($a); $a->b = null; $a = null; ?> ---EXPECTF-- -object(stdClass)#%d (1) { +--EXPECT-- +object(DynamicObject)#1 (1) { ["b"]=> &array(3) { [0]=> diff --git a/Zend/tests/bug35239.phpt b/Zend/tests/bug35239.phpt index 8a2ed501b636e..1f2aaad99a9de 100644 --- a/Zend/tests/bug35239.phpt +++ b/Zend/tests/bug35239.phpt @@ -12,10 +12,10 @@ var_dump($a); $a->x0->y1 = "ok\n"; echo $a->x0; ?> ---EXPECTF-- -object(stdClass)#%d (1) { +--EXPECT-- +object(DynamicObject)#1 (1) { ["x0"]=> - &object(stdClass)#%d (3) { + &object(DynamicObject)#2 (3) { ["y0"]=> string(1) "b" ["y1"]=> diff --git a/Zend/tests/bug37811.phpt b/Zend/tests/bug37811.phpt index b066ecd7abb98..f47caf1a2175c 100644 --- a/Zend/tests/bug37811.phpt +++ b/Zend/tests/bug37811.phpt @@ -28,6 +28,6 @@ try { object(TestClass)#1 (0) { } string(3) "Foo" -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string diff --git a/Zend/tests/bug43332_1.phpt b/Zend/tests/bug43332_1.phpt index 35d817c985ee9..fe03fa8a98727 100644 --- a/Zend/tests/bug43332_1.phpt +++ b/Zend/tests/bug43332_1.phpt @@ -13,8 +13,8 @@ $foo->bar($foo); // Ok! $foo->bar(new \stdclass); // Error, ok! ?> --EXPECTF-- -Fatal error: Uncaught TypeError: foobar\foo::bar(): Argument #1 ($a) must be of type foobar\foo, stdClass given, called in %s:%d +Fatal error: Uncaught TypeError: foobar\foo::bar(): Argument #1 ($a) must be of type foobar\foo, DynamicObject given, called in %s:%d Stack trace: -#0 %s(%d): foobar\foo->bar(Object(stdClass)) +#0 %s(%d): foobar\foo->bar(Object(DynamicObject)) #1 {main} thrown in %sbug43332_1.php on line 5 diff --git a/Zend/tests/bug52614.phpt b/Zend/tests/bug52614.phpt index 8c2bc0dc9e0ef..d192c8178a814 100644 --- a/Zend/tests/bug52614.phpt +++ b/Zend/tests/bug52614.phpt @@ -78,7 +78,7 @@ array(0) { } Attempt to assign property "a" on null NULL -object(stdClass)#3 (1) { +object(DynamicObject)#3 (1) { ["a"]=> int(1) } diff --git a/Zend/tests/bug68118.phpt b/Zend/tests/bug68118.phpt index a485b11dbf22b..5903835b5a2fa 100644 --- a/Zend/tests/bug68118.phpt +++ b/Zend/tests/bug68118.phpt @@ -15,7 +15,7 @@ var_dump($a); ?> --EXPECT-- -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["undefined"]=> string(4) "test" } diff --git a/Zend/tests/bug69446.phpt b/Zend/tests/bug69446.phpt index a82ecb4472084..c4361fd8a42a4 100644 --- a/Zend/tests/bug69446.phpt +++ b/Zend/tests/bug69446.phpt @@ -25,9 +25,9 @@ var_dump($bar); --EXPECT-- object(bad)#2 (2) { ["x"]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } ["y"]=> - object(stdClass)#4 (0) { + object(DynamicObject)#4 (0) { } } diff --git a/Zend/tests/bug70121.phpt b/Zend/tests/bug70121.phpt index 5b4aaa3a7679b..cfc6777684657 100644 --- a/Zend/tests/bug70121.phpt +++ b/Zend/tests/bug70121.phpt @@ -6,7 +6,7 @@ unserialize('O:12:"DateInterval":1:{s:4:"days";O:9:"Exception":7:{s:10:"'."\0".' ?> OK --EXPECTF-- -Fatal error: Uncaught TypeError: Cannot assign stdClass to property Exception::$previous of type ?Throwable in %s:%d +Fatal error: Uncaught TypeError: Cannot assign DynamicObject to property Exception::$previous of type ?Throwable in %s:%d Stack trace: #0 %s(%d): unserialize('O:12:"DateInter...') #1 {main} diff --git a/Zend/tests/bug70288.phpt b/Zend/tests/bug70288.phpt index 502bfc7bf0061..c3e6377e8ac7c 100644 --- a/Zend/tests/bug70288.phpt +++ b/Zend/tests/bug70288.phpt @@ -14,6 +14,6 @@ function test(&$obj) { $a = new A; test($a->dummy); ?> ---EXPECTF-- -object(stdClass)#%d (0) { +--EXPECT-- +object(DynamicObject)#2 (0) { } diff --git a/Zend/tests/bug70332.phpt b/Zend/tests/bug70332.phpt index f078a65a2f22a..8640059a304a7 100644 --- a/Zend/tests/bug70332.phpt +++ b/Zend/tests/bug70332.phpt @@ -14,7 +14,7 @@ test($arg)->name[1] = "xxxx"; print_r($arg); ?> --EXPECT-- -stdClass Object +DynamicObject Object ( [name] => Array ( diff --git a/Zend/tests/bug71067.phpt b/Zend/tests/bug71067.phpt index 9528f1fec91d7..10b31d73dae04 100644 --- a/Zend/tests/bug71067.phpt +++ b/Zend/tests/bug71067.phpt @@ -20,7 +20,7 @@ $o->test(); print_r($o->test()); ?> --EXPECT-- -stdClass Object +DynamicObject Object ( [children] => Array ( diff --git a/Zend/tests/bug71539_1.phpt b/Zend/tests/bug71539_1.phpt index 935c9155a4956..3125105547126 100644 --- a/Zend/tests/bug71539_1.phpt +++ b/Zend/tests/bug71539_1.phpt @@ -8,7 +8,7 @@ $x->h = 42; var_dump($x); ?> --EXPECT-- -object(stdClass)#1 (9) { +object(DynamicObject)#1 (9) { ["a"]=> int(1) ["b"]=> diff --git a/Zend/tests/bug72162.phpt b/Zend/tests/bug72162.phpt index 721b0fc306804..2b321f37fc5e8 100644 --- a/Zend/tests/bug72162.phpt +++ b/Zend/tests/bug72162.phpt @@ -12,4 +12,4 @@ try { } ?> --EXPECT-- -error_reporting(): Argument #1 ($error_level) must be of type ?int, stdClass given +error_reporting(): Argument #1 ($error_level) must be of type ?int, DynamicObject given diff --git a/Zend/tests/bug73900.phpt b/Zend/tests/bug73900.phpt index fbd5b8604af43..9ff50dd7f948b 100644 --- a/Zend/tests/bug73900.phpt +++ b/Zend/tests/bug73900.phpt @@ -11,5 +11,5 @@ var_dump($c); ?> --EXPECT-- -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } diff --git a/Zend/tests/bug78379.phpt b/Zend/tests/bug78379.phpt index 0f8d216bd31ea..81bebf0beee39 100644 --- a/Zend/tests/bug78379.phpt +++ b/Zend/tests/bug78379.phpt @@ -20,7 +20,7 @@ var_dump(new C); --EXPECTF-- object(C)#%d (1) { ["p"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#2 (1) { ["x"]=> array(1) { [0]=> diff --git a/Zend/tests/bug78644.phpt b/Zend/tests/bug78644.phpt index 3889e9fb05cdf..eff9448c18cce 100644 --- a/Zend/tests/bug78644.phpt +++ b/Zend/tests/bug78644.phpt @@ -10,7 +10,7 @@ var_dump($a); ?> --EXPECT-- -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["b"]=> NULL } diff --git a/Zend/tests/bug78999.phpt b/Zend/tests/bug78999.phpt index bf7291a3224ff..a826744de9bd6 100644 --- a/Zend/tests/bug78999.phpt +++ b/Zend/tests/bug78999.phpt @@ -11,7 +11,7 @@ var_dump(get()); var_dump(gc_collect_cycles()); ?> --EXPECT-- -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["prop"]=> *RECURSION* } diff --git a/Zend/tests/bug79155.phpt b/Zend/tests/bug79155.phpt index d3b31436bda07..6011d8b395e56 100644 --- a/Zend/tests/bug79155.phpt +++ b/Zend/tests/bug79155.phpt @@ -26,9 +26,9 @@ var_dump($t->a, $t->b, $t->c, $t->d); --EXPECT-- string(3) "str" string(3) "str" -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } -object(stdClass)#3 (0) { +object(DynamicObject)#3 (0) { } NULL NULL diff --git a/Zend/tests/bug79818.phpt b/Zend/tests/bug79818.phpt index 721e677b2e439..90f575aa96f8c 100644 --- a/Zend/tests/bug79818.phpt +++ b/Zend/tests/bug79818.phpt @@ -10,6 +10,6 @@ test(new stdClass); --EXPECTF-- Fatal error: Uncaught Error: Undefined constant "UNDEFINED" in %s:%d Stack trace: -#0 %s(%d): test(Object(stdClass)) +#0 %s(%d): test(Object(DynamicObject)) #1 {main} thrown in %s on line %d diff --git a/Zend/tests/bug80072.phpt b/Zend/tests/bug80072.phpt index d7bf1956cf609..b1d8df05fc271 100644 --- a/Zend/tests/bug80072.phpt +++ b/Zend/tests/bug80072.phpt @@ -14,4 +14,4 @@ $a[]=&$a == $a=&$b > gc_collect_cycles(); ?> --EXPECT-- -Unsupported operand types: stdClass % int +Unsupported operand types: DynamicObject % int diff --git a/Zend/tests/bug80194.phpt b/Zend/tests/bug80194.phpt index 9a5cdcd718c21..331a32c58942d 100644 --- a/Zend/tests/bug80194.phpt +++ b/Zend/tests/bug80194.phpt @@ -18,5 +18,5 @@ var_dump(test($x)); ?> --EXPECT-- -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } diff --git a/Zend/tests/bug81159.phpt b/Zend/tests/bug81159.phpt index d16deafbf5b93..3e08126a38c9f 100644 --- a/Zend/tests/bug81159.phpt +++ b/Zend/tests/bug81159.phpt @@ -17,5 +17,5 @@ try { } ?> --EXPECT-- -Cannot access offset of type stdClass on string -Cannot access offset of type stdClass on string +Cannot access offset of type DynamicObject on string +Cannot access offset of type DynamicObject on string diff --git a/Zend/tests/cast_to_object.phpt b/Zend/tests/cast_to_object.phpt index 6c3226d753808..fd99caf835e19 100644 --- a/Zend/tests/cast_to_object.phpt +++ b/Zend/tests/cast_to_object.phpt @@ -37,33 +37,33 @@ foreach ($vars as $var) { echo "Done\n"; ?> --EXPECTF-- -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> string(6) "string" } -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> string(7) "8754456" } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> string(0) "" } -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> string(1) "%0" } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> int(9876545) } -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> float(0.1) } -object(stdClass)#%d (0) { +object(DynamicObject)#2 (0) { } -object(stdClass)#%d (3) { +object(DynamicObject)#3 (3) { ["0"]=> int(1) ["1"]=> @@ -71,17 +71,17 @@ object(stdClass)#%d (3) { ["2"]=> int(3) } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> bool(false) } -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> bool(true) } -object(stdClass)#%d (0) { +object(DynamicObject)#2 (0) { } -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> resource(%d) of type (stream) } diff --git a/Zend/tests/class_on_object.phpt b/Zend/tests/class_on_object.phpt index c316eff3e467d..f6757d19f52cd 100644 --- a/Zend/tests/class_on_object.phpt +++ b/Zend/tests/class_on_object.phpt @@ -22,7 +22,7 @@ try { ?> --EXPECT-- -string(8) "stdClass" -string(8) "stdClass" -string(8) "stdClass" +string(13) "DynamicObject" +string(13) "DynamicObject" +string(13) "DynamicObject" Cannot use "::class" on value of type null diff --git a/Zend/tests/closure_027.phpt b/Zend/tests/closure_027.phpt index 7ecfa55e0f14c..161455da96955 100644 --- a/Zend/tests/closure_027.phpt +++ b/Zend/tests/closure_027.phpt @@ -23,15 +23,15 @@ test(new stdclass); ?> --EXPECTF-- -object(stdClass)#%d (0) { +object(DynamicObject)#2 (0) { } NULL Warning: Undefined variable $y in %s on line %d Exception: Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected -Fatal error: Uncaught TypeError: test(): Argument #1 ($a) must be of type Closure, stdClass given, called in %s:%d +Fatal error: Uncaught TypeError: test(): Argument #1 ($a) must be of type Closure, DynamicObject given, called in %s:%d Stack trace: -#0 %s(%d): test(Object(stdClass)) +#0 %s(%d): test(Object(DynamicObject)) #1 {main} thrown in %s on line %d diff --git a/Zend/tests/closure_042.phpt b/Zend/tests/closure_042.phpt index dc849a528211b..94595a4dda066 100644 --- a/Zend/tests/closure_042.phpt +++ b/Zend/tests/closure_042.phpt @@ -17,11 +17,11 @@ var_dump($rm->getClosureScopeClass()->name); //dummy sope is Closure echo "Done.\n"; ?> ---EXPECTF-- -object(stdClass)#%d (0) { +--EXPECT-- +object(DynamicObject)#2 (0) { } string(7) "Closure" -object(stdClass)#%d (0) { +object(DynamicObject)#5 (0) { } string(7) "Closure" Done. diff --git a/Zend/tests/closure_061.phpt b/Zend/tests/closure_061.phpt index 240f22e036ef7..c82d1585aa27e 100644 --- a/Zend/tests/closure_061.phpt +++ b/Zend/tests/closure_061.phpt @@ -124,9 +124,9 @@ bindTo(null, Cls::class): Cannot rebind scope of closure created from function bindTo(null, stdClass::class): -Cannot bind closure to scope of internal class stdClass +Cannot bind closure to scope of internal class DynamicObject -bindTo(new stdClass, null): +bindTo(new DynamicObject, null): Success! strlen() @@ -145,9 +145,9 @@ bindTo(null, Cls::class): Cannot rebind scope of closure created from function bindTo(null, stdClass::class): -Cannot bind closure to scope of internal class stdClass +Cannot bind closure to scope of internal class DynamicObject -bindTo(new stdClass, null): +bindTo(new DynamicObject, null): Success! Cls::staticMethod() @@ -235,7 +235,7 @@ bindTo(null, Cls::class): Success! bindTo(null, stdClass::class): -Cannot bind closure to scope of internal class stdClass +Cannot bind closure to scope of internal class DynamicObject -bindTo(new stdClass, null): +bindTo(new DynamicObject, null): Success! diff --git a/Zend/tests/closure_call.phpt b/Zend/tests/closure_call.phpt index f665c67ff691f..57a65d07634fa 100644 --- a/Zend/tests/closure_call.phpt +++ b/Zend/tests/closure_call.phpt @@ -61,7 +61,7 @@ int(0) int(0) int(3) -Warning: Cannot bind closure to scope of internal class stdClass in %s line %d +Warning: Cannot bind closure to scope of internal class DynamicObject in %s on line %d NULL int(21) int(3) diff --git a/Zend/tests/compare_001_64bit.phpt b/Zend/tests/compare_001_64bit.phpt index abccceb8de763..a46c015590a6b 100644 --- a/Zend/tests/compare_001_64bit.phpt +++ b/Zend/tests/compare_001_64bit.phpt @@ -60,8 +60,8 @@ array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(3) "2.5" array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != NULL array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} == bool(true) array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != bool(false) -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(stdClass)#%d (0) {} -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(DynamicObject)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(DynamicObject)#2 (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(test)#%d (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != array(0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(-9223372036854775808) @@ -77,8 +77,8 @@ string(0) "" != string(3) "2.5" string(0) "" == NULL string(0) "" != bool(true) string(0) "" == bool(false) -string(0) "" != object(stdClass)#%d (0) {} -string(0) "" != object(stdClass)#%d (0) {} +string(0) "" != object(DynamicObject)#1 (0) {} +string(0) "" != object(DynamicObject)#2 (0) {} string(0) "" != object(test)#%d (0) {} string(0) "" != array(0) {} string(0) "" != int(-9223372036854775808) @@ -95,11 +95,11 @@ int(1) != NULL int(1) == bool(true) int(1) != bool(false) int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - == object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + == object(DynamicObject)#1 (0) {} int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - == object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + == object(DynamicObject)#2 (0) {} int(1) Notice: Object of class test could not be converted to int in %s on line %d == object(test)#%d (0) {} @@ -118,11 +118,11 @@ float(2.5) != NULL float(2.5) == bool(true) float(2.5) != bool(false) float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - != object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + != object(DynamicObject)#1 (0) {} float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - != object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + != object(DynamicObject)#2 (0) {} float(2.5) Notice: Object of class test could not be converted to float in %s on line %d != object(test)#%d (0) {} @@ -141,11 +141,11 @@ int(0) == NULL int(0) != bool(true) int(0) == bool(false) int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - != object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + != object(DynamicObject)#1 (0) {} int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - != object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + != object(DynamicObject)#2 (0) {} int(0) Notice: Object of class test could not be converted to int in %s on line %d != object(test)#%d (0) {} @@ -163,8 +163,8 @@ string(6) "string" != string(3) "2.5" string(6) "string" != NULL string(6) "string" == bool(true) string(6) "string" != bool(false) -string(6) "string" != object(stdClass)#%d (0) {} -string(6) "string" != object(stdClass)#%d (0) {} +string(6) "string" != object(DynamicObject)#1 (0) {} +string(6) "string" != object(DynamicObject)#2 (0) {} string(6) "string" != object(test)#%d (0) {} string(6) "string" != array(0) {} string(6) "string" != int(-9223372036854775808) @@ -180,8 +180,8 @@ string(3) "123" != string(3) "2.5" string(3) "123" != NULL string(3) "123" == bool(true) string(3) "123" != bool(false) -string(3) "123" != object(stdClass)#%d (0) {} -string(3) "123" != object(stdClass)#%d (0) {} +string(3) "123" != object(DynamicObject)#1 (0) {} +string(3) "123" != object(DynamicObject)#2 (0) {} string(3) "123" != object(test)#%d (0) {} string(3) "123" != array(0) {} string(3) "123" != int(-9223372036854775808) @@ -197,8 +197,8 @@ string(3) "2.5" == string(3) "2.5" string(3) "2.5" != NULL string(3) "2.5" == bool(true) string(3) "2.5" != bool(false) -string(3) "2.5" != object(stdClass)#%d (0) {} -string(3) "2.5" != object(stdClass)#%d (0) {} +string(3) "2.5" != object(DynamicObject)#1 (0) {} +string(3) "2.5" != object(DynamicObject)#2 (0) {} string(3) "2.5" != object(test)#%d (0) {} string(3) "2.5" != array(0) {} string(3) "2.5" != int(-9223372036854775808) @@ -214,8 +214,8 @@ NULL != string(3) "2.5" NULL == NULL NULL != bool(true) NULL == bool(false) -NULL != object(stdClass)#%d (0) {} -NULL != object(stdClass)#%d (0) {} +NULL != object(DynamicObject)#1 (0) {} +NULL != object(DynamicObject)#2 (0) {} NULL != object(test)#%d (0) {} NULL == array(0) {} NULL != int(-9223372036854775808) @@ -231,8 +231,8 @@ bool(true) == string(3) "2.5" bool(true) != NULL bool(true) == bool(true) bool(true) != bool(false) -bool(true) == object(stdClass)#%d (0) {} -bool(true) == object(stdClass)#%d (0) {} +bool(true) == object(DynamicObject)#1 (0) {} +bool(true) == object(DynamicObject)#2 (0) {} bool(true) == object(test)#%d (0) {} bool(true) != array(0) {} bool(true) == int(-9223372036854775808) @@ -248,62 +248,62 @@ bool(false) != string(3) "2.5" bool(false) == NULL bool(false) != bool(true) bool(false) == bool(false) -bool(false) != object(stdClass)#%d (0) {} -bool(false) != object(stdClass)#%d (0) {} +bool(false) != object(DynamicObject)#1 (0) {} +bool(false) != object(DynamicObject)#2 (0) {} bool(false) != object(test)#%d (0) {} bool(false) == array(0) {} bool(false) != int(-9223372036854775808) bool(false) != string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} != string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#1 (0) {} != string(0) "" +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d == int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d != float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d != int(0) -object(stdClass)#%d (0) {} != string(6) "string" -object(stdClass)#%d (0) {} != string(3) "123" -object(stdClass)#%d (0) {} != string(3) "2.5" -object(stdClass)#%d (0) {} != NULL -object(stdClass)#%d (0) {} == bool(true) -object(stdClass)#%d (0) {} != bool(false) -object(stdClass)#%d (0) {} == object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} == object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} != object(test)#%d (0) {} -object(stdClass)#%d (0) {} != array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} != string(6) "string" +object(DynamicObject)#1 (0) {} != string(3) "123" +object(DynamicObject)#1 (0) {} != string(3) "2.5" +object(DynamicObject)#1 (0) {} != NULL +object(DynamicObject)#1 (0) {} == bool(true) +object(DynamicObject)#1 (0) {} != bool(false) +object(DynamicObject)#1 (0) {} == object(DynamicObject)#1 (0) {} +object(DynamicObject)#1 (0) {} == object(DynamicObject)#2 (0) {} +object(DynamicObject)#1 (0) {} != object(test)#3 (0) {} +object(DynamicObject)#1 (0) {} != array(0) {} +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d != int(-9223372036854775808) -object(stdClass)#%d (0) {} != string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} != string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} != string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#2 (0) {} != string(0) "" +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d == int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d != float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d != int(0) -object(stdClass)#%d (0) {} != string(6) "string" -object(stdClass)#%d (0) {} != string(3) "123" -object(stdClass)#%d (0) {} != string(3) "2.5" -object(stdClass)#%d (0) {} != NULL -object(stdClass)#%d (0) {} == bool(true) -object(stdClass)#%d (0) {} != bool(false) -object(stdClass)#%d (0) {} == object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} == object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} != object(test)#%d (0) {} -object(stdClass)#%d (0) {} != array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} != string(6) "string" +object(DynamicObject)#2 (0) {} != string(3) "123" +object(DynamicObject)#2 (0) {} != string(3) "2.5" +object(DynamicObject)#2 (0) {} != NULL +object(DynamicObject)#2 (0) {} == bool(true) +object(DynamicObject)#2 (0) {} != bool(false) +object(DynamicObject)#2 (0) {} == object(DynamicObject)#1 (0) {} +object(DynamicObject)#2 (0) {} == object(DynamicObject)#2 (0) {} +object(DynamicObject)#2 (0) {} != object(test)#3 (0) {} +object(DynamicObject)#2 (0) {} != array(0) {} +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d != int(-9223372036854775808) -object(stdClass)#%d (0) {} != string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} != string(20) "-9223372036854775808" object(test)#%d (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} object(test)#%d (0) {} != string(0) "" object(test)#%d (0) {} @@ -321,8 +321,8 @@ object(test)#%d (0) {} != string(3) "2.5" object(test)#%d (0) {} != NULL object(test)#%d (0) {} == bool(true) object(test)#%d (0) {} != bool(false) -object(test)#%d (0) {} != object(stdClass)#%d (0) {} -object(test)#%d (0) {} != object(stdClass)#%d (0) {} +object(test)#3 (0) {} != object(DynamicObject)#1 (0) {} +object(test)#3 (0) {} != object(DynamicObject)#2 (0) {} object(test)#%d (0) {} == object(test)#%d (0) {} object(test)#%d (0) {} != array(0) {} object(test)#%d (0) {} @@ -340,8 +340,8 @@ array(0) {} != string(3) "2.5" array(0) {} == NULL array(0) {} != bool(true) array(0) {} == bool(false) -array(0) {} != object(stdClass)#%d (0) {} -array(0) {} != object(stdClass)#%d (0) {} +array(0) {} != object(DynamicObject)#1 (0) {} +array(0) {} != object(DynamicObject)#2 (0) {} array(0) {} != object(test)#%d (0) {} array(0) {} == array(0) {} array(0) {} != int(-9223372036854775808) @@ -358,11 +358,11 @@ int(-9223372036854775808) != NULL int(-9223372036854775808) == bool(true) int(-9223372036854775808) != bool(false) int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - != object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + != object(DynamicObject)#1 (0) {} int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - != object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + != object(DynamicObject)#2 (0) {} int(-9223372036854775808) Notice: Object of class test could not be converted to int in %s on line %d != object(test)#%d (0) {} @@ -380,8 +380,8 @@ string(20) "-9223372036854775808" != string(3) "2.5" string(20) "-9223372036854775808" != NULL string(20) "-9223372036854775808" == bool(true) string(20) "-9223372036854775808" != bool(false) -string(20) "-9223372036854775808" != object(stdClass)#%d (0) {} -string(20) "-9223372036854775808" != object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" != object(DynamicObject)#1 (0) {} +string(20) "-9223372036854775808" != object(DynamicObject)#2 (0) {} string(20) "-9223372036854775808" != object(test)#%d (0) {} string(20) "-9223372036854775808" != array(0) {} string(20) "-9223372036854775808" == int(-9223372036854775808) diff --git a/Zend/tests/compare_002_64bit.phpt b/Zend/tests/compare_002_64bit.phpt index b0418cca11034..292629856aec9 100644 --- a/Zend/tests/compare_002_64bit.phpt +++ b/Zend/tests/compare_002_64bit.phpt @@ -60,8 +60,8 @@ array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== string(3) "2.5" array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== NULL array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== bool(true) array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== bool(false) -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(stdClass)#%d (0) {} -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(DynamicObject)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(DynamicObject)#2 (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(test)#%d (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== array(0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== int(-9223372036854775808) @@ -77,8 +77,8 @@ string(0) "" !== string(3) "2.5" string(0) "" !== NULL string(0) "" !== bool(true) string(0) "" !== bool(false) -string(0) "" !== object(stdClass)#%d (0) {} -string(0) "" !== object(stdClass)#%d (0) {} +string(0) "" !== object(DynamicObject)#1 (0) {} +string(0) "" !== object(DynamicObject)#2 (0) {} string(0) "" !== object(test)#%d (0) {} string(0) "" !== array(0) {} string(0) "" !== int(-9223372036854775808) @@ -94,8 +94,8 @@ int(1) !== string(3) "2.5" int(1) !== NULL int(1) !== bool(true) int(1) !== bool(false) -int(1) !== object(stdClass)#%d (0) {} -int(1) !== object(stdClass)#%d (0) {} +int(1) !== object(DynamicObject)#1 (0) {} +int(1) !== object(DynamicObject)#2 (0) {} int(1) !== object(test)#%d (0) {} int(1) !== array(0) {} int(1) !== int(-9223372036854775808) @@ -111,8 +111,8 @@ float(2.5) !== string(3) "2.5" float(2.5) !== NULL float(2.5) !== bool(true) float(2.5) !== bool(false) -float(2.5) !== object(stdClass)#%d (0) {} -float(2.5) !== object(stdClass)#%d (0) {} +float(2.5) !== object(DynamicObject)#1 (0) {} +float(2.5) !== object(DynamicObject)#2 (0) {} float(2.5) !== object(test)#%d (0) {} float(2.5) !== array(0) {} float(2.5) !== int(-9223372036854775808) @@ -128,8 +128,8 @@ int(0) !== string(3) "2.5" int(0) !== NULL int(0) !== bool(true) int(0) !== bool(false) -int(0) !== object(stdClass)#%d (0) {} -int(0) !== object(stdClass)#%d (0) {} +int(0) !== object(DynamicObject)#1 (0) {} +int(0) !== object(DynamicObject)#2 (0) {} int(0) !== object(test)#%d (0) {} int(0) !== array(0) {} int(0) !== int(-9223372036854775808) @@ -145,8 +145,8 @@ string(6) "string" !== string(3) "2.5" string(6) "string" !== NULL string(6) "string" !== bool(true) string(6) "string" !== bool(false) -string(6) "string" !== object(stdClass)#%d (0) {} -string(6) "string" !== object(stdClass)#%d (0) {} +string(6) "string" !== object(DynamicObject)#1 (0) {} +string(6) "string" !== object(DynamicObject)#2 (0) {} string(6) "string" !== object(test)#%d (0) {} string(6) "string" !== array(0) {} string(6) "string" !== int(-9223372036854775808) @@ -162,8 +162,8 @@ string(3) "123" !== string(3) "2.5" string(3) "123" !== NULL string(3) "123" !== bool(true) string(3) "123" !== bool(false) -string(3) "123" !== object(stdClass)#%d (0) {} -string(3) "123" !== object(stdClass)#%d (0) {} +string(3) "123" !== object(DynamicObject)#1 (0) {} +string(3) "123" !== object(DynamicObject)#2 (0) {} string(3) "123" !== object(test)#%d (0) {} string(3) "123" !== array(0) {} string(3) "123" !== int(-9223372036854775808) @@ -179,8 +179,8 @@ string(3) "2.5" === string(3) "2.5" string(3) "2.5" !== NULL string(3) "2.5" !== bool(true) string(3) "2.5" !== bool(false) -string(3) "2.5" !== object(stdClass)#%d (0) {} -string(3) "2.5" !== object(stdClass)#%d (0) {} +string(3) "2.5" !== object(DynamicObject)#1 (0) {} +string(3) "2.5" !== object(DynamicObject)#2 (0) {} string(3) "2.5" !== object(test)#%d (0) {} string(3) "2.5" !== array(0) {} string(3) "2.5" !== int(-9223372036854775808) @@ -196,8 +196,8 @@ NULL !== string(3) "2.5" NULL === NULL NULL !== bool(true) NULL !== bool(false) -NULL !== object(stdClass)#%d (0) {} -NULL !== object(stdClass)#%d (0) {} +NULL !== object(DynamicObject)#1 (0) {} +NULL !== object(DynamicObject)#2 (0) {} NULL !== object(test)#%d (0) {} NULL !== array(0) {} NULL !== int(-9223372036854775808) @@ -213,8 +213,8 @@ bool(true) !== string(3) "2.5" bool(true) !== NULL bool(true) === bool(true) bool(true) !== bool(false) -bool(true) !== object(stdClass)#%d (0) {} -bool(true) !== object(stdClass)#%d (0) {} +bool(true) !== object(DynamicObject)#1 (0) {} +bool(true) !== object(DynamicObject)#2 (0) {} bool(true) !== object(test)#%d (0) {} bool(true) !== array(0) {} bool(true) !== int(-9223372036854775808) @@ -230,46 +230,46 @@ bool(false) !== string(3) "2.5" bool(false) !== NULL bool(false) !== bool(true) bool(false) === bool(false) -bool(false) !== object(stdClass)#%d (0) {} -bool(false) !== object(stdClass)#%d (0) {} +bool(false) !== object(DynamicObject)#1 (0) {} +bool(false) !== object(DynamicObject)#2 (0) {} bool(false) !== object(test)#%d (0) {} bool(false) !== array(0) {} bool(false) !== int(-9223372036854775808) bool(false) !== string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} !== string(0) "" -object(stdClass)#%d (0) {} !== int(1) -object(stdClass)#%d (0) {} !== float(2.5) -object(stdClass)#%d (0) {} !== int(0) -object(stdClass)#%d (0) {} !== string(6) "string" -object(stdClass)#%d (0) {} !== string(3) "123" -object(stdClass)#%d (0) {} !== string(3) "2.5" -object(stdClass)#%d (0) {} !== NULL -object(stdClass)#%d (0) {} !== bool(true) -object(stdClass)#%d (0) {} !== bool(false) -object(stdClass)#%d (0) {} === object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} !== object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} !== object(test)#%d (0) {} -object(stdClass)#%d (0) {} !== array(0) {} -object(stdClass)#%d (0) {} !== int(-9223372036854775808) -object(stdClass)#%d (0) {} !== string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} !== string(0) "" -object(stdClass)#%d (0) {} !== int(1) -object(stdClass)#%d (0) {} !== float(2.5) -object(stdClass)#%d (0) {} !== int(0) -object(stdClass)#%d (0) {} !== string(6) "string" -object(stdClass)#%d (0) {} !== string(3) "123" -object(stdClass)#%d (0) {} !== string(3) "2.5" -object(stdClass)#%d (0) {} !== NULL -object(stdClass)#%d (0) {} !== bool(true) -object(stdClass)#%d (0) {} !== bool(false) -object(stdClass)#%d (0) {} !== object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} === object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} !== object(test)#%d (0) {} -object(stdClass)#%d (0) {} !== array(0) {} -object(stdClass)#%d (0) {} !== int(-9223372036854775808) -object(stdClass)#%d (0) {} !== string(20) "-9223372036854775808" +object(DynamicObject)#1 (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#1 (0) {} !== string(0) "" +object(DynamicObject)#1 (0) {} !== int(1) +object(DynamicObject)#1 (0) {} !== float(2.5) +object(DynamicObject)#1 (0) {} !== int(0) +object(DynamicObject)#1 (0) {} !== string(6) "string" +object(DynamicObject)#1 (0) {} !== string(3) "123" +object(DynamicObject)#1 (0) {} !== string(3) "2.5" +object(DynamicObject)#1 (0) {} !== NULL +object(DynamicObject)#1 (0) {} !== bool(true) +object(DynamicObject)#1 (0) {} !== bool(false) +object(DynamicObject)#1 (0) {} === object(DynamicObject)#1 (0) {} +object(DynamicObject)#1 (0) {} !== object(DynamicObject)#2 (0) {} +object(DynamicObject)#1 (0) {} !== object(test)#3 (0) {} +object(DynamicObject)#1 (0) {} !== array(0) {} +object(DynamicObject)#1 (0) {} !== int(-9223372036854775808) +object(DynamicObject)#1 (0) {} !== string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#2 (0) {} !== string(0) "" +object(DynamicObject)#2 (0) {} !== int(1) +object(DynamicObject)#2 (0) {} !== float(2.5) +object(DynamicObject)#2 (0) {} !== int(0) +object(DynamicObject)#2 (0) {} !== string(6) "string" +object(DynamicObject)#2 (0) {} !== string(3) "123" +object(DynamicObject)#2 (0) {} !== string(3) "2.5" +object(DynamicObject)#2 (0) {} !== NULL +object(DynamicObject)#2 (0) {} !== bool(true) +object(DynamicObject)#2 (0) {} !== bool(false) +object(DynamicObject)#2 (0) {} !== object(DynamicObject)#1 (0) {} +object(DynamicObject)#2 (0) {} === object(DynamicObject)#2 (0) {} +object(DynamicObject)#2 (0) {} !== object(test)#3 (0) {} +object(DynamicObject)#2 (0) {} !== array(0) {} +object(DynamicObject)#2 (0) {} !== int(-9223372036854775808) +object(DynamicObject)#2 (0) {} !== string(20) "-9223372036854775808" object(test)#%d (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} object(test)#%d (0) {} !== string(0) "" object(test)#%d (0) {} !== int(1) @@ -281,8 +281,8 @@ object(test)#%d (0) {} !== string(3) "2.5" object(test)#%d (0) {} !== NULL object(test)#%d (0) {} !== bool(true) object(test)#%d (0) {} !== bool(false) -object(test)#%d (0) {} !== object(stdClass)#%d (0) {} -object(test)#%d (0) {} !== object(stdClass)#%d (0) {} +object(test)#3 (0) {} !== object(DynamicObject)#1 (0) {} +object(test)#3 (0) {} !== object(DynamicObject)#2 (0) {} object(test)#%d (0) {} === object(test)#%d (0) {} object(test)#%d (0) {} !== array(0) {} object(test)#%d (0) {} !== int(-9223372036854775808) @@ -298,8 +298,8 @@ array(0) {} !== string(3) "2.5" array(0) {} !== NULL array(0) {} !== bool(true) array(0) {} !== bool(false) -array(0) {} !== object(stdClass)#%d (0) {} -array(0) {} !== object(stdClass)#%d (0) {} +array(0) {} !== object(DynamicObject)#1 (0) {} +array(0) {} !== object(DynamicObject)#2 (0) {} array(0) {} !== object(test)#%d (0) {} array(0) {} === array(0) {} array(0) {} !== int(-9223372036854775808) @@ -315,8 +315,8 @@ int(-9223372036854775808) !== string(3) "2.5" int(-9223372036854775808) !== NULL int(-9223372036854775808) !== bool(true) int(-9223372036854775808) !== bool(false) -int(-9223372036854775808) !== object(stdClass)#%d (0) {} -int(-9223372036854775808) !== object(stdClass)#%d (0) {} +int(-9223372036854775808) !== object(DynamicObject)#1 (0) {} +int(-9223372036854775808) !== object(DynamicObject)#2 (0) {} int(-9223372036854775808) !== object(test)#%d (0) {} int(-9223372036854775808) !== array(0) {} int(-9223372036854775808) === int(-9223372036854775808) @@ -332,8 +332,8 @@ string(20) "-9223372036854775808" !== string(3) "2.5" string(20) "-9223372036854775808" !== NULL string(20) "-9223372036854775808" !== bool(true) string(20) "-9223372036854775808" !== bool(false) -string(20) "-9223372036854775808" !== object(stdClass)#%d (0) {} -string(20) "-9223372036854775808" !== object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" !== object(DynamicObject)#1 (0) {} +string(20) "-9223372036854775808" !== object(DynamicObject)#2 (0) {} string(20) "-9223372036854775808" !== object(test)#%d (0) {} string(20) "-9223372036854775808" !== array(0) {} string(20) "-9223372036854775808" !== int(-9223372036854775808) diff --git a/Zend/tests/compare_003_64bit.phpt b/Zend/tests/compare_003_64bit.phpt index 359f53a861999..d55cf0d817a04 100644 --- a/Zend/tests/compare_003_64bit.phpt +++ b/Zend/tests/compare_003_64bit.phpt @@ -60,8 +60,8 @@ array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "2.5" array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > NULL array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= bool(true) array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > bool(false) -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(DynamicObject)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(DynamicObject)#2 (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(test)#%d (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > array(0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(-9223372036854775808) @@ -77,8 +77,8 @@ string(0) "" <= string(3) "2.5" string(0) "" <= NULL string(0) "" <= bool(true) string(0) "" <= bool(false) -string(0) "" <= object(stdClass)#%d (0) {} -string(0) "" <= object(stdClass)#%d (0) {} +string(0) "" <= object(DynamicObject)#1 (0) {} +string(0) "" <= object(DynamicObject)#2 (0) {} string(0) "" <= object(test)#%d (0) {} string(0) "" <= array(0) {} string(0) "" <= int(-9223372036854775808) @@ -95,11 +95,11 @@ int(1) > NULL int(1) <= bool(true) int(1) > bool(false) int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#1 (0) {} int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#2 (0) {} int(1) Notice: Object of class test could not be converted to int in %s on line %d <= object(test)#%d (0) {} @@ -118,11 +118,11 @@ float(2.5) > NULL float(2.5) <= bool(true) float(2.5) > bool(false) float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - > object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + > object(DynamicObject)#1 (0) {} float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - > object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + > object(DynamicObject)#2 (0) {} float(2.5) Notice: Object of class test could not be converted to float in %s on line %d > object(test)#%d (0) {} @@ -141,11 +141,11 @@ int(0) <= NULL int(0) <= bool(true) int(0) <= bool(false) int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#1 (0) {} int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#2 (0) {} int(0) Notice: Object of class test could not be converted to int in %s on line %d <= object(test)#%d (0) {} @@ -163,8 +163,8 @@ string(6) "string" > string(3) "2.5" string(6) "string" > NULL string(6) "string" <= bool(true) string(6) "string" > bool(false) -string(6) "string" <= object(stdClass)#%d (0) {} -string(6) "string" <= object(stdClass)#%d (0) {} +string(6) "string" <= object(DynamicObject)#1 (0) {} +string(6) "string" <= object(DynamicObject)#2 (0) {} string(6) "string" <= object(test)#%d (0) {} string(6) "string" <= array(0) {} string(6) "string" > int(-9223372036854775808) @@ -180,8 +180,8 @@ string(3) "123" > string(3) "2.5" string(3) "123" > NULL string(3) "123" <= bool(true) string(3) "123" > bool(false) -string(3) "123" <= object(stdClass)#%d (0) {} -string(3) "123" <= object(stdClass)#%d (0) {} +string(3) "123" <= object(DynamicObject)#1 (0) {} +string(3) "123" <= object(DynamicObject)#2 (0) {} string(3) "123" <= object(test)#%d (0) {} string(3) "123" <= array(0) {} string(3) "123" > int(-9223372036854775808) @@ -197,8 +197,8 @@ string(3) "2.5" <= string(3) "2.5" string(3) "2.5" > NULL string(3) "2.5" <= bool(true) string(3) "2.5" > bool(false) -string(3) "2.5" <= object(stdClass)#%d (0) {} -string(3) "2.5" <= object(stdClass)#%d (0) {} +string(3) "2.5" <= object(DynamicObject)#1 (0) {} +string(3) "2.5" <= object(DynamicObject)#2 (0) {} string(3) "2.5" <= object(test)#%d (0) {} string(3) "2.5" <= array(0) {} string(3) "2.5" > int(-9223372036854775808) @@ -214,8 +214,8 @@ NULL <= string(3) "2.5" NULL <= NULL NULL <= bool(true) NULL <= bool(false) -NULL <= object(stdClass)#%d (0) {} -NULL <= object(stdClass)#%d (0) {} +NULL <= object(DynamicObject)#1 (0) {} +NULL <= object(DynamicObject)#2 (0) {} NULL <= object(test)#%d (0) {} NULL <= array(0) {} NULL <= int(-9223372036854775808) @@ -231,8 +231,8 @@ bool(true) <= string(3) "2.5" bool(true) > NULL bool(true) <= bool(true) bool(true) > bool(false) -bool(true) <= object(stdClass)#%d (0) {} -bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(DynamicObject)#1 (0) {} +bool(true) <= object(DynamicObject)#2 (0) {} bool(true) <= object(test)#%d (0) {} bool(true) > array(0) {} bool(true) <= int(-9223372036854775808) @@ -248,62 +248,62 @@ bool(false) <= string(3) "2.5" bool(false) <= NULL bool(false) <= bool(true) bool(false) <= bool(false) -bool(false) <= object(stdClass)#%d (0) {} -bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(DynamicObject)#1 (0) {} +bool(false) <= object(DynamicObject)#2 (0) {} bool(false) <= object(test)#%d (0) {} bool(false) <= array(0) {} bool(false) <= int(-9223372036854775808) bool(false) <= string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} > string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#1 (0) {} > string(0) "" +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d <= int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d <= float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d > int(0) -object(stdClass)#%d (0) {} > string(6) "string" -object(stdClass)#%d (0) {} > string(3) "123" -object(stdClass)#%d (0) {} > string(3) "2.5" -object(stdClass)#%d (0) {} > NULL -object(stdClass)#%d (0) {} <= bool(true) -object(stdClass)#%d (0) {} > bool(false) -object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} <= object(test)#%d (0) {} -object(stdClass)#%d (0) {} > array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} > string(6) "string" +object(DynamicObject)#1 (0) {} > string(3) "123" +object(DynamicObject)#1 (0) {} > string(3) "2.5" +object(DynamicObject)#1 (0) {} > NULL +object(DynamicObject)#1 (0) {} <= bool(true) +object(DynamicObject)#1 (0) {} > bool(false) +object(DynamicObject)#1 (0) {} <= object(DynamicObject)#1 (0) {} +object(DynamicObject)#1 (0) {} <= object(DynamicObject)#2 (0) {} +object(DynamicObject)#1 (0) {} <= object(test)#3 (0) {} +object(DynamicObject)#1 (0) {} > array(0) {} +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d > int(-9223372036854775808) -object(stdClass)#%d (0) {} > string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} > string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} > string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#2 (0) {} > string(0) "" +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d <= int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d <= float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d > int(0) -object(stdClass)#%d (0) {} > string(6) "string" -object(stdClass)#%d (0) {} > string(3) "123" -object(stdClass)#%d (0) {} > string(3) "2.5" -object(stdClass)#%d (0) {} > NULL -object(stdClass)#%d (0) {} <= bool(true) -object(stdClass)#%d (0) {} > bool(false) -object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} <= object(test)#%d (0) {} -object(stdClass)#%d (0) {} > array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} > string(6) "string" +object(DynamicObject)#2 (0) {} > string(3) "123" +object(DynamicObject)#2 (0) {} > string(3) "2.5" +object(DynamicObject)#2 (0) {} > NULL +object(DynamicObject)#2 (0) {} <= bool(true) +object(DynamicObject)#2 (0) {} > bool(false) +object(DynamicObject)#2 (0) {} <= object(DynamicObject)#1 (0) {} +object(DynamicObject)#2 (0) {} <= object(DynamicObject)#2 (0) {} +object(DynamicObject)#2 (0) {} <= object(test)#3 (0) {} +object(DynamicObject)#2 (0) {} > array(0) {} +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d > int(-9223372036854775808) -object(stdClass)#%d (0) {} > string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} > string(20) "-9223372036854775808" object(test)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} object(test)#%d (0) {} > string(0) "" object(test)#%d (0) {} @@ -321,8 +321,8 @@ object(test)#%d (0) {} > string(3) "2.5" object(test)#%d (0) {} > NULL object(test)#%d (0) {} <= bool(true) object(test)#%d (0) {} > bool(false) -object(test)#%d (0) {} <= object(stdClass)#%d (0) {} -object(test)#%d (0) {} <= object(stdClass)#%d (0) {} +object(test)#3 (0) {} <= object(DynamicObject)#1 (0) {} +object(test)#3 (0) {} <= object(DynamicObject)#2 (0) {} object(test)#%d (0) {} <= object(test)#%d (0) {} object(test)#%d (0) {} > array(0) {} object(test)#%d (0) {} @@ -340,8 +340,8 @@ array(0) {} > string(3) "2.5" array(0) {} <= NULL array(0) {} <= bool(true) array(0) {} <= bool(false) -array(0) {} <= object(stdClass)#%d (0) {} -array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(DynamicObject)#1 (0) {} +array(0) {} <= object(DynamicObject)#2 (0) {} array(0) {} <= object(test)#%d (0) {} array(0) {} <= array(0) {} array(0) {} > int(-9223372036854775808) @@ -358,11 +358,11 @@ int(-9223372036854775808) > NULL int(-9223372036854775808) <= bool(true) int(-9223372036854775808) > bool(false) int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#1 (0) {} int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#2 (0) {} int(-9223372036854775808) Notice: Object of class test could not be converted to int in %s on line %d <= object(test)#%d (0) {} @@ -380,8 +380,8 @@ string(20) "-9223372036854775808" <= string(3) "2.5" string(20) "-9223372036854775808" > NULL string(20) "-9223372036854775808" <= bool(true) string(20) "-9223372036854775808" > bool(false) -string(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} -string(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" <= object(DynamicObject)#1 (0) {} +string(20) "-9223372036854775808" <= object(DynamicObject)#2 (0) {} string(20) "-9223372036854775808" <= object(test)#%d (0) {} string(20) "-9223372036854775808" <= array(0) {} string(20) "-9223372036854775808" <= int(-9223372036854775808) diff --git a/Zend/tests/compare_004_64bit.phpt b/Zend/tests/compare_004_64bit.phpt index db44ef4737295..9162153979cfc 100644 --- a/Zend/tests/compare_004_64bit.phpt +++ b/Zend/tests/compare_004_64bit.phpt @@ -60,8 +60,8 @@ array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "2.5" array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= NULL array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(true) array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(false) -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(DynamicObject)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(DynamicObject)#2 (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(test)#%d (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(-9223372036854775808) @@ -77,8 +77,8 @@ string(0) "" < string(3) "2.5" string(0) "" >= NULL string(0) "" < bool(true) string(0) "" >= bool(false) -string(0) "" < object(stdClass)#%d (0) {} -string(0) "" < object(stdClass)#%d (0) {} +string(0) "" < object(DynamicObject)#1 (0) {} +string(0) "" < object(DynamicObject)#2 (0) {} string(0) "" < object(test)#%d (0) {} string(0) "" < array(0) {} string(0) "" < int(-9223372036854775808) @@ -95,11 +95,11 @@ int(1) >= NULL int(1) >= bool(true) int(1) >= bool(false) int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - >= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + >= object(DynamicObject)#1 (0) {} int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - >= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + >= object(DynamicObject)#2 (0) {} int(1) Notice: Object of class test could not be converted to int in %s on line %d >= object(test)#%d (0) {} @@ -118,11 +118,11 @@ float(2.5) >= NULL float(2.5) >= bool(true) float(2.5) >= bool(false) float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - >= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + >= object(DynamicObject)#1 (0) {} float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - >= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + >= object(DynamicObject)#2 (0) {} float(2.5) Notice: Object of class test could not be converted to float in %s on line %d >= object(test)#%d (0) {} @@ -141,11 +141,11 @@ int(0) >= NULL int(0) < bool(true) int(0) >= bool(false) int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - < object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + < object(DynamicObject)#1 (0) {} int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - < object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + < object(DynamicObject)#2 (0) {} int(0) Notice: Object of class test could not be converted to int in %s on line %d < object(test)#%d (0) {} @@ -163,8 +163,8 @@ string(6) "string" >= string(3) "2.5" string(6) "string" >= NULL string(6) "string" >= bool(true) string(6) "string" >= bool(false) -string(6) "string" < object(stdClass)#%d (0) {} -string(6) "string" < object(stdClass)#%d (0) {} +string(6) "string" < object(DynamicObject)#1 (0) {} +string(6) "string" < object(DynamicObject)#2 (0) {} string(6) "string" < object(test)#%d (0) {} string(6) "string" < array(0) {} string(6) "string" >= int(-9223372036854775808) @@ -180,8 +180,8 @@ string(3) "123" >= string(3) "2.5" string(3) "123" >= NULL string(3) "123" >= bool(true) string(3) "123" >= bool(false) -string(3) "123" < object(stdClass)#%d (0) {} -string(3) "123" < object(stdClass)#%d (0) {} +string(3) "123" < object(DynamicObject)#1 (0) {} +string(3) "123" < object(DynamicObject)#2 (0) {} string(3) "123" < object(test)#%d (0) {} string(3) "123" < array(0) {} string(3) "123" >= int(-9223372036854775808) @@ -197,8 +197,8 @@ string(3) "2.5" >= string(3) "2.5" string(3) "2.5" >= NULL string(3) "2.5" >= bool(true) string(3) "2.5" >= bool(false) -string(3) "2.5" < object(stdClass)#%d (0) {} -string(3) "2.5" < object(stdClass)#%d (0) {} +string(3) "2.5" < object(DynamicObject)#1 (0) {} +string(3) "2.5" < object(DynamicObject)#2 (0) {} string(3) "2.5" < object(test)#%d (0) {} string(3) "2.5" < array(0) {} string(3) "2.5" >= int(-9223372036854775808) @@ -214,8 +214,8 @@ NULL < string(3) "2.5" NULL >= NULL NULL < bool(true) NULL >= bool(false) -NULL < object(stdClass)#%d (0) {} -NULL < object(stdClass)#%d (0) {} +NULL < object(DynamicObject)#1 (0) {} +NULL < object(DynamicObject)#2 (0) {} NULL < object(test)#%d (0) {} NULL >= array(0) {} NULL < int(-9223372036854775808) @@ -231,8 +231,8 @@ bool(true) >= string(3) "2.5" bool(true) >= NULL bool(true) >= bool(true) bool(true) >= bool(false) -bool(true) >= object(stdClass)#%d (0) {} -bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(DynamicObject)#1 (0) {} +bool(true) >= object(DynamicObject)#2 (0) {} bool(true) >= object(test)#%d (0) {} bool(true) >= array(0) {} bool(true) >= int(-9223372036854775808) @@ -248,62 +248,62 @@ bool(false) < string(3) "2.5" bool(false) >= NULL bool(false) < bool(true) bool(false) >= bool(false) -bool(false) < object(stdClass)#%d (0) {} -bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(DynamicObject)#1 (0) {} +bool(false) < object(DynamicObject)#2 (0) {} bool(false) < object(test)#%d (0) {} bool(false) >= array(0) {} bool(false) < int(-9223372036854775808) bool(false) < string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} >= string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#1 (0) {} >= string(0) "" +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d < float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(0) -object(stdClass)#%d (0) {} >= string(6) "string" -object(stdClass)#%d (0) {} >= string(3) "123" -object(stdClass)#%d (0) {} >= string(3) "2.5" -object(stdClass)#%d (0) {} >= NULL -object(stdClass)#%d (0) {} >= bool(true) -object(stdClass)#%d (0) {} >= bool(false) -object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} >= object(test)#%d (0) {} -object(stdClass)#%d (0) {} >= array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} >= string(6) "string" +object(DynamicObject)#1 (0) {} >= string(3) "123" +object(DynamicObject)#1 (0) {} >= string(3) "2.5" +object(DynamicObject)#1 (0) {} >= NULL +object(DynamicObject)#1 (0) {} >= bool(true) +object(DynamicObject)#1 (0) {} >= bool(false) +object(DynamicObject)#1 (0) {} >= object(DynamicObject)#1 (0) {} +object(DynamicObject)#1 (0) {} >= object(DynamicObject)#2 (0) {} +object(DynamicObject)#1 (0) {} >= object(test)#3 (0) {} +object(DynamicObject)#1 (0) {} >= array(0) {} +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(-9223372036854775808) -object(stdClass)#%d (0) {} >= string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} >= string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} >= string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#2 (0) {} >= string(0) "" +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d < float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(0) -object(stdClass)#%d (0) {} >= string(6) "string" -object(stdClass)#%d (0) {} >= string(3) "123" -object(stdClass)#%d (0) {} >= string(3) "2.5" -object(stdClass)#%d (0) {} >= NULL -object(stdClass)#%d (0) {} >= bool(true) -object(stdClass)#%d (0) {} >= bool(false) -object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} >= object(test)#%d (0) {} -object(stdClass)#%d (0) {} >= array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} >= string(6) "string" +object(DynamicObject)#2 (0) {} >= string(3) "123" +object(DynamicObject)#2 (0) {} >= string(3) "2.5" +object(DynamicObject)#2 (0) {} >= NULL +object(DynamicObject)#2 (0) {} >= bool(true) +object(DynamicObject)#2 (0) {} >= bool(false) +object(DynamicObject)#2 (0) {} >= object(DynamicObject)#1 (0) {} +object(DynamicObject)#2 (0) {} >= object(DynamicObject)#2 (0) {} +object(DynamicObject)#2 (0) {} >= object(test)#3 (0) {} +object(DynamicObject)#2 (0) {} >= array(0) {} +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(-9223372036854775808) -object(stdClass)#%d (0) {} >= string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} >= string(20) "-9223372036854775808" object(test)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} object(test)#%d (0) {} >= string(0) "" object(test)#%d (0) {} @@ -321,8 +321,8 @@ object(test)#%d (0) {} >= string(3) "2.5" object(test)#%d (0) {} >= NULL object(test)#%d (0) {} >= bool(true) object(test)#%d (0) {} >= bool(false) -object(test)#%d (0) {} >= object(stdClass)#%d (0) {} -object(test)#%d (0) {} >= object(stdClass)#%d (0) {} +object(test)#3 (0) {} >= object(DynamicObject)#1 (0) {} +object(test)#3 (0) {} >= object(DynamicObject)#2 (0) {} object(test)#%d (0) {} >= object(test)#%d (0) {} object(test)#%d (0) {} >= array(0) {} object(test)#%d (0) {} @@ -340,8 +340,8 @@ array(0) {} >= string(3) "2.5" array(0) {} >= NULL array(0) {} < bool(true) array(0) {} >= bool(false) -array(0) {} < object(stdClass)#%d (0) {} -array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(DynamicObject)#1 (0) {} +array(0) {} < object(DynamicObject)#2 (0) {} array(0) {} < object(test)#%d (0) {} array(0) {} >= array(0) {} array(0) {} >= int(-9223372036854775808) @@ -358,11 +358,11 @@ int(-9223372036854775808) >= NULL int(-9223372036854775808) >= bool(true) int(-9223372036854775808) >= bool(false) int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - < object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + < object(DynamicObject)#1 (0) {} int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - < object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + < object(DynamicObject)#2 (0) {} int(-9223372036854775808) Notice: Object of class test could not be converted to int in %s on line %d < object(test)#%d (0) {} @@ -380,8 +380,8 @@ string(20) "-9223372036854775808" < string(3) "2.5" string(20) "-9223372036854775808" >= NULL string(20) "-9223372036854775808" >= bool(true) string(20) "-9223372036854775808" >= bool(false) -string(20) "-9223372036854775808" < object(stdClass)#%d (0) {} -string(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" < object(DynamicObject)#1 (0) {} +string(20) "-9223372036854775808" < object(DynamicObject)#2 (0) {} string(20) "-9223372036854775808" < object(test)#%d (0) {} string(20) "-9223372036854775808" < array(0) {} string(20) "-9223372036854775808" >= int(-9223372036854775808) diff --git a/Zend/tests/compare_005_64bit.phpt b/Zend/tests/compare_005_64bit.phpt index c29bd332bf407..b629ce943f43c 100644 --- a/Zend/tests/compare_005_64bit.phpt +++ b/Zend/tests/compare_005_64bit.phpt @@ -60,8 +60,8 @@ array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "2.5" array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= NULL array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(true) array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(false) -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(DynamicObject)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(DynamicObject)#2 (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(test)#%d (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(-9223372036854775808) @@ -77,8 +77,8 @@ string(0) "" < string(3) "2.5" string(0) "" >= NULL string(0) "" < bool(true) string(0) "" >= bool(false) -string(0) "" < object(stdClass)#%d (0) {} -string(0) "" < object(stdClass)#%d (0) {} +string(0) "" < object(DynamicObject)#1 (0) {} +string(0) "" < object(DynamicObject)#2 (0) {} string(0) "" < object(test)#%d (0) {} string(0) "" < array(0) {} string(0) "" < int(-9223372036854775808) @@ -95,11 +95,11 @@ int(1) >= NULL int(1) >= bool(true) int(1) >= bool(false) int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - >= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + >= object(DynamicObject)#1 (0) {} int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - >= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + >= object(DynamicObject)#2 (0) {} int(1) Notice: Object of class test could not be converted to int in %s on line %d >= object(test)#%d (0) {} @@ -118,11 +118,11 @@ float(2.5) >= NULL float(2.5) >= bool(true) float(2.5) >= bool(false) float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - >= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + >= object(DynamicObject)#1 (0) {} float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - >= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + >= object(DynamicObject)#2 (0) {} float(2.5) Notice: Object of class test could not be converted to float in %s on line %d >= object(test)#%d (0) {} @@ -141,11 +141,11 @@ int(0) >= NULL int(0) < bool(true) int(0) >= bool(false) int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - < object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + < object(DynamicObject)#1 (0) {} int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - < object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + < object(DynamicObject)#2 (0) {} int(0) Notice: Object of class test could not be converted to int in %s on line %d < object(test)#%d (0) {} @@ -163,8 +163,8 @@ string(6) "string" >= string(3) "2.5" string(6) "string" >= NULL string(6) "string" >= bool(true) string(6) "string" >= bool(false) -string(6) "string" < object(stdClass)#%d (0) {} -string(6) "string" < object(stdClass)#%d (0) {} +string(6) "string" < object(DynamicObject)#1 (0) {} +string(6) "string" < object(DynamicObject)#2 (0) {} string(6) "string" < object(test)#%d (0) {} string(6) "string" < array(0) {} string(6) "string" >= int(-9223372036854775808) @@ -180,8 +180,8 @@ string(3) "123" >= string(3) "2.5" string(3) "123" >= NULL string(3) "123" >= bool(true) string(3) "123" >= bool(false) -string(3) "123" < object(stdClass)#%d (0) {} -string(3) "123" < object(stdClass)#%d (0) {} +string(3) "123" < object(DynamicObject)#1 (0) {} +string(3) "123" < object(DynamicObject)#2 (0) {} string(3) "123" < object(test)#%d (0) {} string(3) "123" < array(0) {} string(3) "123" >= int(-9223372036854775808) @@ -197,8 +197,8 @@ string(3) "2.5" >= string(3) "2.5" string(3) "2.5" >= NULL string(3) "2.5" >= bool(true) string(3) "2.5" >= bool(false) -string(3) "2.5" < object(stdClass)#%d (0) {} -string(3) "2.5" < object(stdClass)#%d (0) {} +string(3) "2.5" < object(DynamicObject)#1 (0) {} +string(3) "2.5" < object(DynamicObject)#2 (0) {} string(3) "2.5" < object(test)#%d (0) {} string(3) "2.5" < array(0) {} string(3) "2.5" >= int(-9223372036854775808) @@ -214,8 +214,8 @@ NULL < string(3) "2.5" NULL >= NULL NULL < bool(true) NULL >= bool(false) -NULL < object(stdClass)#%d (0) {} -NULL < object(stdClass)#%d (0) {} +NULL < object(DynamicObject)#1 (0) {} +NULL < object(DynamicObject)#2 (0) {} NULL < object(test)#%d (0) {} NULL >= array(0) {} NULL < int(-9223372036854775808) @@ -231,8 +231,8 @@ bool(true) >= string(3) "2.5" bool(true) >= NULL bool(true) >= bool(true) bool(true) >= bool(false) -bool(true) >= object(stdClass)#%d (0) {} -bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(DynamicObject)#1 (0) {} +bool(true) >= object(DynamicObject)#2 (0) {} bool(true) >= object(test)#%d (0) {} bool(true) >= array(0) {} bool(true) >= int(-9223372036854775808) @@ -248,62 +248,62 @@ bool(false) < string(3) "2.5" bool(false) >= NULL bool(false) < bool(true) bool(false) >= bool(false) -bool(false) < object(stdClass)#%d (0) {} -bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(DynamicObject)#1 (0) {} +bool(false) < object(DynamicObject)#2 (0) {} bool(false) < object(test)#%d (0) {} bool(false) >= array(0) {} bool(false) < int(-9223372036854775808) bool(false) < string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} >= string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#1 (0) {} >= string(0) "" +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d < float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(0) -object(stdClass)#%d (0) {} >= string(6) "string" -object(stdClass)#%d (0) {} >= string(3) "123" -object(stdClass)#%d (0) {} >= string(3) "2.5" -object(stdClass)#%d (0) {} >= NULL -object(stdClass)#%d (0) {} >= bool(true) -object(stdClass)#%d (0) {} >= bool(false) -object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} < object(test)#%d (0) {} -object(stdClass)#%d (0) {} >= array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} >= string(6) "string" +object(DynamicObject)#1 (0) {} >= string(3) "123" +object(DynamicObject)#1 (0) {} >= string(3) "2.5" +object(DynamicObject)#1 (0) {} >= NULL +object(DynamicObject)#1 (0) {} >= bool(true) +object(DynamicObject)#1 (0) {} >= bool(false) +object(DynamicObject)#1 (0) {} >= object(DynamicObject)#1 (0) {} +object(DynamicObject)#1 (0) {} >= object(DynamicObject)#2 (0) {} +object(DynamicObject)#1 (0) {} < object(test)#3 (0) {} +object(DynamicObject)#1 (0) {} >= array(0) {} +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(-9223372036854775808) -object(stdClass)#%d (0) {} >= string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} >= string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} >= string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#2 (0) {} >= string(0) "" +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d < float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(0) -object(stdClass)#%d (0) {} >= string(6) "string" -object(stdClass)#%d (0) {} >= string(3) "123" -object(stdClass)#%d (0) {} >= string(3) "2.5" -object(stdClass)#%d (0) {} >= NULL -object(stdClass)#%d (0) {} >= bool(true) -object(stdClass)#%d (0) {} >= bool(false) -object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} < object(test)#%d (0) {} -object(stdClass)#%d (0) {} >= array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} >= string(6) "string" +object(DynamicObject)#2 (0) {} >= string(3) "123" +object(DynamicObject)#2 (0) {} >= string(3) "2.5" +object(DynamicObject)#2 (0) {} >= NULL +object(DynamicObject)#2 (0) {} >= bool(true) +object(DynamicObject)#2 (0) {} >= bool(false) +object(DynamicObject)#2 (0) {} >= object(DynamicObject)#1 (0) {} +object(DynamicObject)#2 (0) {} >= object(DynamicObject)#2 (0) {} +object(DynamicObject)#2 (0) {} < object(test)#3 (0) {} +object(DynamicObject)#2 (0) {} >= array(0) {} +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d >= int(-9223372036854775808) -object(stdClass)#%d (0) {} >= string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} >= string(20) "-9223372036854775808" object(test)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} object(test)#%d (0) {} >= string(0) "" object(test)#%d (0) {} @@ -321,8 +321,8 @@ object(test)#%d (0) {} >= string(3) "2.5" object(test)#%d (0) {} >= NULL object(test)#%d (0) {} >= bool(true) object(test)#%d (0) {} >= bool(false) -object(test)#%d (0) {} < object(stdClass)#%d (0) {} -object(test)#%d (0) {} < object(stdClass)#%d (0) {} +object(test)#3 (0) {} < object(DynamicObject)#1 (0) {} +object(test)#3 (0) {} < object(DynamicObject)#2 (0) {} object(test)#%d (0) {} >= object(test)#%d (0) {} object(test)#%d (0) {} >= array(0) {} object(test)#%d (0) {} @@ -340,8 +340,8 @@ array(0) {} >= string(3) "2.5" array(0) {} >= NULL array(0) {} < bool(true) array(0) {} >= bool(false) -array(0) {} < object(stdClass)#%d (0) {} -array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(DynamicObject)#1 (0) {} +array(0) {} < object(DynamicObject)#2 (0) {} array(0) {} < object(test)#%d (0) {} array(0) {} >= array(0) {} array(0) {} >= int(-9223372036854775808) @@ -358,11 +358,11 @@ int(-9223372036854775808) >= NULL int(-9223372036854775808) >= bool(true) int(-9223372036854775808) >= bool(false) int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - < object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + < object(DynamicObject)#1 (0) {} int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - < object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + < object(DynamicObject)#2 (0) {} int(-9223372036854775808) Notice: Object of class test could not be converted to int in %s on line %d < object(test)#%d (0) {} @@ -380,8 +380,8 @@ string(20) "-9223372036854775808" < string(3) "2.5" string(20) "-9223372036854775808" >= NULL string(20) "-9223372036854775808" >= bool(true) string(20) "-9223372036854775808" >= bool(false) -string(20) "-9223372036854775808" < object(stdClass)#%d (0) {} -string(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" < object(DynamicObject)#1 (0) {} +string(20) "-9223372036854775808" < object(DynamicObject)#2 (0) {} string(20) "-9223372036854775808" < object(test)#%d (0) {} string(20) "-9223372036854775808" < array(0) {} string(20) "-9223372036854775808" >= int(-9223372036854775808) diff --git a/Zend/tests/compare_006_64bit.phpt b/Zend/tests/compare_006_64bit.phpt index a284dc1f45fd6..8e6cae3065f61 100644 --- a/Zend/tests/compare_006_64bit.phpt +++ b/Zend/tests/compare_006_64bit.phpt @@ -60,8 +60,8 @@ array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "2.5" array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > NULL array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= bool(true) array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > bool(false) -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} -array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(DynamicObject)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(DynamicObject)#2 (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(test)#%d (0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > array(0) {} array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(-9223372036854775808) @@ -77,8 +77,8 @@ string(0) "" <= string(3) "2.5" string(0) "" <= NULL string(0) "" <= bool(true) string(0) "" <= bool(false) -string(0) "" <= object(stdClass)#%d (0) {} -string(0) "" <= object(stdClass)#%d (0) {} +string(0) "" <= object(DynamicObject)#1 (0) {} +string(0) "" <= object(DynamicObject)#2 (0) {} string(0) "" <= object(test)#%d (0) {} string(0) "" <= array(0) {} string(0) "" <= int(-9223372036854775808) @@ -95,11 +95,11 @@ int(1) > NULL int(1) <= bool(true) int(1) > bool(false) int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#1 (0) {} int(1) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#2 (0) {} int(1) Notice: Object of class test could not be converted to int in %s on line %d <= object(test)#%d (0) {} @@ -118,11 +118,11 @@ float(2.5) > NULL float(2.5) <= bool(true) float(2.5) > bool(false) float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - > object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + > object(DynamicObject)#1 (0) {} float(2.5) -Notice: Object of class stdClass could not be converted to float in %s on line %d - > object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d + > object(DynamicObject)#2 (0) {} float(2.5) Notice: Object of class test could not be converted to float in %s on line %d > object(test)#%d (0) {} @@ -141,11 +141,11 @@ int(0) <= NULL int(0) <= bool(true) int(0) <= bool(false) int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#1 (0) {} int(0) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#2 (0) {} int(0) Notice: Object of class test could not be converted to int in %s on line %d <= object(test)#%d (0) {} @@ -163,8 +163,8 @@ string(6) "string" > string(3) "2.5" string(6) "string" > NULL string(6) "string" <= bool(true) string(6) "string" > bool(false) -string(6) "string" <= object(stdClass)#%d (0) {} -string(6) "string" <= object(stdClass)#%d (0) {} +string(6) "string" <= object(DynamicObject)#1 (0) {} +string(6) "string" <= object(DynamicObject)#2 (0) {} string(6) "string" <= object(test)#%d (0) {} string(6) "string" <= array(0) {} string(6) "string" > int(-9223372036854775808) @@ -180,8 +180,8 @@ string(3) "123" > string(3) "2.5" string(3) "123" > NULL string(3) "123" <= bool(true) string(3) "123" > bool(false) -string(3) "123" <= object(stdClass)#%d (0) {} -string(3) "123" <= object(stdClass)#%d (0) {} +string(3) "123" <= object(DynamicObject)#1 (0) {} +string(3) "123" <= object(DynamicObject)#2 (0) {} string(3) "123" <= object(test)#%d (0) {} string(3) "123" <= array(0) {} string(3) "123" > int(-9223372036854775808) @@ -197,8 +197,8 @@ string(3) "2.5" <= string(3) "2.5" string(3) "2.5" > NULL string(3) "2.5" <= bool(true) string(3) "2.5" > bool(false) -string(3) "2.5" <= object(stdClass)#%d (0) {} -string(3) "2.5" <= object(stdClass)#%d (0) {} +string(3) "2.5" <= object(DynamicObject)#1 (0) {} +string(3) "2.5" <= object(DynamicObject)#2 (0) {} string(3) "2.5" <= object(test)#%d (0) {} string(3) "2.5" <= array(0) {} string(3) "2.5" > int(-9223372036854775808) @@ -214,8 +214,8 @@ NULL <= string(3) "2.5" NULL <= NULL NULL <= bool(true) NULL <= bool(false) -NULL <= object(stdClass)#%d (0) {} -NULL <= object(stdClass)#%d (0) {} +NULL <= object(DynamicObject)#1 (0) {} +NULL <= object(DynamicObject)#2 (0) {} NULL <= object(test)#%d (0) {} NULL <= array(0) {} NULL <= int(-9223372036854775808) @@ -231,8 +231,8 @@ bool(true) <= string(3) "2.5" bool(true) > NULL bool(true) <= bool(true) bool(true) > bool(false) -bool(true) <= object(stdClass)#%d (0) {} -bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(DynamicObject)#1 (0) {} +bool(true) <= object(DynamicObject)#2 (0) {} bool(true) <= object(test)#%d (0) {} bool(true) > array(0) {} bool(true) <= int(-9223372036854775808) @@ -248,62 +248,62 @@ bool(false) <= string(3) "2.5" bool(false) <= NULL bool(false) <= bool(true) bool(false) <= bool(false) -bool(false) <= object(stdClass)#%d (0) {} -bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(DynamicObject)#1 (0) {} +bool(false) <= object(DynamicObject)#2 (0) {} bool(false) <= object(test)#%d (0) {} bool(false) <= array(0) {} bool(false) <= int(-9223372036854775808) bool(false) <= string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} > string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#1 (0) {} > string(0) "" +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d <= int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d <= float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d > int(0) -object(stdClass)#%d (0) {} > string(6) "string" -object(stdClass)#%d (0) {} > string(3) "123" -object(stdClass)#%d (0) {} > string(3) "2.5" -object(stdClass)#%d (0) {} > NULL -object(stdClass)#%d (0) {} <= bool(true) -object(stdClass)#%d (0) {} > bool(false) -object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} > object(test)#%d (0) {} -object(stdClass)#%d (0) {} > array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} > string(6) "string" +object(DynamicObject)#1 (0) {} > string(3) "123" +object(DynamicObject)#1 (0) {} > string(3) "2.5" +object(DynamicObject)#1 (0) {} > NULL +object(DynamicObject)#1 (0) {} <= bool(true) +object(DynamicObject)#1 (0) {} > bool(false) +object(DynamicObject)#1 (0) {} <= object(DynamicObject)#1 (0) {} +object(DynamicObject)#1 (0) {} <= object(DynamicObject)#2 (0) {} +object(DynamicObject)#1 (0) {} > object(test)#3 (0) {} +object(DynamicObject)#1 (0) {} > array(0) {} +object(DynamicObject)#1 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d > int(-9223372036854775808) -object(stdClass)#%d (0) {} > string(20) "-9223372036854775808" -object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} -object(stdClass)#%d (0) {} > string(0) "" -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#1 (0) {} > string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(DynamicObject)#2 (0) {} > string(0) "" +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d <= int(1) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to float in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to float in %s on line %d <= float(2.5) -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d > int(0) -object(stdClass)#%d (0) {} > string(6) "string" -object(stdClass)#%d (0) {} > string(3) "123" -object(stdClass)#%d (0) {} > string(3) "2.5" -object(stdClass)#%d (0) {} > NULL -object(stdClass)#%d (0) {} <= bool(true) -object(stdClass)#%d (0) {} > bool(false) -object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} -object(stdClass)#%d (0) {} > object(test)#%d (0) {} -object(stdClass)#%d (0) {} > array(0) {} -object(stdClass)#%d (0) {} -Notice: Object of class stdClass could not be converted to int in %s on line %d +object(DynamicObject)#2 (0) {} > string(6) "string" +object(DynamicObject)#2 (0) {} > string(3) "123" +object(DynamicObject)#2 (0) {} > string(3) "2.5" +object(DynamicObject)#2 (0) {} > NULL +object(DynamicObject)#2 (0) {} <= bool(true) +object(DynamicObject)#2 (0) {} > bool(false) +object(DynamicObject)#2 (0) {} <= object(DynamicObject)#1 (0) {} +object(DynamicObject)#2 (0) {} <= object(DynamicObject)#2 (0) {} +object(DynamicObject)#2 (0) {} > object(test)#3 (0) {} +object(DynamicObject)#2 (0) {} > array(0) {} +object(DynamicObject)#2 (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d > int(-9223372036854775808) -object(stdClass)#%d (0) {} > string(20) "-9223372036854775808" +object(DynamicObject)#2 (0) {} > string(20) "-9223372036854775808" object(test)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} object(test)#%d (0) {} > string(0) "" object(test)#%d (0) {} @@ -321,8 +321,8 @@ object(test)#%d (0) {} > string(3) "2.5" object(test)#%d (0) {} > NULL object(test)#%d (0) {} <= bool(true) object(test)#%d (0) {} > bool(false) -object(test)#%d (0) {} > object(stdClass)#%d (0) {} -object(test)#%d (0) {} > object(stdClass)#%d (0) {} +object(test)#3 (0) {} > object(DynamicObject)#1 (0) {} +object(test)#3 (0) {} > object(DynamicObject)#2 (0) {} object(test)#%d (0) {} <= object(test)#%d (0) {} object(test)#%d (0) {} > array(0) {} object(test)#%d (0) {} @@ -340,8 +340,8 @@ array(0) {} > string(3) "2.5" array(0) {} <= NULL array(0) {} <= bool(true) array(0) {} <= bool(false) -array(0) {} <= object(stdClass)#%d (0) {} -array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(DynamicObject)#1 (0) {} +array(0) {} <= object(DynamicObject)#2 (0) {} array(0) {} <= object(test)#%d (0) {} array(0) {} <= array(0) {} array(0) {} > int(-9223372036854775808) @@ -358,11 +358,11 @@ int(-9223372036854775808) > NULL int(-9223372036854775808) <= bool(true) int(-9223372036854775808) > bool(false) int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#1 (0) {} int(-9223372036854775808) -Notice: Object of class stdClass could not be converted to int in %s on line %d - <= object(stdClass)#%d (0) {} +Notice: Object of class DynamicObject could not be converted to int in %s on line %d + <= object(DynamicObject)#2 (0) {} int(-9223372036854775808) Notice: Object of class test could not be converted to int in %s on line %d <= object(test)#%d (0) {} @@ -380,8 +380,8 @@ string(20) "-9223372036854775808" <= string(3) "2.5" string(20) "-9223372036854775808" > NULL string(20) "-9223372036854775808" <= bool(true) string(20) "-9223372036854775808" > bool(false) -string(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} -string(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" <= object(DynamicObject)#1 (0) {} +string(20) "-9223372036854775808" <= object(DynamicObject)#2 (0) {} string(20) "-9223372036854775808" <= object(test)#%d (0) {} string(20) "-9223372036854775808" <= array(0) {} string(20) "-9223372036854775808" <= int(-9223372036854775808) diff --git a/Zend/tests/compound_assign_failure.phpt b/Zend/tests/compound_assign_failure.phpt index 0dc9af85f2530..04858c14ff78b 100644 --- a/Zend/tests/compound_assign_failure.phpt +++ b/Zend/tests/compound_assign_failure.phpt @@ -198,54 +198,54 @@ catch (Throwable $e) {} var_dump($x); ?> ---EXPECTF-- +--EXPECT-- int(1) int(1) int(1) array(0) { } string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } int(1) string(3) "foo" -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } int(1) string(3) "foo" diff --git a/Zend/tests/constant_arrays.phpt b/Zend/tests/constant_arrays.phpt index eecc76847545b..ddc7ce2bfb614 100644 --- a/Zend/tests/constant_arrays.phpt +++ b/Zend/tests/constant_arrays.phpt @@ -101,7 +101,7 @@ array(1) { } array(1) { [0]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } } define(): Argument #2 ($value) cannot be a recursive array diff --git a/Zend/tests/constants_002.phpt b/Zend/tests/constants_002.phpt index cfbfb69ce5a4b..285a1f1a8a104 100644 --- a/Zend/tests/constants_002.phpt +++ b/Zend/tests/constants_002.phpt @@ -11,6 +11,6 @@ var_dump(bar); ?> --EXPECTF-- -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } resource(%d) of type (stream) diff --git a/Zend/tests/constexpr/new.phpt b/Zend/tests/constexpr/new.phpt index 79bbc41f69b5b..ba1481d57d616 100644 --- a/Zend/tests/constexpr/new.phpt +++ b/Zend/tests/constexpr/new.phpt @@ -47,13 +47,13 @@ try { ?> --EXPECT-- Class "DoesNotExist" not found -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } Unsupported operand types: array + int Unsupported operand types: array + int object(Test)#4 (2) { ["a"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } ["b"]=> int(42) diff --git a/Zend/tests/constexpr/new_allowed.phpt b/Zend/tests/constexpr/new_allowed.phpt index c278341a4ae03..95c58afe3b639 100644 --- a/Zend/tests/constexpr/new_allowed.phpt +++ b/Zend/tests/constexpr/new_allowed.phpt @@ -25,11 +25,11 @@ var_dump(TEST); ?> --EXPECT-- -object(stdClass)#3 (0) { +object(DynamicObject)#3 (0) { } -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } -object(stdClass)#3 (0) { +object(DynamicObject)#3 (0) { } -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } diff --git a/Zend/tests/declare_007.phpt b/Zend/tests/declare_007.phpt index 9344402d5cbe4..8244eb6a1df4a 100644 --- a/Zend/tests/declare_007.phpt +++ b/Zend/tests/declare_007.phpt @@ -15,5 +15,5 @@ foo(); } ?> --EXPECT-- -tick: stdClass 3 -tick: stdClass 3 +tick: DynamicObject 3 +tick: DynamicObject 3 diff --git a/Zend/tests/decrement_001_64bit.phpt b/Zend/tests/decrement_001_64bit.phpt index b776bc5dd3896..558fc3d590d75 100644 --- a/Zend/tests/decrement_001_64bit.phpt +++ b/Zend/tests/decrement_001_64bit.phpt @@ -56,8 +56,8 @@ float(1.5) NULL bool(true) bool(false) -Cannot decrement stdClass -object(stdClass)#1 (0) { +Cannot decrement DynamicObject +object(DynamicObject)#1 (0) { } Cannot decrement array array(0) { diff --git a/Zend/tests/dereference_004.phpt b/Zend/tests/dereference_004.phpt index 1ffe4bf3886e6..9b1ad5d23513e 100644 --- a/Zend/tests/dereference_004.phpt +++ b/Zend/tests/dereference_004.phpt @@ -22,6 +22,6 @@ $fo = new foo; var_dump($fo()[0]); ?> ---EXPECTF-- -object(stdClass)#%d (0) { +--EXPECT-- +object(DynamicObject)#2 (0) { } diff --git a/Zend/tests/dereference_010.phpt b/Zend/tests/dereference_010.phpt index 191da8f3488f3..d95aade446b8f 100644 --- a/Zend/tests/dereference_010.phpt +++ b/Zend/tests/dereference_010.phpt @@ -27,7 +27,7 @@ NULL Warning: Trying to access array offset on value of type int in %s on line %d NULL -Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d +Fatal error: Uncaught Error: Cannot use object of type DynamicObject as array in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/die_string_cast_exception.phpt b/Zend/tests/die_string_cast_exception.phpt index 9893c3389f970..e38accaa78423 100644 --- a/Zend/tests/die_string_cast_exception.phpt +++ b/Zend/tests/die_string_cast_exception.phpt @@ -7,7 +7,7 @@ die(new stdClass); ?> --EXPECTF-- -Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in %s:%d +Fatal error: Uncaught Error: Object of class DynamicObject could not be converted to string in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/dynamic_call_freeing.phpt b/Zend/tests/dynamic_call_freeing.phpt index 1bba3ebf6be17..6a1f20d28ad65 100644 --- a/Zend/tests/dynamic_call_freeing.phpt +++ b/Zend/tests/dynamic_call_freeing.phpt @@ -25,4 +25,4 @@ try { --EXPECT-- Call to undefined function foobar() Array callback must have exactly two elements -Object of type stdClass is not callable +Object of type DynamicObject is not callable diff --git a/Zend/tests/dynamic_prop_name_leak.phpt b/Zend/tests/dynamic_prop_name_leak.phpt index 4f730228020a2..dfb7cfa214ef5 100644 --- a/Zend/tests/dynamic_prop_name_leak.phpt +++ b/Zend/tests/dynamic_prop_name_leak.phpt @@ -8,7 +8,7 @@ $ref =& $obj->$name; var_dump($obj); ?> --EXPECT-- -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["0"]=> &NULL } diff --git a/Zend/tests/errmsg_044.phpt b/Zend/tests/errmsg_044.phpt index 4feecb308c4be..ca0ee1e75302d 100644 --- a/Zend/tests/errmsg_044.phpt +++ b/Zend/tests/errmsg_044.phpt @@ -8,7 +8,7 @@ $a[0][0] = new stdclass; ?> --EXPECTF-- -Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d +Fatal error: Uncaught Error: Cannot use object of type DynamicObject as array in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/exception_009.phpt b/Zend/tests/exception_009.phpt index 340bd99eb0c2c..45da655d3763c 100644 --- a/Zend/tests/exception_009.phpt +++ b/Zend/tests/exception_009.phpt @@ -25,7 +25,7 @@ throw new my_exception; ?> --EXPECT-- -Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in [no active file]:0 +Fatal error: Uncaught Error: Object of class DynamicObject could not be converted to string in [no active file]:0 Stack trace: #0 [internal function]: Exception->__toString() #1 {main} diff --git a/Zend/tests/exception_018.phpt b/Zend/tests/exception_018.phpt index b61a788288e2c..451093fb440a5 100644 --- a/Zend/tests/exception_018.phpt +++ b/Zend/tests/exception_018.phpt @@ -8,8 +8,8 @@ throw new Hello(new stdClass); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: Exception::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d +Fatal error: Uncaught TypeError: Exception::__construct(): Argument #1 ($message) must be of type string, DynamicObject given in %s:%d Stack trace: -#0 %sexception_018.php(%d): Exception->__construct(Object(stdClass)) +#0 %s(%d): Exception->__construct(Object(DynamicObject)) #1 {main} thrown in %sexception_018.php on line %d diff --git a/Zend/tests/exception_019.phpt b/Zend/tests/exception_019.phpt index 45b87956c9443..b072748079def 100644 --- a/Zend/tests/exception_019.phpt +++ b/Zend/tests/exception_019.phpt @@ -7,8 +7,8 @@ throw new Exception(new stdClass); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: Exception::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d +Fatal error: Uncaught TypeError: Exception::__construct(): Argument #1 ($message) must be of type string, DynamicObject given in %s:%d Stack trace: -#0 %sexception_019.php(%d): Exception->__construct(Object(stdClass)) +#0 %s(%d): Exception->__construct(Object(DynamicObject)) #1 {main} thrown in %sexception_019.php on line %d diff --git a/Zend/tests/exception_020.phpt b/Zend/tests/exception_020.phpt index 680a1a0d1af1f..e0c5fc97340b3 100644 --- a/Zend/tests/exception_020.phpt +++ b/Zend/tests/exception_020.phpt @@ -8,8 +8,8 @@ throw new MyErrorException(new stdClass); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: ErrorException::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d +Fatal error: Uncaught TypeError: ErrorException::__construct(): Argument #1 ($message) must be of type string, DynamicObject given in %s:%d Stack trace: -#0 %sexception_020.php(%d): ErrorException->__construct(Object(stdClass)) +#0 %s(%d): ErrorException->__construct(Object(DynamicObject)) #1 {main} thrown in %sexception_020.php on line %d diff --git a/Zend/tests/exception_021.phpt b/Zend/tests/exception_021.phpt index 6fa7e49d80a1a..ab0ad2c5128a4 100644 --- a/Zend/tests/exception_021.phpt +++ b/Zend/tests/exception_021.phpt @@ -8,8 +8,8 @@ throw new Hello(new stdClass); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: Error::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d +Fatal error: Uncaught TypeError: Error::__construct(): Argument #1 ($message) must be of type string, DynamicObject given in %s:%d Stack trace: -#0 %sexception_021.php(%d): Error->__construct(Object(stdClass)) +#0 %s(%d): Error->__construct(Object(DynamicObject)) #1 {main} thrown in %sexception_021.php on line %d diff --git a/Zend/tests/exception_022.phpt b/Zend/tests/exception_022.phpt index 604d3314c22cf..ce28b74beacf3 100644 --- a/Zend/tests/exception_022.phpt +++ b/Zend/tests/exception_022.phpt @@ -7,8 +7,8 @@ throw new Error(new stdClass); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: Error::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d +Fatal error: Uncaught TypeError: Error::__construct(): Argument #1 ($message) must be of type string, DynamicObject given in %s:%d Stack trace: -#0 %sexception_022.php(%d): Error->__construct(Object(stdClass)) +#0 %s(%d): Error->__construct(Object(DynamicObject)) #1 {main} thrown in %sexception_022.php on line %d diff --git a/Zend/tests/exception_from_toString.phpt b/Zend/tests/exception_from_toString.phpt index dd4de341caf2c..89590e7025e09 100644 --- a/Zend/tests/exception_from_toString.phpt +++ b/Zend/tests/exception_from_toString.phpt @@ -124,7 +124,7 @@ int(42) Exception Exception Exception -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } Exception string(1) "a" diff --git a/Zend/tests/first_class_callable_errors.phpt b/Zend/tests/first_class_callable_errors.phpt index dffcd779f361a..fc600c49a2e88 100644 --- a/Zend/tests/first_class_callable_errors.phpt +++ b/Zend/tests/first_class_callable_errors.phpt @@ -50,8 +50,8 @@ try { --EXPECT-- Value of type int is not callable Call to undefined function does_not_exist() -Call to undefined method stdClass::doesNotExist() -Call to undefined method stdClass::doesNotExist() -Call to undefined method stdClass::doesNotExist() +Call to undefined method DynamicObject::doesNotExist() +Call to undefined method DynamicObject::doesNotExist() +Call to undefined method DynamicObject::doesNotExist() Call to private method Test::privateMethod() from global scope Non-static method Test::instanceMethod() cannot be called statically diff --git a/Zend/tests/gc_005.phpt b/Zend/tests/gc_005.phpt index 71fb8909f58fe..14ca975155f85 100644 --- a/Zend/tests/gc_005.phpt +++ b/Zend/tests/gc_005.phpt @@ -11,8 +11,8 @@ unset($a); var_dump(gc_collect_cycles()); echo "ok\n" ?> ---EXPECTF-- -object(stdClass)#%d (1) { +--EXPECT-- +object(DynamicObject)#1 (1) { ["a"]=> *RECURSION* } diff --git a/Zend/tests/gc_006.phpt b/Zend/tests/gc_006.phpt index c633d038f0cda..a1ef5a529a244 100644 --- a/Zend/tests/gc_006.phpt +++ b/Zend/tests/gc_006.phpt @@ -12,8 +12,8 @@ unset($a); var_dump(gc_collect_cycles()); echo "ok\n" ?> ---EXPECTF-- -object(stdClass)#%d (1) { +--EXPECT-- +object(DynamicObject)#1 (1) { ["a"]=> array(1) { [0]=> diff --git a/Zend/tests/gc_008.phpt b/Zend/tests/gc_008.phpt index 4e27e5b70ad34..689b7af0a407c 100644 --- a/Zend/tests/gc_008.phpt +++ b/Zend/tests/gc_008.phpt @@ -13,8 +13,8 @@ unset($a); var_dump(gc_collect_cycles()); echo "ok\n" ?> ---EXPECTF-- -object(stdClass)#%d (1) { +--EXPECT-- +object(DynamicObject)#2 (1) { ["a"]=> *RECURSION* } diff --git a/Zend/tests/gc_009.phpt b/Zend/tests/gc_009.phpt index 3f4657d2e31be..fb531e5be718e 100644 --- a/Zend/tests/gc_009.phpt +++ b/Zend/tests/gc_009.phpt @@ -14,8 +14,8 @@ unset($a); var_dump(gc_collect_cycles()); echo "ok\n" ?> ---EXPECTF-- -object(stdClass)#%d (1) { +--EXPECT-- +object(DynamicObject)#1 (1) { ["a"]=> array(1) { [0]=> diff --git a/Zend/tests/gc_042.phpt b/Zend/tests/gc_042.phpt index c8dfc0ef86100..d5bd3808ae4b4 100644 --- a/Zend/tests/gc_042.phpt +++ b/Zend/tests/gc_042.phpt @@ -21,7 +21,7 @@ var_dump($x); --EXPECT-- object(Test)#1 (1) { ["x"]=> - object(stdClass)#2 (1) { + object(DynamicObject)#2 (1) { ["t"]=> *RECURSION* } diff --git a/Zend/tests/gc_043.phpt b/Zend/tests/gc_043.phpt index 06b64de39acf9..a00a06d1a8549 100644 --- a/Zend/tests/gc_043.phpt +++ b/Zend/tests/gc_043.phpt @@ -9,7 +9,7 @@ var_dump(unserialize($s)); gc_collect_cycles(); ?> --EXPECT-- -object(stdClass)#1 (2) { +object(DynamicObject)#1 (2) { ["5"]=> object(SplStack)#2 (2) { ["flags":"SplDoublyLinkedList":private]=> @@ -19,7 +19,7 @@ object(stdClass)#1 (2) { [0]=> *RECURSION* [1]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } } } @@ -36,7 +36,7 @@ object(stdClass)#1 (2) { [0]=> *RECURSION* [1]=> - object(stdClass)#6 (0) { + object(DynamicObject)#6 (0) { } } } diff --git a/Zend/tests/generators/bug63066.phpt b/Zend/tests/generators/bug63066.phpt index bf66904f2efd4..957fe65d96b55 100644 --- a/Zend/tests/generators/bug63066.phpt +++ b/Zend/tests/generators/bug63066.phpt @@ -14,8 +14,8 @@ foreach(gen(new stdClass()) as $value) --EXPECTF-- foo -Fatal error: Uncaught Error: Call to undefined method stdClass::fatalError() in %s:%d +Fatal error: Uncaught Error: Call to undefined method DynamicObject::fatalError() in %s:%d Stack trace: -#0 %s(%d): gen(Object(stdClass)) +#0 %s(%d): gen(Object(DynamicObject)) #1 {main} thrown in %sbug63066.php on line 5 diff --git a/Zend/tests/generators/generator_with_nonscalar_keys.phpt b/Zend/tests/generators/generator_with_nonscalar_keys.phpt index 5ae55a1be09a5..9d1459efb8019 100644 --- a/Zend/tests/generators/generator_with_nonscalar_keys.phpt +++ b/Zend/tests/generators/generator_with_nonscalar_keys.phpt @@ -34,11 +34,11 @@ array(3) { [2]=> int(6) } -object(stdClass)#3 (1) { +object(DynamicObject)#3 (1) { ["a"]=> string(1) "b" } -object(stdClass)#4 (1) { +object(DynamicObject)#4 (1) { ["b"]=> string(1) "a" } diff --git a/Zend/tests/generators/throw_not_an_exception.phpt b/Zend/tests/generators/throw_not_an_exception.phpt index 3b5a590096f4f..67685749469e8 100644 --- a/Zend/tests/generators/throw_not_an_exception.phpt +++ b/Zend/tests/generators/throw_not_an_exception.phpt @@ -12,8 +12,8 @@ $gen->throw(new stdClass); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: Generator::throw(): Argument #1 ($exception) must be of type Throwable, stdClass given in %s:%d +Fatal error: Uncaught TypeError: Generator::throw(): Argument #1 ($exception) must be of type Throwable, DynamicObject given in %s:%d Stack trace: -#0 %s(%d): Generator->throw(Object(stdClass)) +#0 %s(%d): Generator->throw(Object(DynamicObject)) #1 {main} thrown in %s on line %d diff --git a/Zend/tests/indirect_call_array_002.phpt b/Zend/tests/indirect_call_array_002.phpt index 5ef12f5cfbe88..b1f90313b230c 100644 --- a/Zend/tests/indirect_call_array_002.phpt +++ b/Zend/tests/indirect_call_array_002.phpt @@ -8,7 +8,7 @@ $arr(); ?> --EXPECTF-- -Fatal error: Uncaught Error: Call to undefined method stdClass::b() in %s:%d +Fatal error: Uncaught Error: Call to undefined method DynamicObject::b() in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/indirect_method_call_004.phpt b/Zend/tests/indirect_method_call_004.phpt index 6a4055595c2f0..7e0033bf9d43c 100644 --- a/Zend/tests/indirect_method_call_004.phpt +++ b/Zend/tests/indirect_method_call_004.phpt @@ -19,8 +19,8 @@ var_dump(clone (new bar)->z); var_dump(clone (new bar)->getZ()); ?> ---EXPECTF-- -object(stdClass)#%d (0) { +--EXPECT-- +object(DynamicObject)#1 (0) { } -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } diff --git a/Zend/tests/list/list_reference_002.phpt b/Zend/tests/list/list_reference_002.phpt index 32aad686d1eb8..2b62681286472 100644 --- a/Zend/tests/list/list_reference_002.phpt +++ b/Zend/tests/list/list_reference_002.phpt @@ -7,13 +7,13 @@ list(&$a, &$b) = $arr; var_dump($a, $b); var_dump($arr); ?> ---EXPECTF-- -object(stdClass)#%d (0) { +--EXPECT-- +object(DynamicObject)#1 (0) { } NULL array(2) { [0]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#1 (0) { } [1]=> &NULL diff --git a/Zend/tests/list_001.phpt b/Zend/tests/list_001.phpt index 4e0053edeeab2..428f477e7a5ad 100644 --- a/Zend/tests/list_001.phpt +++ b/Zend/tests/list_001.phpt @@ -10,11 +10,11 @@ var_dump($a, $b); ?> --EXPECT-- -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } -object(stdClass)#3 (0) { +object(DynamicObject)#3 (0) { } -object(stdClass)#4 (0) { +object(DynamicObject)#4 (0) { } diff --git a/Zend/tests/list_002.phpt b/Zend/tests/list_002.phpt index ac0d8974be4c9..904cda38d1158 100644 --- a/Zend/tests/list_002.phpt +++ b/Zend/tests/list_002.phpt @@ -13,8 +13,8 @@ var_dump($a, $b, $a === $b); ?> --EXPECT-- -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } bool(true) diff --git a/Zend/tests/list_005.phpt b/Zend/tests/list_005.phpt index 7dc3bf6fa36a6..440f675aedb35 100644 --- a/Zend/tests/list_005.phpt +++ b/Zend/tests/list_005.phpt @@ -44,7 +44,7 @@ NULL NULL ---- -Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d +Fatal error: Uncaught Error: Cannot use object of type DynamicObject as array in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/ns_062.phpt b/Zend/tests/ns_062.phpt index 89d0581ae67ba..e204f5b17b64d 100644 --- a/Zend/tests/ns_062.phpt +++ b/Zend/tests/ns_062.phpt @@ -9,5 +9,5 @@ echo get_class(new stdClass)."\n"; echo get_class(new A)."\n"; ?> --EXPECT-- -stdClass -stdClass +DynamicObject +DynamicObject diff --git a/Zend/tests/ns_070.phpt b/Zend/tests/ns_070.phpt index 9c0e06abffbff..2562399bfe441 100644 --- a/Zend/tests/ns_070.phpt +++ b/Zend/tests/ns_070.phpt @@ -15,7 +15,7 @@ new bar(new \stdclass); new bar(null); ?> ---EXPECTF-- -object(stdClass)#%d (0) { +--EXPECT-- +object(DynamicObject)#2 (0) { } NULL diff --git a/Zend/tests/ns_071.phpt b/Zend/tests/ns_071.phpt index 18e5a745d56e0..7367e6cd1e6f1 100644 --- a/Zend/tests/ns_071.phpt +++ b/Zend/tests/ns_071.phpt @@ -18,8 +18,8 @@ new bar(new \stdclass); --EXPECTF-- NULL -Fatal error: Uncaught TypeError: foo\bar::__construct(): Argument #1 ($x) must be of type ?array, stdClass given, called in %s:%d +Fatal error: Uncaught TypeError: foo\bar::__construct(): Argument #1 ($x) must be of type ?array, DynamicObject given, called in %s:%d Stack trace: -#0 %s(%d): foo\bar->__construct(Object(stdClass)) +#0 %s(%d): foo\bar->__construct(Object(DynamicObject)) #1 {main} thrown in %s on line %d diff --git a/Zend/tests/ns_072.phpt b/Zend/tests/ns_072.phpt index b41fe29778faa..0f821b8954956 100644 --- a/Zend/tests/ns_072.phpt +++ b/Zend/tests/ns_072.phpt @@ -30,8 +30,8 @@ object(foo\test)#%d (0) { } NULL -Fatal error: Uncaught TypeError: foo\bar::__construct(): Argument #1 ($x) must be of type ?foo\foo, stdClass given, called in %s:%d +Fatal error: Uncaught TypeError: foo\bar::__construct(): Argument #1 ($x) must be of type ?foo\foo, DynamicObject given, called in %s:%d Stack trace: -#0 %s(%d): foo\bar->__construct(Object(stdClass)) +#0 %s(%d): foo\bar->__construct(Object(DynamicObject)) #1 {main} thrown in %s on line %d diff --git a/Zend/tests/ns_073.phpt b/Zend/tests/ns_073.phpt index a3a9137e764d9..665422fdd2299 100644 --- a/Zend/tests/ns_073.phpt +++ b/Zend/tests/ns_073.phpt @@ -13,7 +13,7 @@ $x(NULL); $x(new \stdclass); ?> ---EXPECTF-- +--EXPECT-- NULL -object(stdClass)#%d (0) { +object(DynamicObject)#2 (0) { } diff --git a/Zend/tests/ns_074.phpt b/Zend/tests/ns_074.phpt index 37d4e7dc3a94e..3a7e731814bc4 100644 --- a/Zend/tests/ns_074.phpt +++ b/Zend/tests/ns_074.phpt @@ -20,5 +20,5 @@ $x(new \stdclass); NULL object(foo\stdclass)#%d (0) { } -object(stdClass)#%d (0) { +object(DynamicObject)#2 (0) { } diff --git a/Zend/tests/nullsafe_operator/015.phpt b/Zend/tests/nullsafe_operator/015.phpt index f63758e75929c..205e02db56c67 100644 --- a/Zend/tests/nullsafe_operator/015.phpt +++ b/Zend/tests/nullsafe_operator/015.phpt @@ -7,6 +7,6 @@ Test nullsafe in binary op ?> --EXPECTF-- -Warning: Undefined property: stdClass::$ in %s on line 3 +Warning: Undefined property: DynamicObject::$ in %s on line %d Warning: Attempt to read property "y" on null in %s on line 3 diff --git a/Zend/tests/nullsafe_operator/031.phpt b/Zend/tests/nullsafe_operator/031.phpt index 5d287ce05d716..0bbaad89656cb 100644 --- a/Zend/tests/nullsafe_operator/031.phpt +++ b/Zend/tests/nullsafe_operator/031.phpt @@ -14,5 +14,5 @@ var_dump($ref?->foo); --EXPECTF-- NULL -Warning: Undefined property: stdClass::$foo in %s on line %d +Warning: Undefined property: DynamicObject::$foo in %s on line %d NULL diff --git a/Zend/tests/object_array_cast.phpt b/Zend/tests/object_array_cast.phpt index b1c12b579d7e6..81e8568daa2c1 100644 --- a/Zend/tests/object_array_cast.phpt +++ b/Zend/tests/object_array_cast.phpt @@ -13,7 +13,7 @@ var_dump($obj); ?> --EXPECT-- -object(stdClass)#1 (3) { +object(DynamicObject)#1 (3) { ["0"]=> int(1) ["1"]=> @@ -37,7 +37,7 @@ array(3) { [2]=> int(3) } -object(stdClass)#1 (3) { +object(DynamicObject)#1 (3) { ["0"]=> int(1) ["1"]=> diff --git a/Zend/tests/objects_019.phpt b/Zend/tests/objects_019.phpt index 53889edfabe1e..ee9403a750f64 100644 --- a/Zend/tests/objects_019.phpt +++ b/Zend/tests/objects_019.phpt @@ -19,12 +19,12 @@ var_dump($foo, $x); --EXPECT-- array(2) { [0]=> - object(stdClass)#1 (1) { + object(DynamicObject)#1 (1) { ["a"]=> &int(2) } [1]=> - object(stdClass)#2 (1) { + object(DynamicObject)#2 (1) { ["a"]=> &int(2) } diff --git a/Zend/tests/objects_022.phpt b/Zend/tests/objects_022.phpt index 5fa6f8e95d6a5..4113f70c221e7 100644 --- a/Zend/tests/objects_022.phpt +++ b/Zend/tests/objects_022.phpt @@ -36,8 +36,8 @@ object(bar)#%d (0) { object(baz)#%d (0) { } -Fatal error: Uncaught TypeError: foo::testFoo(): Argument #1 ($obj) must be of type foo, stdClass given, called in %s:%d +Fatal error: Uncaught TypeError: foo::testFoo(): Argument #1 ($obj) must be of type foo, DynamicObject given, called in %s:%d Stack trace: -#0 %s(%d): foo->testFoo(Object(stdClass)) +#0 %s(%d): foo->testFoo(Object(DynamicObject)) #1 {main} thrown in %s on line %d diff --git a/Zend/tests/objects_031.phpt b/Zend/tests/objects_031.phpt index 0bf218209852a..8d2f77fb96db8 100644 --- a/Zend/tests/objects_031.phpt +++ b/Zend/tests/objects_031.phpt @@ -12,17 +12,17 @@ $x[0]->a = 1; var_dump($x); ?> ---EXPECTF-- +--EXPECT-- array(3) { [0]=> - object(stdClass)#%d (1) { + object(DynamicObject)#2 (1) { ["a"]=> int(1) } [1]=> - object(stdClass)#%d (0) { + object(DynamicObject)#3 (0) { } [2]=> - object(stdClass)#%d (0) { + object(DynamicObject)#4 (0) { } } diff --git a/Zend/tests/offset_object.phpt b/Zend/tests/offset_object.phpt index 972a901756ff1..1d4ecebc576fe 100644 --- a/Zend/tests/offset_object.phpt +++ b/Zend/tests/offset_object.phpt @@ -8,7 +8,7 @@ var_dump($object[1]); ?> --EXPECTF-- -Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d +Fatal error: Uncaught Error: Cannot use object of type DynamicObject as array in %s:%d Stack trace: #0 {main} thrown in %s on line %d diff --git a/Zend/tests/offset_string.phpt b/Zend/tests/offset_string.phpt index a32a682656896..756a0dc1da5af 100644 --- a/Zend/tests/offset_string.phpt +++ b/Zend/tests/offset_string.phpt @@ -68,6 +68,6 @@ string(1) "i" Warning: String offset cast occurred in %s on line %d string(1) "S" Cannot access offset of type resource on string -Cannot access offset of type stdClass on string +Cannot access offset of type DynamicObject on string Cannot access offset of type array on string Done diff --git a/Zend/tests/operator_unsupported_types.phpt b/Zend/tests/operator_unsupported_types.phpt index c90f0e374ab56..41bf0c6d68813 100644 --- a/Zend/tests/operator_unsupported_types.phpt +++ b/Zend/tests/operator_unsupported_types.phpt @@ -127,19 +127,19 @@ foreach ($illegalValues as $illegalValue) { --EXPECT-- BINARY OP: No error for [] + [] -Unsupported operand types: array + stdClass +Unsupported operand types: array + DynamicObject Unsupported operand types: array + resource Unsupported operand types: array + string -Unsupported operand types: stdClass + array -Unsupported operand types: stdClass + stdClass -Unsupported operand types: stdClass + resource -Unsupported operand types: stdClass + string +Unsupported operand types: DynamicObject + array +Unsupported operand types: DynamicObject + DynamicObject +Unsupported operand types: DynamicObject + resource +Unsupported operand types: DynamicObject + string Unsupported operand types: resource + array -Unsupported operand types: resource + stdClass +Unsupported operand types: resource + DynamicObject Unsupported operand types: resource + resource Unsupported operand types: resource + string Unsupported operand types: string + array -Unsupported operand types: string + stdClass +Unsupported operand types: string + DynamicObject Unsupported operand types: string + resource Unsupported operand types: string + string Unsupported operand types: array + null @@ -157,21 +157,21 @@ Unsupported operand types: string + array Unsupported operand types: array + string Warning: A non-numeric value encountered Unsupported operand types: string + array -Unsupported operand types: stdClass + null -Unsupported operand types: null + stdClass -Unsupported operand types: stdClass + bool -Unsupported operand types: bool + stdClass -Unsupported operand types: stdClass + bool -Unsupported operand types: bool + stdClass -Unsupported operand types: stdClass + int -Unsupported operand types: int + stdClass -Unsupported operand types: stdClass + float -Unsupported operand types: float + stdClass -Unsupported operand types: stdClass + string -Unsupported operand types: string + stdClass -Unsupported operand types: stdClass + string -Warning: A non-numeric value encountered -Unsupported operand types: string + stdClass +Unsupported operand types: DynamicObject + null +Unsupported operand types: null + DynamicObject +Unsupported operand types: DynamicObject + bool +Unsupported operand types: bool + DynamicObject +Unsupported operand types: DynamicObject + bool +Unsupported operand types: bool + DynamicObject +Unsupported operand types: DynamicObject + int +Unsupported operand types: int + DynamicObject +Unsupported operand types: DynamicObject + float +Unsupported operand types: float + DynamicObject +Unsupported operand types: DynamicObject + string +Unsupported operand types: string + DynamicObject +Unsupported operand types: DynamicObject + string +Warning: A non-numeric value encountered +Unsupported operand types: string + DynamicObject Unsupported operand types: resource + null Unsupported operand types: null + resource Unsupported operand types: resource + bool @@ -203,19 +203,19 @@ Unsupported operand types: string + string Warning: A non-numeric value encountered Unsupported operand types: string + string Unsupported operand types: array - array -Unsupported operand types: array - stdClass +Unsupported operand types: array - DynamicObject Unsupported operand types: array - resource Unsupported operand types: array - string -Unsupported operand types: stdClass - array -Unsupported operand types: stdClass - stdClass -Unsupported operand types: stdClass - resource -Unsupported operand types: stdClass - string +Unsupported operand types: DynamicObject - array +Unsupported operand types: DynamicObject - DynamicObject +Unsupported operand types: DynamicObject - resource +Unsupported operand types: DynamicObject - string Unsupported operand types: resource - array -Unsupported operand types: resource - stdClass +Unsupported operand types: resource - DynamicObject Unsupported operand types: resource - resource Unsupported operand types: resource - string Unsupported operand types: string - array -Unsupported operand types: string - stdClass +Unsupported operand types: string - DynamicObject Unsupported operand types: string - resource Unsupported operand types: string - string Unsupported operand types: array - null @@ -233,21 +233,21 @@ Unsupported operand types: string - array Unsupported operand types: array - string Warning: A non-numeric value encountered Unsupported operand types: string - array -Unsupported operand types: stdClass - null -Unsupported operand types: null - stdClass -Unsupported operand types: stdClass - bool -Unsupported operand types: bool - stdClass -Unsupported operand types: stdClass - bool -Unsupported operand types: bool - stdClass -Unsupported operand types: stdClass - int -Unsupported operand types: int - stdClass -Unsupported operand types: stdClass - float -Unsupported operand types: float - stdClass -Unsupported operand types: stdClass - string -Unsupported operand types: string - stdClass -Unsupported operand types: stdClass - string -Warning: A non-numeric value encountered -Unsupported operand types: string - stdClass +Unsupported operand types: DynamicObject - null +Unsupported operand types: null - DynamicObject +Unsupported operand types: DynamicObject - bool +Unsupported operand types: bool - DynamicObject +Unsupported operand types: DynamicObject - bool +Unsupported operand types: bool - DynamicObject +Unsupported operand types: DynamicObject - int +Unsupported operand types: int - DynamicObject +Unsupported operand types: DynamicObject - float +Unsupported operand types: float - DynamicObject +Unsupported operand types: DynamicObject - string +Unsupported operand types: string - DynamicObject +Unsupported operand types: DynamicObject - string +Warning: A non-numeric value encountered +Unsupported operand types: string - DynamicObject Unsupported operand types: resource - null Unsupported operand types: null - resource Unsupported operand types: resource - bool @@ -279,19 +279,19 @@ Unsupported operand types: string - string Warning: A non-numeric value encountered Unsupported operand types: string - string Unsupported operand types: array * array -Unsupported operand types: stdClass * array +Unsupported operand types: DynamicObject * array Unsupported operand types: resource * array Unsupported operand types: array * string -Unsupported operand types: stdClass * array -Unsupported operand types: stdClass * stdClass -Unsupported operand types: stdClass * resource -Unsupported operand types: stdClass * string +Unsupported operand types: DynamicObject * array +Unsupported operand types: DynamicObject * DynamicObject +Unsupported operand types: DynamicObject * resource +Unsupported operand types: DynamicObject * string Unsupported operand types: resource * array -Unsupported operand types: stdClass * resource +Unsupported operand types: DynamicObject * resource Unsupported operand types: resource * resource Unsupported operand types: resource * string Unsupported operand types: string * array -Unsupported operand types: stdClass * string +Unsupported operand types: DynamicObject * string Unsupported operand types: resource * string Unsupported operand types: string * string Unsupported operand types: array * null @@ -309,20 +309,20 @@ Unsupported operand types: string * array Unsupported operand types: array * string Warning: A non-numeric value encountered Unsupported operand types: string * array -Unsupported operand types: stdClass * null -Unsupported operand types: stdClass * null -Unsupported operand types: stdClass * bool -Unsupported operand types: stdClass * bool -Unsupported operand types: stdClass * bool -Unsupported operand types: stdClass * bool -Unsupported operand types: stdClass * int -Unsupported operand types: stdClass * int -Unsupported operand types: stdClass * float -Unsupported operand types: stdClass * float -Unsupported operand types: stdClass * string -Unsupported operand types: stdClass * string -Unsupported operand types: stdClass * string -Unsupported operand types: stdClass * string +Unsupported operand types: DynamicObject * null +Unsupported operand types: DynamicObject * null +Unsupported operand types: DynamicObject * bool +Unsupported operand types: DynamicObject * bool +Unsupported operand types: DynamicObject * bool +Unsupported operand types: DynamicObject * bool +Unsupported operand types: DynamicObject * int +Unsupported operand types: DynamicObject * int +Unsupported operand types: DynamicObject * float +Unsupported operand types: DynamicObject * float +Unsupported operand types: DynamicObject * string +Unsupported operand types: DynamicObject * string +Unsupported operand types: DynamicObject * string +Unsupported operand types: DynamicObject * string Unsupported operand types: resource * null Unsupported operand types: resource * null Unsupported operand types: resource * bool @@ -353,19 +353,19 @@ Unsupported operand types: string * string Warning: A non-numeric value encountered Unsupported operand types: string * string Unsupported operand types: array / array -Unsupported operand types: array / stdClass +Unsupported operand types: array / DynamicObject Unsupported operand types: array / resource Unsupported operand types: array / string -Unsupported operand types: stdClass / array -Unsupported operand types: stdClass / stdClass -Unsupported operand types: stdClass / resource -Unsupported operand types: stdClass / string +Unsupported operand types: DynamicObject / array +Unsupported operand types: DynamicObject / DynamicObject +Unsupported operand types: DynamicObject / resource +Unsupported operand types: DynamicObject / string Unsupported operand types: resource / array -Unsupported operand types: resource / stdClass +Unsupported operand types: resource / DynamicObject Unsupported operand types: resource / resource Unsupported operand types: resource / string Unsupported operand types: string / array -Unsupported operand types: string / stdClass +Unsupported operand types: string / DynamicObject Unsupported operand types: string / resource Unsupported operand types: string / string Unsupported operand types: array / null @@ -383,21 +383,21 @@ Unsupported operand types: string / array Unsupported operand types: array / string Warning: A non-numeric value encountered Unsupported operand types: string / array -Unsupported operand types: stdClass / null -Unsupported operand types: null / stdClass -Unsupported operand types: stdClass / bool -Unsupported operand types: bool / stdClass -Unsupported operand types: stdClass / bool -Unsupported operand types: bool / stdClass -Unsupported operand types: stdClass / int -Unsupported operand types: int / stdClass -Unsupported operand types: stdClass / float -Unsupported operand types: float / stdClass -Unsupported operand types: stdClass / string -Unsupported operand types: string / stdClass -Unsupported operand types: stdClass / string -Warning: A non-numeric value encountered -Unsupported operand types: string / stdClass +Unsupported operand types: DynamicObject / null +Unsupported operand types: null / DynamicObject +Unsupported operand types: DynamicObject / bool +Unsupported operand types: bool / DynamicObject +Unsupported operand types: DynamicObject / bool +Unsupported operand types: bool / DynamicObject +Unsupported operand types: DynamicObject / int +Unsupported operand types: int / DynamicObject +Unsupported operand types: DynamicObject / float +Unsupported operand types: float / DynamicObject +Unsupported operand types: DynamicObject / string +Unsupported operand types: string / DynamicObject +Unsupported operand types: DynamicObject / string +Warning: A non-numeric value encountered +Unsupported operand types: string / DynamicObject Unsupported operand types: resource / null Unsupported operand types: null / resource Unsupported operand types: resource / bool @@ -429,19 +429,19 @@ Unsupported operand types: string / string Warning: A non-numeric value encountered Unsupported operand types: string / string Unsupported operand types: array % array -Unsupported operand types: array % stdClass +Unsupported operand types: array % DynamicObject Unsupported operand types: array % resource Unsupported operand types: array % string -Unsupported operand types: stdClass % array -Unsupported operand types: stdClass % stdClass -Unsupported operand types: stdClass % resource -Unsupported operand types: stdClass % string +Unsupported operand types: DynamicObject % array +Unsupported operand types: DynamicObject % DynamicObject +Unsupported operand types: DynamicObject % resource +Unsupported operand types: DynamicObject % string Unsupported operand types: resource % array -Unsupported operand types: resource % stdClass +Unsupported operand types: resource % DynamicObject Unsupported operand types: resource % resource Unsupported operand types: resource % string Unsupported operand types: string % array -Unsupported operand types: string % stdClass +Unsupported operand types: string % DynamicObject Unsupported operand types: string % resource Unsupported operand types: string % string Unsupported operand types: array % null @@ -460,22 +460,22 @@ Unsupported operand types: string % array Unsupported operand types: array % string Warning: A non-numeric value encountered Unsupported operand types: string % array -Unsupported operand types: stdClass % null -Unsupported operand types: null % stdClass -Unsupported operand types: stdClass % bool -Unsupported operand types: bool % stdClass -Unsupported operand types: stdClass % bool -Unsupported operand types: bool % stdClass -Unsupported operand types: stdClass % int -Unsupported operand types: int % stdClass -Unsupported operand types: stdClass % float +Unsupported operand types: DynamicObject % null +Unsupported operand types: null % DynamicObject +Unsupported operand types: DynamicObject % bool +Unsupported operand types: bool % DynamicObject +Unsupported operand types: DynamicObject % bool +Unsupported operand types: bool % DynamicObject +Unsupported operand types: DynamicObject % int +Unsupported operand types: int % DynamicObject +Unsupported operand types: DynamicObject % float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float % stdClass -Unsupported operand types: stdClass % string -Unsupported operand types: string % stdClass -Unsupported operand types: stdClass % string +Unsupported operand types: float % DynamicObject +Unsupported operand types: DynamicObject % string +Unsupported operand types: string % DynamicObject +Unsupported operand types: DynamicObject % string Warning: A non-numeric value encountered -Unsupported operand types: string % stdClass +Unsupported operand types: string % DynamicObject Unsupported operand types: resource % null Unsupported operand types: null % resource Unsupported operand types: resource % bool @@ -509,19 +509,19 @@ Unsupported operand types: string % string Warning: A non-numeric value encountered Unsupported operand types: string % string Unsupported operand types: array ** array -Unsupported operand types: array ** stdClass +Unsupported operand types: array ** DynamicObject Unsupported operand types: array ** resource Unsupported operand types: array ** string -Unsupported operand types: stdClass ** array -Unsupported operand types: stdClass ** stdClass -Unsupported operand types: stdClass ** resource -Unsupported operand types: stdClass ** string +Unsupported operand types: DynamicObject ** array +Unsupported operand types: DynamicObject ** DynamicObject +Unsupported operand types: DynamicObject ** resource +Unsupported operand types: DynamicObject ** string Unsupported operand types: resource ** array -Unsupported operand types: resource ** stdClass +Unsupported operand types: resource ** DynamicObject Unsupported operand types: resource ** resource Unsupported operand types: resource ** string Unsupported operand types: string ** array -Unsupported operand types: string ** stdClass +Unsupported operand types: string ** DynamicObject Unsupported operand types: string ** resource Unsupported operand types: string ** string Unsupported operand types: array ** null @@ -539,21 +539,21 @@ Unsupported operand types: string ** array Unsupported operand types: array ** string Warning: A non-numeric value encountered Unsupported operand types: string ** array -Unsupported operand types: stdClass ** null -Unsupported operand types: null ** stdClass -Unsupported operand types: stdClass ** bool -Unsupported operand types: bool ** stdClass -Unsupported operand types: stdClass ** bool -Unsupported operand types: bool ** stdClass -Unsupported operand types: stdClass ** int -Unsupported operand types: int ** stdClass -Unsupported operand types: stdClass ** float -Unsupported operand types: float ** stdClass -Unsupported operand types: stdClass ** string -Unsupported operand types: string ** stdClass -Unsupported operand types: stdClass ** string -Warning: A non-numeric value encountered -Unsupported operand types: string ** stdClass +Unsupported operand types: DynamicObject ** null +Unsupported operand types: null ** DynamicObject +Unsupported operand types: DynamicObject ** bool +Unsupported operand types: bool ** DynamicObject +Unsupported operand types: DynamicObject ** bool +Unsupported operand types: bool ** DynamicObject +Unsupported operand types: DynamicObject ** int +Unsupported operand types: int ** DynamicObject +Unsupported operand types: DynamicObject ** float +Unsupported operand types: float ** DynamicObject +Unsupported operand types: DynamicObject ** string +Unsupported operand types: string ** DynamicObject +Unsupported operand types: DynamicObject ** string +Warning: A non-numeric value encountered +Unsupported operand types: string ** DynamicObject Unsupported operand types: resource ** null Unsupported operand types: null ** resource Unsupported operand types: resource ** bool @@ -585,19 +585,19 @@ Unsupported operand types: string ** string Warning: A non-numeric value encountered Unsupported operand types: string ** string Unsupported operand types: array << array -Unsupported operand types: array << stdClass +Unsupported operand types: array << DynamicObject Unsupported operand types: array << resource Unsupported operand types: array << string -Unsupported operand types: stdClass << array -Unsupported operand types: stdClass << stdClass -Unsupported operand types: stdClass << resource -Unsupported operand types: stdClass << string +Unsupported operand types: DynamicObject << array +Unsupported operand types: DynamicObject << DynamicObject +Unsupported operand types: DynamicObject << resource +Unsupported operand types: DynamicObject << string Unsupported operand types: resource << array -Unsupported operand types: resource << stdClass +Unsupported operand types: resource << DynamicObject Unsupported operand types: resource << resource Unsupported operand types: resource << string Unsupported operand types: string << array -Unsupported operand types: string << stdClass +Unsupported operand types: string << DynamicObject Unsupported operand types: string << resource Unsupported operand types: string << string Unsupported operand types: array << null @@ -616,22 +616,22 @@ Unsupported operand types: string << array Unsupported operand types: array << string Warning: A non-numeric value encountered Unsupported operand types: string << array -Unsupported operand types: stdClass << null -Unsupported operand types: null << stdClass -Unsupported operand types: stdClass << bool -Unsupported operand types: bool << stdClass -Unsupported operand types: stdClass << bool -Unsupported operand types: bool << stdClass -Unsupported operand types: stdClass << int -Unsupported operand types: int << stdClass -Unsupported operand types: stdClass << float +Unsupported operand types: DynamicObject << null +Unsupported operand types: null << DynamicObject +Unsupported operand types: DynamicObject << bool +Unsupported operand types: bool << DynamicObject +Unsupported operand types: DynamicObject << bool +Unsupported operand types: bool << DynamicObject +Unsupported operand types: DynamicObject << int +Unsupported operand types: int << DynamicObject +Unsupported operand types: DynamicObject << float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float << stdClass -Unsupported operand types: stdClass << string -Unsupported operand types: string << stdClass -Unsupported operand types: stdClass << string +Unsupported operand types: float << DynamicObject +Unsupported operand types: DynamicObject << string +Unsupported operand types: string << DynamicObject +Unsupported operand types: DynamicObject << string Warning: A non-numeric value encountered -Unsupported operand types: string << stdClass +Unsupported operand types: string << DynamicObject Unsupported operand types: resource << null Unsupported operand types: null << resource Unsupported operand types: resource << bool @@ -665,19 +665,19 @@ Unsupported operand types: string << string Warning: A non-numeric value encountered Unsupported operand types: string << string Unsupported operand types: array >> array -Unsupported operand types: array >> stdClass +Unsupported operand types: array >> DynamicObject Unsupported operand types: array >> resource Unsupported operand types: array >> string -Unsupported operand types: stdClass >> array -Unsupported operand types: stdClass >> stdClass -Unsupported operand types: stdClass >> resource -Unsupported operand types: stdClass >> string +Unsupported operand types: DynamicObject >> array +Unsupported operand types: DynamicObject >> DynamicObject +Unsupported operand types: DynamicObject >> resource +Unsupported operand types: DynamicObject >> string Unsupported operand types: resource >> array -Unsupported operand types: resource >> stdClass +Unsupported operand types: resource >> DynamicObject Unsupported operand types: resource >> resource Unsupported operand types: resource >> string Unsupported operand types: string >> array -Unsupported operand types: string >> stdClass +Unsupported operand types: string >> DynamicObject Unsupported operand types: string >> resource Unsupported operand types: string >> string Unsupported operand types: array >> null @@ -696,22 +696,22 @@ Unsupported operand types: string >> array Unsupported operand types: array >> string Warning: A non-numeric value encountered Unsupported operand types: string >> array -Unsupported operand types: stdClass >> null -Unsupported operand types: null >> stdClass -Unsupported operand types: stdClass >> bool -Unsupported operand types: bool >> stdClass -Unsupported operand types: stdClass >> bool -Unsupported operand types: bool >> stdClass -Unsupported operand types: stdClass >> int -Unsupported operand types: int >> stdClass -Unsupported operand types: stdClass >> float +Unsupported operand types: DynamicObject >> null +Unsupported operand types: null >> DynamicObject +Unsupported operand types: DynamicObject >> bool +Unsupported operand types: bool >> DynamicObject +Unsupported operand types: DynamicObject >> bool +Unsupported operand types: bool >> DynamicObject +Unsupported operand types: DynamicObject >> int +Unsupported operand types: int >> DynamicObject +Unsupported operand types: DynamicObject >> float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float >> stdClass -Unsupported operand types: stdClass >> string -Unsupported operand types: string >> stdClass -Unsupported operand types: stdClass >> string +Unsupported operand types: float >> DynamicObject +Unsupported operand types: DynamicObject >> string +Unsupported operand types: string >> DynamicObject +Unsupported operand types: DynamicObject >> string Warning: A non-numeric value encountered -Unsupported operand types: string >> stdClass +Unsupported operand types: string >> DynamicObject Unsupported operand types: resource >> null Unsupported operand types: null >> resource Unsupported operand types: resource >> bool @@ -745,19 +745,19 @@ Unsupported operand types: string >> string Warning: A non-numeric value encountered Unsupported operand types: string >> string Unsupported operand types: array & array -Unsupported operand types: stdClass & array +Unsupported operand types: DynamicObject & array Unsupported operand types: resource & array Unsupported operand types: array & string -Unsupported operand types: stdClass & array -Unsupported operand types: stdClass & stdClass -Unsupported operand types: stdClass & resource -Unsupported operand types: stdClass & string +Unsupported operand types: DynamicObject & array +Unsupported operand types: DynamicObject & DynamicObject +Unsupported operand types: DynamicObject & resource +Unsupported operand types: DynamicObject & string Unsupported operand types: resource & array -Unsupported operand types: stdClass & resource +Unsupported operand types: DynamicObject & resource Unsupported operand types: resource & resource Unsupported operand types: resource & string Unsupported operand types: string & array -Unsupported operand types: stdClass & string +Unsupported operand types: DynamicObject & string Unsupported operand types: resource & string No error for "foo" & "foo" Unsupported operand types: array & null @@ -776,20 +776,20 @@ Unsupported operand types: string & array Unsupported operand types: array & string Warning: A non-numeric value encountered Unsupported operand types: string & array -Unsupported operand types: stdClass & null -Unsupported operand types: stdClass & null -Unsupported operand types: stdClass & bool -Unsupported operand types: stdClass & bool -Unsupported operand types: stdClass & bool -Unsupported operand types: stdClass & bool -Unsupported operand types: stdClass & int -Unsupported operand types: stdClass & int -Unsupported operand types: stdClass & float -Unsupported operand types: stdClass & float -Unsupported operand types: stdClass & string -Unsupported operand types: stdClass & string -Unsupported operand types: stdClass & string -Unsupported operand types: stdClass & string +Unsupported operand types: DynamicObject & null +Unsupported operand types: DynamicObject & null +Unsupported operand types: DynamicObject & bool +Unsupported operand types: DynamicObject & bool +Unsupported operand types: DynamicObject & bool +Unsupported operand types: DynamicObject & bool +Unsupported operand types: DynamicObject & int +Unsupported operand types: DynamicObject & int +Unsupported operand types: DynamicObject & float +Unsupported operand types: DynamicObject & float +Unsupported operand types: DynamicObject & string +Unsupported operand types: DynamicObject & string +Unsupported operand types: DynamicObject & string +Unsupported operand types: DynamicObject & string Unsupported operand types: resource & null Unsupported operand types: resource & null Unsupported operand types: resource & bool @@ -820,19 +820,19 @@ No error for "123" & "foo" No error for "foo" & "123foo" No error for "123foo" & "foo" Unsupported operand types: array | array -Unsupported operand types: stdClass | array +Unsupported operand types: DynamicObject | array Unsupported operand types: resource | array Unsupported operand types: array | string -Unsupported operand types: stdClass | array -Unsupported operand types: stdClass | stdClass -Unsupported operand types: stdClass | resource -Unsupported operand types: stdClass | string +Unsupported operand types: DynamicObject | array +Unsupported operand types: DynamicObject | DynamicObject +Unsupported operand types: DynamicObject | resource +Unsupported operand types: DynamicObject | string Unsupported operand types: resource | array -Unsupported operand types: stdClass | resource +Unsupported operand types: DynamicObject | resource Unsupported operand types: resource | resource Unsupported operand types: resource | string Unsupported operand types: string | array -Unsupported operand types: stdClass | string +Unsupported operand types: DynamicObject | string Unsupported operand types: resource | string No error for "foo" | "foo" Unsupported operand types: array | null @@ -851,20 +851,20 @@ Unsupported operand types: string | array Unsupported operand types: array | string Warning: A non-numeric value encountered Unsupported operand types: string | array -Unsupported operand types: stdClass | null -Unsupported operand types: stdClass | null -Unsupported operand types: stdClass | bool -Unsupported operand types: stdClass | bool -Unsupported operand types: stdClass | bool -Unsupported operand types: stdClass | bool -Unsupported operand types: stdClass | int -Unsupported operand types: stdClass | int -Unsupported operand types: stdClass | float -Unsupported operand types: stdClass | float -Unsupported operand types: stdClass | string -Unsupported operand types: stdClass | string -Unsupported operand types: stdClass | string -Unsupported operand types: stdClass | string +Unsupported operand types: DynamicObject | null +Unsupported operand types: DynamicObject | null +Unsupported operand types: DynamicObject | bool +Unsupported operand types: DynamicObject | bool +Unsupported operand types: DynamicObject | bool +Unsupported operand types: DynamicObject | bool +Unsupported operand types: DynamicObject | int +Unsupported operand types: DynamicObject | int +Unsupported operand types: DynamicObject | float +Unsupported operand types: DynamicObject | float +Unsupported operand types: DynamicObject | string +Unsupported operand types: DynamicObject | string +Unsupported operand types: DynamicObject | string +Unsupported operand types: DynamicObject | string Unsupported operand types: resource | null Unsupported operand types: resource | null Unsupported operand types: resource | bool @@ -895,19 +895,19 @@ No error for "123" | "foo" No error for "foo" | "123foo" No error for "123foo" | "foo" Unsupported operand types: array ^ array -Unsupported operand types: stdClass ^ array +Unsupported operand types: DynamicObject ^ array Unsupported operand types: resource ^ array Unsupported operand types: array ^ string -Unsupported operand types: stdClass ^ array -Unsupported operand types: stdClass ^ stdClass -Unsupported operand types: stdClass ^ resource -Unsupported operand types: stdClass ^ string +Unsupported operand types: DynamicObject ^ array +Unsupported operand types: DynamicObject ^ DynamicObject +Unsupported operand types: DynamicObject ^ resource +Unsupported operand types: DynamicObject ^ string Unsupported operand types: resource ^ array -Unsupported operand types: stdClass ^ resource +Unsupported operand types: DynamicObject ^ resource Unsupported operand types: resource ^ resource Unsupported operand types: resource ^ string Unsupported operand types: string ^ array -Unsupported operand types: stdClass ^ string +Unsupported operand types: DynamicObject ^ string Unsupported operand types: resource ^ string No error for "foo" ^ "foo" Unsupported operand types: array ^ null @@ -926,20 +926,20 @@ Unsupported operand types: string ^ array Unsupported operand types: array ^ string Warning: A non-numeric value encountered Unsupported operand types: string ^ array -Unsupported operand types: stdClass ^ null -Unsupported operand types: stdClass ^ null -Unsupported operand types: stdClass ^ bool -Unsupported operand types: stdClass ^ bool -Unsupported operand types: stdClass ^ bool -Unsupported operand types: stdClass ^ bool -Unsupported operand types: stdClass ^ int -Unsupported operand types: stdClass ^ int -Unsupported operand types: stdClass ^ float -Unsupported operand types: stdClass ^ float -Unsupported operand types: stdClass ^ string -Unsupported operand types: stdClass ^ string -Unsupported operand types: stdClass ^ string -Unsupported operand types: stdClass ^ string +Unsupported operand types: DynamicObject ^ null +Unsupported operand types: DynamicObject ^ null +Unsupported operand types: DynamicObject ^ bool +Unsupported operand types: DynamicObject ^ bool +Unsupported operand types: DynamicObject ^ bool +Unsupported operand types: DynamicObject ^ bool +Unsupported operand types: DynamicObject ^ int +Unsupported operand types: DynamicObject ^ int +Unsupported operand types: DynamicObject ^ float +Unsupported operand types: DynamicObject ^ float +Unsupported operand types: DynamicObject ^ string +Unsupported operand types: DynamicObject ^ string +Unsupported operand types: DynamicObject ^ string +Unsupported operand types: DynamicObject ^ string Unsupported operand types: resource ^ null Unsupported operand types: resource ^ null Unsupported operand types: resource ^ bool @@ -1045,24 +1045,24 @@ Warning: Array to string conversion Warning: Array to string conversion No error for [] . [] Warning: Array to string conversion -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string Warning: Array to string conversion No error for [] . STDOUT Warning: Array to string conversion No error for [] . "foo" Warning: Array to string conversion -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string Warning: Array to string conversion No error for STDOUT . [] -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string No error for STDOUT . STDOUT No error for STDOUT . "foo" Warning: Array to string conversion No error for "foo" . [] -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string No error for "foo" . STDOUT No error for "foo" . "foo" Warning: Array to string conversion @@ -1093,20 +1093,20 @@ Warning: Array to string conversion No error for [] . "123foo" Warning: Array to string conversion No error for "123foo" . [] -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string No error for STDOUT . null No error for null . STDOUT No error for STDOUT . true @@ -1139,19 +1139,19 @@ No error for "123foo" . "foo" ASSIGN OP: No error for [] += [] -Unsupported operand types: array + stdClass +Unsupported operand types: array + DynamicObject Unsupported operand types: array + resource Unsupported operand types: array + string -Unsupported operand types: stdClass + array -Unsupported operand types: stdClass + stdClass -Unsupported operand types: stdClass + resource -Unsupported operand types: stdClass + string +Unsupported operand types: DynamicObject + array +Unsupported operand types: DynamicObject + DynamicObject +Unsupported operand types: DynamicObject + resource +Unsupported operand types: DynamicObject + string Unsupported operand types: resource + array -Unsupported operand types: resource + stdClass +Unsupported operand types: resource + DynamicObject Unsupported operand types: resource + resource Unsupported operand types: resource + string Unsupported operand types: string + array -Unsupported operand types: string + stdClass +Unsupported operand types: string + DynamicObject Unsupported operand types: string + resource Unsupported operand types: string + string Unsupported operand types: array + null @@ -1169,21 +1169,21 @@ Unsupported operand types: string + array Unsupported operand types: array + string Warning: A non-numeric value encountered Unsupported operand types: string + array -Unsupported operand types: stdClass + null -Unsupported operand types: null + stdClass -Unsupported operand types: stdClass + bool -Unsupported operand types: bool + stdClass -Unsupported operand types: stdClass + bool -Unsupported operand types: bool + stdClass -Unsupported operand types: stdClass + int -Unsupported operand types: int + stdClass -Unsupported operand types: stdClass + float -Unsupported operand types: float + stdClass -Unsupported operand types: stdClass + string -Unsupported operand types: string + stdClass -Unsupported operand types: stdClass + string -Warning: A non-numeric value encountered -Unsupported operand types: string + stdClass +Unsupported operand types: DynamicObject + null +Unsupported operand types: null + DynamicObject +Unsupported operand types: DynamicObject + bool +Unsupported operand types: bool + DynamicObject +Unsupported operand types: DynamicObject + bool +Unsupported operand types: bool + DynamicObject +Unsupported operand types: DynamicObject + int +Unsupported operand types: int + DynamicObject +Unsupported operand types: DynamicObject + float +Unsupported operand types: float + DynamicObject +Unsupported operand types: DynamicObject + string +Unsupported operand types: string + DynamicObject +Unsupported operand types: DynamicObject + string +Warning: A non-numeric value encountered +Unsupported operand types: string + DynamicObject Unsupported operand types: resource + null Unsupported operand types: null + resource Unsupported operand types: resource + bool @@ -1215,19 +1215,19 @@ Unsupported operand types: string + string Warning: A non-numeric value encountered Unsupported operand types: string + string Unsupported operand types: array - array -Unsupported operand types: array - stdClass +Unsupported operand types: array - DynamicObject Unsupported operand types: array - resource Unsupported operand types: array - string -Unsupported operand types: stdClass - array -Unsupported operand types: stdClass - stdClass -Unsupported operand types: stdClass - resource -Unsupported operand types: stdClass - string +Unsupported operand types: DynamicObject - array +Unsupported operand types: DynamicObject - DynamicObject +Unsupported operand types: DynamicObject - resource +Unsupported operand types: DynamicObject - string Unsupported operand types: resource - array -Unsupported operand types: resource - stdClass +Unsupported operand types: resource - DynamicObject Unsupported operand types: resource - resource Unsupported operand types: resource - string Unsupported operand types: string - array -Unsupported operand types: string - stdClass +Unsupported operand types: string - DynamicObject Unsupported operand types: string - resource Unsupported operand types: string - string Unsupported operand types: array - null @@ -1245,21 +1245,21 @@ Unsupported operand types: string - array Unsupported operand types: array - string Warning: A non-numeric value encountered Unsupported operand types: string - array -Unsupported operand types: stdClass - null -Unsupported operand types: null - stdClass -Unsupported operand types: stdClass - bool -Unsupported operand types: bool - stdClass -Unsupported operand types: stdClass - bool -Unsupported operand types: bool - stdClass -Unsupported operand types: stdClass - int -Unsupported operand types: int - stdClass -Unsupported operand types: stdClass - float -Unsupported operand types: float - stdClass -Unsupported operand types: stdClass - string -Unsupported operand types: string - stdClass -Unsupported operand types: stdClass - string -Warning: A non-numeric value encountered -Unsupported operand types: string - stdClass +Unsupported operand types: DynamicObject - null +Unsupported operand types: null - DynamicObject +Unsupported operand types: DynamicObject - bool +Unsupported operand types: bool - DynamicObject +Unsupported operand types: DynamicObject - bool +Unsupported operand types: bool - DynamicObject +Unsupported operand types: DynamicObject - int +Unsupported operand types: int - DynamicObject +Unsupported operand types: DynamicObject - float +Unsupported operand types: float - DynamicObject +Unsupported operand types: DynamicObject - string +Unsupported operand types: string - DynamicObject +Unsupported operand types: DynamicObject - string +Warning: A non-numeric value encountered +Unsupported operand types: string - DynamicObject Unsupported operand types: resource - null Unsupported operand types: null - resource Unsupported operand types: resource - bool @@ -1291,19 +1291,19 @@ Unsupported operand types: string - string Warning: A non-numeric value encountered Unsupported operand types: string - string Unsupported operand types: array * array -Unsupported operand types: array * stdClass +Unsupported operand types: array * DynamicObject Unsupported operand types: array * resource Unsupported operand types: array * string -Unsupported operand types: stdClass * array -Unsupported operand types: stdClass * stdClass -Unsupported operand types: stdClass * resource -Unsupported operand types: stdClass * string +Unsupported operand types: DynamicObject * array +Unsupported operand types: DynamicObject * DynamicObject +Unsupported operand types: DynamicObject * resource +Unsupported operand types: DynamicObject * string Unsupported operand types: resource * array -Unsupported operand types: resource * stdClass +Unsupported operand types: resource * DynamicObject Unsupported operand types: resource * resource Unsupported operand types: resource * string Unsupported operand types: string * array -Unsupported operand types: string * stdClass +Unsupported operand types: string * DynamicObject Unsupported operand types: string * resource Unsupported operand types: string * string Unsupported operand types: array * null @@ -1321,21 +1321,21 @@ Unsupported operand types: string * array Unsupported operand types: array * string Warning: A non-numeric value encountered Unsupported operand types: string * array -Unsupported operand types: stdClass * null -Unsupported operand types: null * stdClass -Unsupported operand types: stdClass * bool -Unsupported operand types: bool * stdClass -Unsupported operand types: stdClass * bool -Unsupported operand types: bool * stdClass -Unsupported operand types: stdClass * int -Unsupported operand types: int * stdClass -Unsupported operand types: stdClass * float -Unsupported operand types: float * stdClass -Unsupported operand types: stdClass * string -Unsupported operand types: string * stdClass -Unsupported operand types: stdClass * string -Warning: A non-numeric value encountered -Unsupported operand types: string * stdClass +Unsupported operand types: DynamicObject * null +Unsupported operand types: null * DynamicObject +Unsupported operand types: DynamicObject * bool +Unsupported operand types: bool * DynamicObject +Unsupported operand types: DynamicObject * bool +Unsupported operand types: bool * DynamicObject +Unsupported operand types: DynamicObject * int +Unsupported operand types: int * DynamicObject +Unsupported operand types: DynamicObject * float +Unsupported operand types: float * DynamicObject +Unsupported operand types: DynamicObject * string +Unsupported operand types: string * DynamicObject +Unsupported operand types: DynamicObject * string +Warning: A non-numeric value encountered +Unsupported operand types: string * DynamicObject Unsupported operand types: resource * null Unsupported operand types: null * resource Unsupported operand types: resource * bool @@ -1367,19 +1367,19 @@ Unsupported operand types: string * string Warning: A non-numeric value encountered Unsupported operand types: string * string Unsupported operand types: array / array -Unsupported operand types: array / stdClass +Unsupported operand types: array / DynamicObject Unsupported operand types: array / resource Unsupported operand types: array / string -Unsupported operand types: stdClass / array -Unsupported operand types: stdClass / stdClass -Unsupported operand types: stdClass / resource -Unsupported operand types: stdClass / string +Unsupported operand types: DynamicObject / array +Unsupported operand types: DynamicObject / DynamicObject +Unsupported operand types: DynamicObject / resource +Unsupported operand types: DynamicObject / string Unsupported operand types: resource / array -Unsupported operand types: resource / stdClass +Unsupported operand types: resource / DynamicObject Unsupported operand types: resource / resource Unsupported operand types: resource / string Unsupported operand types: string / array -Unsupported operand types: string / stdClass +Unsupported operand types: string / DynamicObject Unsupported operand types: string / resource Unsupported operand types: string / string Unsupported operand types: array / null @@ -1397,21 +1397,21 @@ Unsupported operand types: string / array Unsupported operand types: array / string Warning: A non-numeric value encountered Unsupported operand types: string / array -Unsupported operand types: stdClass / null -Unsupported operand types: null / stdClass -Unsupported operand types: stdClass / bool -Unsupported operand types: bool / stdClass -Unsupported operand types: stdClass / bool -Unsupported operand types: bool / stdClass -Unsupported operand types: stdClass / int -Unsupported operand types: int / stdClass -Unsupported operand types: stdClass / float -Unsupported operand types: float / stdClass -Unsupported operand types: stdClass / string -Unsupported operand types: string / stdClass -Unsupported operand types: stdClass / string -Warning: A non-numeric value encountered -Unsupported operand types: string / stdClass +Unsupported operand types: DynamicObject / null +Unsupported operand types: null / DynamicObject +Unsupported operand types: DynamicObject / bool +Unsupported operand types: bool / DynamicObject +Unsupported operand types: DynamicObject / bool +Unsupported operand types: bool / DynamicObject +Unsupported operand types: DynamicObject / int +Unsupported operand types: int / DynamicObject +Unsupported operand types: DynamicObject / float +Unsupported operand types: float / DynamicObject +Unsupported operand types: DynamicObject / string +Unsupported operand types: string / DynamicObject +Unsupported operand types: DynamicObject / string +Warning: A non-numeric value encountered +Unsupported operand types: string / DynamicObject Unsupported operand types: resource / null Unsupported operand types: null / resource Unsupported operand types: resource / bool @@ -1443,19 +1443,19 @@ Unsupported operand types: string / string Warning: A non-numeric value encountered Unsupported operand types: string / string Unsupported operand types: array % array -Unsupported operand types: array % stdClass +Unsupported operand types: array % DynamicObject Unsupported operand types: array % resource Unsupported operand types: array % string -Unsupported operand types: stdClass % array -Unsupported operand types: stdClass % stdClass -Unsupported operand types: stdClass % resource -Unsupported operand types: stdClass % string +Unsupported operand types: DynamicObject % array +Unsupported operand types: DynamicObject % DynamicObject +Unsupported operand types: DynamicObject % resource +Unsupported operand types: DynamicObject % string Unsupported operand types: resource % array -Unsupported operand types: resource % stdClass +Unsupported operand types: resource % DynamicObject Unsupported operand types: resource % resource Unsupported operand types: resource % string Unsupported operand types: string % array -Unsupported operand types: string % stdClass +Unsupported operand types: string % DynamicObject Unsupported operand types: string % resource Unsupported operand types: string % string Unsupported operand types: array % null @@ -1474,22 +1474,22 @@ Unsupported operand types: string % array Unsupported operand types: array % string Warning: A non-numeric value encountered Unsupported operand types: string % array -Unsupported operand types: stdClass % null -Unsupported operand types: null % stdClass -Unsupported operand types: stdClass % bool -Unsupported operand types: bool % stdClass -Unsupported operand types: stdClass % bool -Unsupported operand types: bool % stdClass -Unsupported operand types: stdClass % int -Unsupported operand types: int % stdClass -Unsupported operand types: stdClass % float +Unsupported operand types: DynamicObject % null +Unsupported operand types: null % DynamicObject +Unsupported operand types: DynamicObject % bool +Unsupported operand types: bool % DynamicObject +Unsupported operand types: DynamicObject % bool +Unsupported operand types: bool % DynamicObject +Unsupported operand types: DynamicObject % int +Unsupported operand types: int % DynamicObject +Unsupported operand types: DynamicObject % float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float % stdClass -Unsupported operand types: stdClass % string -Unsupported operand types: string % stdClass -Unsupported operand types: stdClass % string +Unsupported operand types: float % DynamicObject +Unsupported operand types: DynamicObject % string +Unsupported operand types: string % DynamicObject +Unsupported operand types: DynamicObject % string Warning: A non-numeric value encountered -Unsupported operand types: string % stdClass +Unsupported operand types: string % DynamicObject Unsupported operand types: resource % null Unsupported operand types: null % resource Unsupported operand types: resource % bool @@ -1523,19 +1523,19 @@ Unsupported operand types: string % string Warning: A non-numeric value encountered Unsupported operand types: string % string Unsupported operand types: array ** array -Unsupported operand types: array ** stdClass +Unsupported operand types: array ** DynamicObject Unsupported operand types: array ** resource Unsupported operand types: array ** string -Unsupported operand types: stdClass ** array -Unsupported operand types: stdClass ** stdClass -Unsupported operand types: stdClass ** resource -Unsupported operand types: stdClass ** string +Unsupported operand types: DynamicObject ** array +Unsupported operand types: DynamicObject ** DynamicObject +Unsupported operand types: DynamicObject ** resource +Unsupported operand types: DynamicObject ** string Unsupported operand types: resource ** array -Unsupported operand types: resource ** stdClass +Unsupported operand types: resource ** DynamicObject Unsupported operand types: resource ** resource Unsupported operand types: resource ** string Unsupported operand types: string ** array -Unsupported operand types: string ** stdClass +Unsupported operand types: string ** DynamicObject Unsupported operand types: string ** resource Unsupported operand types: string ** string Unsupported operand types: array ** null @@ -1553,21 +1553,21 @@ Unsupported operand types: string ** array Unsupported operand types: array ** string Warning: A non-numeric value encountered Unsupported operand types: string ** array -Unsupported operand types: stdClass ** null -Unsupported operand types: null ** stdClass -Unsupported operand types: stdClass ** bool -Unsupported operand types: bool ** stdClass -Unsupported operand types: stdClass ** bool -Unsupported operand types: bool ** stdClass -Unsupported operand types: stdClass ** int -Unsupported operand types: int ** stdClass -Unsupported operand types: stdClass ** float -Unsupported operand types: float ** stdClass -Unsupported operand types: stdClass ** string -Unsupported operand types: string ** stdClass -Unsupported operand types: stdClass ** string -Warning: A non-numeric value encountered -Unsupported operand types: string ** stdClass +Unsupported operand types: DynamicObject ** null +Unsupported operand types: null ** DynamicObject +Unsupported operand types: DynamicObject ** bool +Unsupported operand types: bool ** DynamicObject +Unsupported operand types: DynamicObject ** bool +Unsupported operand types: bool ** DynamicObject +Unsupported operand types: DynamicObject ** int +Unsupported operand types: int ** DynamicObject +Unsupported operand types: DynamicObject ** float +Unsupported operand types: float ** DynamicObject +Unsupported operand types: DynamicObject ** string +Unsupported operand types: string ** DynamicObject +Unsupported operand types: DynamicObject ** string +Warning: A non-numeric value encountered +Unsupported operand types: string ** DynamicObject Unsupported operand types: resource ** null Unsupported operand types: null ** resource Unsupported operand types: resource ** bool @@ -1599,19 +1599,19 @@ Unsupported operand types: string ** string Warning: A non-numeric value encountered Unsupported operand types: string ** string Unsupported operand types: array << array -Unsupported operand types: array << stdClass +Unsupported operand types: array << DynamicObject Unsupported operand types: array << resource Unsupported operand types: array << string -Unsupported operand types: stdClass << array -Unsupported operand types: stdClass << stdClass -Unsupported operand types: stdClass << resource -Unsupported operand types: stdClass << string +Unsupported operand types: DynamicObject << array +Unsupported operand types: DynamicObject << DynamicObject +Unsupported operand types: DynamicObject << resource +Unsupported operand types: DynamicObject << string Unsupported operand types: resource << array -Unsupported operand types: resource << stdClass +Unsupported operand types: resource << DynamicObject Unsupported operand types: resource << resource Unsupported operand types: resource << string Unsupported operand types: string << array -Unsupported operand types: string << stdClass +Unsupported operand types: string << DynamicObject Unsupported operand types: string << resource Unsupported operand types: string << string Unsupported operand types: array << null @@ -1630,22 +1630,22 @@ Unsupported operand types: string << array Unsupported operand types: array << string Warning: A non-numeric value encountered Unsupported operand types: string << array -Unsupported operand types: stdClass << null -Unsupported operand types: null << stdClass -Unsupported operand types: stdClass << bool -Unsupported operand types: bool << stdClass -Unsupported operand types: stdClass << bool -Unsupported operand types: bool << stdClass -Unsupported operand types: stdClass << int -Unsupported operand types: int << stdClass -Unsupported operand types: stdClass << float +Unsupported operand types: DynamicObject << null +Unsupported operand types: null << DynamicObject +Unsupported operand types: DynamicObject << bool +Unsupported operand types: bool << DynamicObject +Unsupported operand types: DynamicObject << bool +Unsupported operand types: bool << DynamicObject +Unsupported operand types: DynamicObject << int +Unsupported operand types: int << DynamicObject +Unsupported operand types: DynamicObject << float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float << stdClass -Unsupported operand types: stdClass << string -Unsupported operand types: string << stdClass -Unsupported operand types: stdClass << string +Unsupported operand types: float << DynamicObject +Unsupported operand types: DynamicObject << string +Unsupported operand types: string << DynamicObject +Unsupported operand types: DynamicObject << string Warning: A non-numeric value encountered -Unsupported operand types: string << stdClass +Unsupported operand types: string << DynamicObject Unsupported operand types: resource << null Unsupported operand types: null << resource Unsupported operand types: resource << bool @@ -1679,19 +1679,19 @@ Unsupported operand types: string << string Warning: A non-numeric value encountered Unsupported operand types: string << string Unsupported operand types: array >> array -Unsupported operand types: array >> stdClass +Unsupported operand types: array >> DynamicObject Unsupported operand types: array >> resource Unsupported operand types: array >> string -Unsupported operand types: stdClass >> array -Unsupported operand types: stdClass >> stdClass -Unsupported operand types: stdClass >> resource -Unsupported operand types: stdClass >> string +Unsupported operand types: DynamicObject >> array +Unsupported operand types: DynamicObject >> DynamicObject +Unsupported operand types: DynamicObject >> resource +Unsupported operand types: DynamicObject >> string Unsupported operand types: resource >> array -Unsupported operand types: resource >> stdClass +Unsupported operand types: resource >> DynamicObject Unsupported operand types: resource >> resource Unsupported operand types: resource >> string Unsupported operand types: string >> array -Unsupported operand types: string >> stdClass +Unsupported operand types: string >> DynamicObject Unsupported operand types: string >> resource Unsupported operand types: string >> string Unsupported operand types: array >> null @@ -1710,22 +1710,22 @@ Unsupported operand types: string >> array Unsupported operand types: array >> string Warning: A non-numeric value encountered Unsupported operand types: string >> array -Unsupported operand types: stdClass >> null -Unsupported operand types: null >> stdClass -Unsupported operand types: stdClass >> bool -Unsupported operand types: bool >> stdClass -Unsupported operand types: stdClass >> bool -Unsupported operand types: bool >> stdClass -Unsupported operand types: stdClass >> int -Unsupported operand types: int >> stdClass -Unsupported operand types: stdClass >> float +Unsupported operand types: DynamicObject >> null +Unsupported operand types: null >> DynamicObject +Unsupported operand types: DynamicObject >> bool +Unsupported operand types: bool >> DynamicObject +Unsupported operand types: DynamicObject >> bool +Unsupported operand types: bool >> DynamicObject +Unsupported operand types: DynamicObject >> int +Unsupported operand types: int >> DynamicObject +Unsupported operand types: DynamicObject >> float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float >> stdClass -Unsupported operand types: stdClass >> string -Unsupported operand types: string >> stdClass -Unsupported operand types: stdClass >> string +Unsupported operand types: float >> DynamicObject +Unsupported operand types: DynamicObject >> string +Unsupported operand types: string >> DynamicObject +Unsupported operand types: DynamicObject >> string Warning: A non-numeric value encountered -Unsupported operand types: string >> stdClass +Unsupported operand types: string >> DynamicObject Unsupported operand types: resource >> null Unsupported operand types: null >> resource Unsupported operand types: resource >> bool @@ -1759,19 +1759,19 @@ Unsupported operand types: string >> string Warning: A non-numeric value encountered Unsupported operand types: string >> string Unsupported operand types: array & array -Unsupported operand types: array & stdClass +Unsupported operand types: array & DynamicObject Unsupported operand types: array & resource Unsupported operand types: array & string -Unsupported operand types: stdClass & array -Unsupported operand types: stdClass & stdClass -Unsupported operand types: stdClass & resource -Unsupported operand types: stdClass & string +Unsupported operand types: DynamicObject & array +Unsupported operand types: DynamicObject & DynamicObject +Unsupported operand types: DynamicObject & resource +Unsupported operand types: DynamicObject & string Unsupported operand types: resource & array -Unsupported operand types: resource & stdClass +Unsupported operand types: resource & DynamicObject Unsupported operand types: resource & resource Unsupported operand types: resource & string Unsupported operand types: string & array -Unsupported operand types: string & stdClass +Unsupported operand types: string & DynamicObject Unsupported operand types: string & resource No error for "foo" &= "foo" Unsupported operand types: array & null @@ -1790,22 +1790,22 @@ Unsupported operand types: string & array Unsupported operand types: array & string Warning: A non-numeric value encountered Unsupported operand types: string & array -Unsupported operand types: stdClass & null -Unsupported operand types: null & stdClass -Unsupported operand types: stdClass & bool -Unsupported operand types: bool & stdClass -Unsupported operand types: stdClass & bool -Unsupported operand types: bool & stdClass -Unsupported operand types: stdClass & int -Unsupported operand types: int & stdClass -Unsupported operand types: stdClass & float +Unsupported operand types: DynamicObject & null +Unsupported operand types: null & DynamicObject +Unsupported operand types: DynamicObject & bool +Unsupported operand types: bool & DynamicObject +Unsupported operand types: DynamicObject & bool +Unsupported operand types: bool & DynamicObject +Unsupported operand types: DynamicObject & int +Unsupported operand types: int & DynamicObject +Unsupported operand types: DynamicObject & float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float & stdClass -Unsupported operand types: stdClass & string -Unsupported operand types: string & stdClass -Unsupported operand types: stdClass & string +Unsupported operand types: float & DynamicObject +Unsupported operand types: DynamicObject & string +Unsupported operand types: string & DynamicObject +Unsupported operand types: DynamicObject & string Warning: A non-numeric value encountered -Unsupported operand types: string & stdClass +Unsupported operand types: string & DynamicObject Unsupported operand types: resource & null Unsupported operand types: null & resource Unsupported operand types: resource & bool @@ -1838,19 +1838,19 @@ No error for "123" &= "foo" No error for "foo" &= "123foo" No error for "123foo" &= "foo" Unsupported operand types: array | array -Unsupported operand types: array | stdClass +Unsupported operand types: array | DynamicObject Unsupported operand types: array | resource Unsupported operand types: array | string -Unsupported operand types: stdClass | array -Unsupported operand types: stdClass | stdClass -Unsupported operand types: stdClass | resource -Unsupported operand types: stdClass | string +Unsupported operand types: DynamicObject | array +Unsupported operand types: DynamicObject | DynamicObject +Unsupported operand types: DynamicObject | resource +Unsupported operand types: DynamicObject | string Unsupported operand types: resource | array -Unsupported operand types: resource | stdClass +Unsupported operand types: resource | DynamicObject Unsupported operand types: resource | resource Unsupported operand types: resource | string Unsupported operand types: string | array -Unsupported operand types: string | stdClass +Unsupported operand types: string | DynamicObject Unsupported operand types: string | resource No error for "foo" |= "foo" Unsupported operand types: array | null @@ -1869,22 +1869,22 @@ Unsupported operand types: string | array Unsupported operand types: array | string Warning: A non-numeric value encountered Unsupported operand types: string | array -Unsupported operand types: stdClass | null -Unsupported operand types: null | stdClass -Unsupported operand types: stdClass | bool -Unsupported operand types: bool | stdClass -Unsupported operand types: stdClass | bool -Unsupported operand types: bool | stdClass -Unsupported operand types: stdClass | int -Unsupported operand types: int | stdClass -Unsupported operand types: stdClass | float +Unsupported operand types: DynamicObject | null +Unsupported operand types: null | DynamicObject +Unsupported operand types: DynamicObject | bool +Unsupported operand types: bool | DynamicObject +Unsupported operand types: DynamicObject | bool +Unsupported operand types: bool | DynamicObject +Unsupported operand types: DynamicObject | int +Unsupported operand types: int | DynamicObject +Unsupported operand types: DynamicObject | float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float | stdClass -Unsupported operand types: stdClass | string -Unsupported operand types: string | stdClass -Unsupported operand types: stdClass | string +Unsupported operand types: float | DynamicObject +Unsupported operand types: DynamicObject | string +Unsupported operand types: string | DynamicObject +Unsupported operand types: DynamicObject | string Warning: A non-numeric value encountered -Unsupported operand types: string | stdClass +Unsupported operand types: string | DynamicObject Unsupported operand types: resource | null Unsupported operand types: null | resource Unsupported operand types: resource | bool @@ -1917,19 +1917,19 @@ No error for "123" |= "foo" No error for "foo" |= "123foo" No error for "123foo" |= "foo" Unsupported operand types: array ^ array -Unsupported operand types: array ^ stdClass +Unsupported operand types: array ^ DynamicObject Unsupported operand types: array ^ resource Unsupported operand types: array ^ string -Unsupported operand types: stdClass ^ array -Unsupported operand types: stdClass ^ stdClass -Unsupported operand types: stdClass ^ resource -Unsupported operand types: stdClass ^ string +Unsupported operand types: DynamicObject ^ array +Unsupported operand types: DynamicObject ^ DynamicObject +Unsupported operand types: DynamicObject ^ resource +Unsupported operand types: DynamicObject ^ string Unsupported operand types: resource ^ array -Unsupported operand types: resource ^ stdClass +Unsupported operand types: resource ^ DynamicObject Unsupported operand types: resource ^ resource Unsupported operand types: resource ^ string Unsupported operand types: string ^ array -Unsupported operand types: string ^ stdClass +Unsupported operand types: string ^ DynamicObject Unsupported operand types: string ^ resource No error for "foo" ^= "foo" Unsupported operand types: array ^ null @@ -1948,22 +1948,22 @@ Unsupported operand types: string ^ array Unsupported operand types: array ^ string Warning: A non-numeric value encountered Unsupported operand types: string ^ array -Unsupported operand types: stdClass ^ null -Unsupported operand types: null ^ stdClass -Unsupported operand types: stdClass ^ bool -Unsupported operand types: bool ^ stdClass -Unsupported operand types: stdClass ^ bool -Unsupported operand types: bool ^ stdClass -Unsupported operand types: stdClass ^ int -Unsupported operand types: int ^ stdClass -Unsupported operand types: stdClass ^ float +Unsupported operand types: DynamicObject ^ null +Unsupported operand types: null ^ DynamicObject +Unsupported operand types: DynamicObject ^ bool +Unsupported operand types: bool ^ DynamicObject +Unsupported operand types: DynamicObject ^ bool +Unsupported operand types: bool ^ DynamicObject +Unsupported operand types: DynamicObject ^ int +Unsupported operand types: int ^ DynamicObject +Unsupported operand types: DynamicObject ^ float Warning: Implicit conversion from float 3.5 to int loses precision -Unsupported operand types: float ^ stdClass -Unsupported operand types: stdClass ^ string -Unsupported operand types: string ^ stdClass -Unsupported operand types: stdClass ^ string +Unsupported operand types: float ^ DynamicObject +Unsupported operand types: DynamicObject ^ string +Unsupported operand types: string ^ DynamicObject +Unsupported operand types: DynamicObject ^ string Warning: A non-numeric value encountered -Unsupported operand types: string ^ stdClass +Unsupported operand types: string ^ DynamicObject Unsupported operand types: resource ^ null Unsupported operand types: null ^ resource Unsupported operand types: resource ^ bool @@ -1999,23 +1999,23 @@ Warning: Array to string conversion Warning: Array to string conversion No error for [] .= [] Warning: Array to string conversion -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string Warning: Array to string conversion No error for [] .= STDOUT Warning: Array to string conversion No error for [] .= "foo" -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string Warning: Array to string conversion No error for STDOUT .= [] -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string No error for STDOUT .= STDOUT No error for STDOUT .= "foo" Warning: Array to string conversion No error for "foo" .= [] -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string No error for "foo" .= STDOUT No error for "foo" .= "foo" Warning: Array to string conversion @@ -2046,20 +2046,20 @@ Warning: Array to string conversion No error for [] .= "123foo" Warning: Array to string conversion No error for "123foo" .= [] -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string +Object of class DynamicObject could not be converted to string No error for STDOUT .= null No error for null .= STDOUT No error for STDOUT .= true @@ -2092,7 +2092,7 @@ No error for "123foo" .= "foo" UNARY OP: Cannot perform bitwise not on array -Cannot perform bitwise not on stdClass +Cannot perform bitwise not on DynamicObject Cannot perform bitwise not on resource No error for ~"foo" @@ -2100,8 +2100,8 @@ No error for ~"foo" INCDEC: Cannot increment array Cannot decrement array -Cannot increment stdClass -Cannot decrement stdClass +Cannot increment DynamicObject +Cannot decrement DynamicObject Cannot increment resource Cannot decrement resource No error for fop++ diff --git a/Zend/tests/overloaded_assign_prop_return_value.phpt b/Zend/tests/overloaded_assign_prop_return_value.phpt index 954505f1e9940..71f2c9c4978e4 100644 --- a/Zend/tests/overloaded_assign_prop_return_value.phpt +++ b/Zend/tests/overloaded_assign_prop_return_value.phpt @@ -10,5 +10,5 @@ $x = $obj->prop = new stdClass; var_dump($x); ?> --EXPECT-- -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } diff --git a/Zend/tests/readonly_props/cache_slot.phpt b/Zend/tests/readonly_props/cache_slot.phpt index 75c26a2d1808e..c23081c332345 100644 --- a/Zend/tests/readonly_props/cache_slot.phpt +++ b/Zend/tests/readonly_props/cache_slot.phpt @@ -98,11 +98,11 @@ Cannot modify readonly property Test::$prop2 array(0) { } -object(stdClass)#3 (1) { +object(DynamicObject)#3 (1) { ["foo"]=> int(1) } -object(stdClass)#3 (1) { +object(DynamicObject)#3 (1) { ["foo"]=> int(1) } @@ -112,11 +112,11 @@ Cannot modify readonly property Test::$prop2 array(0) { } -object(stdClass)#5 (1) { +object(DynamicObject)#5 (1) { ["foo"]=> int(1) } -object(stdClass)#5 (1) { +object(DynamicObject)#5 (1) { ["foo"]=> int(1) } diff --git a/Zend/tests/readonly_props/readonly_containing_object.phpt b/Zend/tests/readonly_props/readonly_containing_object.phpt index 996b0ee3d44b7..937f1060d0801 100644 --- a/Zend/tests/readonly_props/readonly_containing_object.phpt +++ b/Zend/tests/readonly_props/readonly_containing_object.phpt @@ -44,14 +44,14 @@ var_dump($test->prop); ?> --EXPECT-- -Unsupported operand types: stdClass + int +Unsupported operand types: DynamicObject + int Cannot modify readonly property Test::$prop Cannot modify readonly property Test::$prop -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["foo"]=> int(3) } -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["foo"]=> int(3) } diff --git a/Zend/tests/settype_object.phpt b/Zend/tests/settype_object.phpt index 7d98168e294b4..7a4cac246d031 100644 --- a/Zend/tests/settype_object.phpt +++ b/Zend/tests/settype_object.phpt @@ -37,33 +37,33 @@ foreach ($vars as $var) { echo "Done\n"; ?> --EXPECTF-- -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> string(6) "string" } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> string(7) "8754456" } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> string(0) "" } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> string(1) "%0" } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> int(9876545) } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> float(0.1) } -object(stdClass)#%d (0) { +object(DynamicObject)#2 (0) { } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["0"]=> int(1) ["1"]=> @@ -71,17 +71,17 @@ object(stdClass)#%d (3) { ["2"]=> int(3) } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> bool(false) } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> bool(true) } -object(stdClass)#%d (0) { +object(DynamicObject)#2 (0) { } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> resource(%d) of type (stream) } diff --git a/Zend/tests/static_variable_in_private_trait_method.phpt b/Zend/tests/static_variable_in_private_trait_method.phpt index 0d842c857c005..621850def8e02 100644 --- a/Zend/tests/static_variable_in_private_trait_method.phpt +++ b/Zend/tests/static_variable_in_private_trait_method.phpt @@ -29,7 +29,7 @@ var_dump(D::method2()); ?> --EXPECT-- -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } diff --git a/Zend/tests/str_or_obj_of_class_zpp.phpt b/Zend/tests/str_or_obj_of_class_zpp.phpt index dec9bee69d5c5..55408f2bf40a1 100644 --- a/Zend/tests/str_or_obj_of_class_zpp.phpt +++ b/Zend/tests/str_or_obj_of_class_zpp.phpt @@ -55,16 +55,16 @@ string(1) "1" Deprecated: zend_string_or_stdclass(): Passing null to parameter #1 ($param) of type string is deprecated in %s on line %d string(0) "" -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } string(8) "ToString" -zend_string_or_stdclass(): Argument #1 ($param) must be of type stdClass|string, array given -zend_string_or_stdclass(): Argument #1 ($param) must be of type stdClass|string, Foo given +zend_string_or_stdclass(): Argument #1 ($param) must be of type DynamicObject|string, array given +zend_string_or_stdclass(): Argument #1 ($param) must be of type DynamicObject|string, Foo given string(6) "string" string(1) "1" NULL -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } string(8) "ToString" -zend_string_or_stdclass_or_null(): Argument #1 ($param) must be of type stdClass|string|null, array given -zend_string_or_stdclass_or_null(): Argument #1 ($param) must be of type stdClass|string|null, Foo given +zend_string_or_stdclass_or_null(): Argument #1 ($param) must be of type DynamicObject|string|null, array given +zend_string_or_stdclass_or_null(): Argument #1 ($param) must be of type DynamicObject|string|null, Foo given diff --git a/Zend/tests/str_or_obj_zpp.phpt b/Zend/tests/str_or_obj_zpp.phpt index 3c71bde5fd3a9..3edc9d1e2189a 100644 --- a/Zend/tests/str_or_obj_zpp.phpt +++ b/Zend/tests/str_or_obj_zpp.phpt @@ -38,7 +38,7 @@ string(1) "1" Deprecated: zend_string_or_object(): Passing null to parameter #1 ($param) of type object|string is deprecated in %s on line %d string(0) "" -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } object(Foo)#1 (0) { } @@ -46,7 +46,7 @@ zend_string_or_object(): Argument #1 ($param) must be of type object|string, arr string(6) "string" string(1) "1" NULL -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } object(Foo)#2 (0) { } diff --git a/Zend/tests/type_declarations/closure_with_variadic.phpt b/Zend/tests/type_declarations/closure_with_variadic.phpt index acbf57fa5582f..9ba248ede2127 100644 --- a/Zend/tests/type_declarations/closure_with_variadic.phpt +++ b/Zend/tests/type_declarations/closure_with_variadic.phpt @@ -10,6 +10,6 @@ $f(new stdClass); --EXPECT-- array(1) { [0]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } } diff --git a/Zend/tests/type_declarations/scalar_basic.phpt b/Zend/tests/type_declarations/scalar_basic.phpt index c69d17c8c7004..82086ce7056f8 100644 --- a/Zend/tests/type_declarations/scalar_basic.phpt +++ b/Zend/tests/type_declarations/scalar_basic.phpt @@ -103,9 +103,9 @@ int(0) } *** Caught {closure}(): Argument #1 ($i) must be of type int, array given, called in %s on line %d -*** Trying object(stdClass)#%s (0) { +*** Trying object(DynamicObject)#6 (0) { } -*** Caught {closure}(): Argument #1 ($i) must be of type int, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($i) must be of type int, DynamicObject given, called in %s on line %d *** Trying object(StringCapable)#%s (0) { } @@ -156,9 +156,9 @@ float(0) } *** Caught {closure}(): Argument #1 ($f) must be of type float, array given, called in %s on line %d -*** Trying object(stdClass)#%s (0) { +*** Trying object(DynamicObject)#6 (0) { } -*** Caught {closure}(): Argument #1 ($f) must be of type float, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($f) must be of type float, DynamicObject given, called in %s on line %d *** Trying object(StringCapable)#%s (0) { } @@ -209,9 +209,9 @@ string(0) "" } *** Caught {closure}(): Argument #1 ($s) must be of type string, array given, called in %s on line %d -*** Trying object(stdClass)#%s (0) { +*** Trying object(DynamicObject)#6 (0) { } -*** Caught {closure}(): Argument #1 ($s) must be of type string, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($s) must be of type string, DynamicObject given, called in %s on line %d *** Trying object(StringCapable)#%s (0) { } @@ -262,9 +262,9 @@ bool(false) } *** Caught {closure}(): Argument #1 ($b) must be of type bool, array given, called in %s on line %d -*** Trying object(stdClass)#%s (0) { +*** Trying object(DynamicObject)#6 (0) { } -*** Caught {closure}(): Argument #1 ($b) must be of type bool, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($b) must be of type bool, DynamicObject given, called in %s on line %d *** Trying object(StringCapable)#%s (0) { } diff --git a/Zend/tests/type_declarations/scalar_return_basic_64bit.phpt b/Zend/tests/type_declarations/scalar_return_basic_64bit.phpt index 644ff58299440..3431d00dae470 100644 --- a/Zend/tests/type_declarations/scalar_return_basic_64bit.phpt +++ b/Zend/tests/type_declarations/scalar_return_basic_64bit.phpt @@ -92,9 +92,9 @@ int(0) *** Trying array(0) { } *** Caught {closure}(): Return value must be of type int, array returned in %s on line %d -*** Trying object(stdClass)#6 (0) { +*** Trying object(DynamicObject)#6 (0) { } -*** Caught {closure}(): Return value must be of type int, stdClass returned in %s on line %d +*** Caught {closure}(): Return value must be of type int, DynamicObject returned in %s on line %d *** Trying object(StringCapable)#7 (0) { } *** Caught {closure}(): Return value must be of type int, StringCapable returned in %s on line %d @@ -129,9 +129,9 @@ float(0) *** Trying array(0) { } *** Caught {closure}(): Return value must be of type float, array returned in %s on line %d -*** Trying object(stdClass)#6 (0) { +*** Trying object(DynamicObject)#6 (0) { } -*** Caught {closure}(): Return value must be of type float, stdClass returned in %s on line %d +*** Caught {closure}(): Return value must be of type float, DynamicObject returned in %s on line %d *** Trying object(StringCapable)#7 (0) { } *** Caught {closure}(): Return value must be of type float, StringCapable returned in %s on line %d @@ -166,9 +166,9 @@ string(0) "" *** Trying array(0) { } *** Caught {closure}(): Return value must be of type string, array returned in %s on line %d -*** Trying object(stdClass)#6 (0) { +*** Trying object(DynamicObject)#6 (0) { } -*** Caught {closure}(): Return value must be of type string, stdClass returned in %s on line %d +*** Caught {closure}(): Return value must be of type string, DynamicObject returned in %s on line %d *** Trying object(StringCapable)#7 (0) { } string(6) "foobar" @@ -203,9 +203,9 @@ bool(false) *** Trying array(0) { } *** Caught {closure}(): Return value must be of type bool, array returned in %s on line %d -*** Trying object(stdClass)#6 (0) { +*** Trying object(DynamicObject)#6 (0) { } -*** Caught {closure}(): Return value must be of type bool, stdClass returned in %s on line %d +*** Caught {closure}(): Return value must be of type bool, DynamicObject returned in %s on line %d *** Trying object(StringCapable)#7 (0) { } *** Caught {closure}(): Return value must be of type bool, StringCapable returned in %s on line %d diff --git a/Zend/tests/type_declarations/scalar_strict_64bit.phpt b/Zend/tests/type_declarations/scalar_strict_64bit.phpt index 4705fa81dbd70..b4a22ada1905e 100644 --- a/Zend/tests/type_declarations/scalar_strict_64bit.phpt +++ b/Zend/tests/type_declarations/scalar_strict_64bit.phpt @@ -96,9 +96,9 @@ int(9223372036854775807) } *** Caught {closure}(): Argument #1 ($i) must be of type int, array given, called in %s on line %d -*** Trying object(stdClass)#5 (0) { +*** Trying object(DynamicObject)#5 (0) { } -*** Caught {closure}(): Argument #1 ($i) must be of type int, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($i) must be of type int, DynamicObject given, called in %s on line %d *** Trying object(StringCapable)#6 (0) { } @@ -149,9 +149,9 @@ float(NAN) } *** Caught {closure}(): Argument #1 ($f) must be of type float, array given, called in %s on line %d -*** Trying object(stdClass)#5 (0) { +*** Trying object(DynamicObject)#5 (0) { } -*** Caught {closure}(): Argument #1 ($f) must be of type float, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($f) must be of type float, DynamicObject given, called in %s on line %d *** Trying object(StringCapable)#6 (0) { } @@ -202,9 +202,9 @@ string(0) "" } *** Caught {closure}(): Argument #1 ($s) must be of type string, array given, called in %s on line %d -*** Trying object(stdClass)#5 (0) { +*** Trying object(DynamicObject)#5 (0) { } -*** Caught {closure}(): Argument #1 ($s) must be of type string, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($s) must be of type string, DynamicObject given, called in %s on line %d *** Trying object(StringCapable)#6 (0) { } @@ -255,9 +255,9 @@ bool(false) } *** Caught {closure}(): Argument #1 ($b) must be of type bool, array given, called in %s on line %d -*** Trying object(stdClass)#5 (0) { +*** Trying object(DynamicObject)#5 (0) { } -*** Caught {closure}(): Argument #1 ($b) must be of type bool, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($b) must be of type bool, DynamicObject given, called in %s on line %d *** Trying object(StringCapable)#6 (0) { } diff --git a/Zend/tests/type_declarations/scalar_strict_basic.phpt b/Zend/tests/type_declarations/scalar_strict_basic.phpt index f02649b8b55fc..0e69139ea4673 100644 --- a/Zend/tests/type_declarations/scalar_strict_basic.phpt +++ b/Zend/tests/type_declarations/scalar_strict_basic.phpt @@ -75,7 +75,7 @@ int(1) *** Caught {closure}(): Argument #1 ($i) must be of type int, array given, called in %s on line %d *** Trying object value -*** Caught {closure}(): Argument #1 ($i) must be of type int, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($i) must be of type int, DynamicObject given, called in %s on line %d *** Trying resource value *** Caught {closure}(): Argument #1 ($i) must be of type int, resource given, called in %s on line %d @@ -104,7 +104,7 @@ float(1) *** Caught {closure}(): Argument #1 ($f) must be of type float, array given, called in %s on line %d *** Trying object value -*** Caught {closure}(): Argument #1 ($f) must be of type float, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($f) must be of type float, DynamicObject given, called in %s on line %d *** Trying resource value *** Caught {closure}(): Argument #1 ($f) must be of type float, resource given, called in %s on line %d @@ -133,7 +133,7 @@ string(1) "1" *** Caught {closure}(): Argument #1 ($s) must be of type string, array given, called in %s on line %d *** Trying object value -*** Caught {closure}(): Argument #1 ($s) must be of type string, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($s) must be of type string, DynamicObject given, called in %s on line %d *** Trying resource value *** Caught {closure}(): Argument #1 ($s) must be of type string, resource given, called in %s on line %d @@ -162,7 +162,7 @@ bool(false) *** Caught {closure}(): Argument #1 ($b) must be of type bool, array given, called in %s on line %d *** Trying object value -*** Caught {closure}(): Argument #1 ($b) must be of type bool, stdClass given, called in %s on line %d +*** Caught {closure}(): Argument #1 ($b) must be of type bool, DynamicObject given, called in %s on line %d *** Trying resource value *** Caught {closure}(): Argument #1 ($b) must be of type bool, resource given, called in %s on line %d diff --git a/Zend/tests/type_declarations/static_type_return.phpt b/Zend/tests/type_declarations/static_type_return.phpt index 820f4b0d6f071..ef9056c3c0545 100644 --- a/Zend/tests/type_declarations/static_type_return.phpt +++ b/Zend/tests/type_declarations/static_type_return.phpt @@ -86,6 +86,6 @@ object(A)#3 (0) { } A::test4(): Return value must be of type B|array, A returned -{closure}(): Return value must be of type static, stdClass returned +{closure}(): Return value must be of type static, DynamicObject returned object(A)#1 (0) { } diff --git a/Zend/tests/type_declarations/typed_properties_001.phpt b/Zend/tests/type_declarations/typed_properties_001.phpt index ce791cd4b56ed..3f32c8ff4b1d6 100644 --- a/Zend/tests/type_declarations/typed_properties_001.phpt +++ b/Zend/tests/type_declarations/typed_properties_001.phpt @@ -34,7 +34,7 @@ object(class@anonymous)#%d (6) { string(4) "four" } ["std"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#2 (0) { } ["it"]=> array(1) { diff --git a/Zend/tests/type_declarations/typed_properties_043.phpt b/Zend/tests/type_declarations/typed_properties_043.phpt index ed4951f39c378..8b92a18fabe45 100644 --- a/Zend/tests/type_declarations/typed_properties_043.phpt +++ b/Zend/tests/type_declarations/typed_properties_043.phpt @@ -42,13 +42,13 @@ var_dump(Bar::$selfProp, Bar::$selfNullProp, Bar::$parentProp); ?> --EXPECTF-- Deprecated: Accessing static trait property Test::$selfProp is deprecated, it should only be accessed on a class using the trait in %s on line %d -Cannot assign stdClass to property Test::$selfProp of type self +Cannot assign DynamicObject to property Test::$selfProp of type self Deprecated: Accessing static trait property Test::$selfNullProp is deprecated, it should only be accessed on a class using the trait in %s on line %d -Cannot assign stdClass to property Test::$selfNullProp of type ?self +Cannot assign DynamicObject to property Test::$selfNullProp of type ?self Deprecated: Accessing static trait property Test::$parentProp is deprecated, it should only be accessed on a class using the trait in %s on line %d -Cannot assign stdClass to property Test::$parentProp of type parent +Cannot assign DynamicObject to property Test::$parentProp of type parent Deprecated: Accessing static trait property Test::$selfNullProp is deprecated, it should only be accessed on a class using the trait in %s on line %d diff --git a/Zend/tests/type_declarations/typed_properties_095.phpt b/Zend/tests/type_declarations/typed_properties_095.phpt index a03bcf9555276..38be8ff34816b 100644 --- a/Zend/tests/type_declarations/typed_properties_095.phpt +++ b/Zend/tests/type_declarations/typed_properties_095.phpt @@ -66,7 +66,7 @@ object(_ZendTestClass)#1 (3) { ["intProp"]=> int(456) ["classProp"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["classUnionProp"]=> NULL @@ -80,7 +80,7 @@ object(Test)#4 (3) { ["intProp"]=> int(456) ["classProp"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } ["classUnionProp"]=> NULL diff --git a/Zend/tests/type_declarations/typed_properties_class_loading.phpt b/Zend/tests/type_declarations/typed_properties_class_loading.phpt index a81bc5b4fe091..b676e95edef54 100644 --- a/Zend/tests/type_declarations/typed_properties_class_loading.phpt +++ b/Zend/tests/type_declarations/typed_properties_class_loading.phpt @@ -43,9 +43,9 @@ var_dump($test->propY); ?> --EXPECT-- -Cannot assign stdClass to property Test::$propX of type X +Cannot assign DynamicObject to property Test::$propX of type X object(X)#3 (0) { } -Cannot assign stdClass to property Test::$propY of type ?Y +Cannot assign DynamicObject to property Test::$propY of type ?Y object(Y)#4 (0) { } diff --git a/Zend/tests/type_declarations/union_types/anonymous_class.phpt b/Zend/tests/type_declarations/union_types/anonymous_class.phpt index 1e009f22b00f0..294d882c7d285 100644 --- a/Zend/tests/type_declarations/union_types/anonymous_class.phpt +++ b/Zend/tests/type_declarations/union_types/anonymous_class.phpt @@ -27,4 +27,4 @@ try { ?> --EXPECTF-- class@anonymous(): Argument #1 ($a) must be of type class@anonymous|string, null given, called in %s on line %d -class@anonymous::test(): Return value must be of type class@anonymous|string, stdClass returned +class@anonymous::test(): Return value must be of type class@anonymous|string, DynamicObject returned diff --git a/Zend/tests/type_declarations/union_types/multiple_classes.phpt b/Zend/tests/type_declarations/union_types/multiple_classes.phpt index b45fc02d83fa5..6f2b89ed35ed7 100644 --- a/Zend/tests/type_declarations/union_types/multiple_classes.phpt +++ b/Zend/tests/type_declarations/union_types/multiple_classes.phpt @@ -67,8 +67,8 @@ int(42) int(42) int(42) int(42) -Cannot assign stdClass to property Test::$prop of type X|Y|Z|int -Test::method(): Argument #1 ($arg) must be of type X|Y|Z|int, stdClass given, called in %s on line %d +Cannot assign DynamicObject to property Test::$prop of type X|Y|Z|int +Test::method(): Argument #1 ($arg) must be of type X|Y|Z|int, DynamicObject given, called in %s on line %d object(X)#4 (0) { } object(X)#6 (0) { diff --git a/Zend/tests/type_declarations/union_types/type_checking_strict.phpt b/Zend/tests/type_declarations/union_types/type_checking_strict.phpt index 7054a7cc19127..7b449a630bdb4 100644 --- a/Zend/tests/type_declarations/union_types/type_checking_strict.phpt +++ b/Zend/tests/type_declarations/union_types/type_checking_strict.phpt @@ -75,7 +75,7 @@ true => Argument ... must be of type int|float, bool given false => Argument ... must be of type int|float, bool given null => Argument ... must be of type int|float, null given [] => Argument ... must be of type int|float, array given -new stdClass => Argument ... must be of type int|float, stdClass given +new DynamicObject => Argument ... must be of type int|float, DynamicObject given new WithToString => Argument ... must be of type int|float, WithToString given Type int|float|false: @@ -91,7 +91,7 @@ true => Argument ... must be of type int|float|false, bool given false => false null => Argument ... must be of type int|float|false, null given [] => Argument ... must be of type int|float|false, array given -new stdClass => Argument ... must be of type int|float|false, stdClass given +new DynamicObject => Argument ... must be of type int|float|false, DynamicObject given new WithToString => Argument ... must be of type int|float|false, WithToString given Type int|float|bool: @@ -107,7 +107,7 @@ true => true false => false null => Argument ... must be of type int|float|bool, null given [] => Argument ... must be of type int|float|bool, array given -new stdClass => Argument ... must be of type int|float|bool, stdClass given +new DynamicObject => Argument ... must be of type int|float|bool, DynamicObject given new WithToString => Argument ... must be of type int|float|bool, WithToString given Type int|bool: @@ -123,7 +123,7 @@ true => true false => false null => Argument ... must be of type int|bool, null given [] => Argument ... must be of type int|bool, array given -new stdClass => Argument ... must be of type int|bool, stdClass given +new DynamicObject => Argument ... must be of type int|bool, DynamicObject given new WithToString => Argument ... must be of type int|bool, WithToString given Type int|string|null: @@ -139,7 +139,7 @@ true => Argument ... must be of type string|int|null, bool given false => Argument ... must be of type string|int|null, bool given null => null [] => Argument ... must be of type string|int|null, array given -new stdClass => Argument ... must be of type string|int|null, stdClass given +new DynamicObject => Argument ... must be of type string|int|null, DynamicObject given new WithToString => Argument ... must be of type string|int|null, WithToString given Type string|bool: @@ -155,7 +155,7 @@ true => true false => false null => Argument ... must be of type string|bool, null given [] => Argument ... must be of type string|bool, array given -new stdClass => Argument ... must be of type string|bool, stdClass given +new DynamicObject => Argument ... must be of type string|bool, DynamicObject given new WithToString => Argument ... must be of type string|bool, WithToString given Type float|array: @@ -171,7 +171,7 @@ true => Argument ... must be of type array|float, bool given false => Argument ... must be of type array|float, bool given null => Argument ... must be of type array|float, null given [] => [] -new stdClass => Argument ... must be of type array|float, stdClass given +new DynamicObject => Argument ... must be of type array|float, DynamicObject given new WithToString => Argument ... must be of type array|float, WithToString given Type string|array: @@ -187,7 +187,7 @@ true => Argument ... must be of type array|string, bool given false => Argument ... must be of type array|string, bool given null => Argument ... must be of type array|string, null given [] => [] -new stdClass => Argument ... must be of type array|string, stdClass given +new DynamicObject => Argument ... must be of type array|string, DynamicObject given new WithToString => Argument ... must be of type array|string, WithToString given Type bool|array: @@ -203,5 +203,5 @@ true => true false => false null => Argument ... must be of type array|bool, null given [] => [] -new stdClass => Argument ... must be of type array|bool, stdClass given +new DynamicObject => Argument ... must be of type array|bool, DynamicObject given new WithToString => Argument ... must be of type array|bool, WithToString given diff --git a/Zend/tests/type_declarations/union_types/type_checking_weak.phpt b/Zend/tests/type_declarations/union_types/type_checking_weak.phpt index 351a3e9e78ede..997e7594192d2 100644 --- a/Zend/tests/type_declarations/union_types/type_checking_weak.phpt +++ b/Zend/tests/type_declarations/union_types/type_checking_weak.phpt @@ -73,7 +73,7 @@ true => 1 false => 0 null => Argument ... must be of type int|float, null given [] => Argument ... must be of type int|float, array given -new stdClass => Argument ... must be of type int|float, stdClass given +new DynamicObject => Argument ... must be of type int|float, DynamicObject given new WithToString => Argument ... must be of type int|float, WithToString given Type int|float|false: @@ -89,7 +89,7 @@ true => 1 false => false null => Argument ... must be of type int|float|false, null given [] => Argument ... must be of type int|float|false, array given -new stdClass => Argument ... must be of type int|float|false, stdClass given +new DynamicObject => Argument ... must be of type int|float|false, DynamicObject given new WithToString => Argument ... must be of type int|float|false, WithToString given Type int|float|bool: @@ -105,7 +105,7 @@ true => true false => false null => Argument ... must be of type int|float|bool, null given [] => Argument ... must be of type int|float|bool, array given -new stdClass => Argument ... must be of type int|float|bool, stdClass given +new DynamicObject => Argument ... must be of type int|float|bool, DynamicObject given new WithToString => Argument ... must be of type int|float|bool, WithToString given Type int|bool: @@ -121,7 +121,7 @@ true => true false => false null => Argument ... must be of type int|bool, null given [] => Argument ... must be of type int|bool, array given -new stdClass => Argument ... must be of type int|bool, stdClass given +new DynamicObject => Argument ... must be of type int|bool, DynamicObject given new WithToString => Argument ... must be of type int|bool, WithToString given Type int|string|null: @@ -137,7 +137,7 @@ true => 1 false => 0 null => null [] => Argument ... must be of type string|int|null, array given -new stdClass => Argument ... must be of type string|int|null, stdClass given +new DynamicObject => Argument ... must be of type string|int|null, DynamicObject given new WithToString => "__toString()" Type string|bool: @@ -153,7 +153,7 @@ true => true false => false null => Argument ... must be of type string|bool, null given [] => Argument ... must be of type string|bool, array given -new stdClass => Argument ... must be of type string|bool, stdClass given +new DynamicObject => Argument ... must be of type string|bool, DynamicObject given new WithToString => "__toString()" Type float|array: @@ -169,7 +169,7 @@ true => 1.0 false => 0.0 null => Argument ... must be of type array|float, null given [] => [] -new stdClass => Argument ... must be of type array|float, stdClass given +new DynamicObject => Argument ... must be of type array|float, DynamicObject given new WithToString => Argument ... must be of type array|float, WithToString given Type string|array: @@ -185,7 +185,7 @@ true => "1" false => "" null => Argument ... must be of type array|string, null given [] => [] -new stdClass => Argument ... must be of type array|string, stdClass given +new DynamicObject => Argument ... must be of type array|string, DynamicObject given new WithToString => "__toString()" Type bool|array: @@ -201,5 +201,5 @@ true => true false => false null => Argument ... must be of type array|bool, null given [] => [] -new stdClass => Argument ... must be of type array|bool, stdClass given +new DynamicObject => Argument ... must be of type array|bool, DynamicObject given new WithToString => Argument ... must be of type array|bool, WithToString given diff --git a/Zend/tests/typehints/or_null.phpt b/Zend/tests/typehints/or_null.phpt index d7a2e23002690..bfc93d1254042 100644 --- a/Zend/tests/typehints/or_null.phpt +++ b/Zend/tests/typehints/or_null.phpt @@ -219,17 +219,17 @@ try { ?> --EXPECTF-- -TypeError: unloadedClass(): Argument #1 ($param) must be of type ?I\Dont\Exist, stdClass given, called in %s:%d +TypeError: unloadedClass(): Argument #1 ($param) must be of type ?I\Dont\Exist, DynamicObject given, called in %s:%d Stack trace: -#0 %s(8): unloadedClass(Object(stdClass)) +#0 %s(%d): unloadedClass(Object(DynamicObject)) #1 {main} -TypeError: loadedClass(): Argument #1 ($param) must be of type ?RealClass, stdClass given, called in %s:%d +TypeError: loadedClass(): Argument #1 ($param) must be of type ?RealClass, DynamicObject given, called in %s:%d Stack trace: -#0 %s(20): loadedClass(Object(stdClass)) +#0 %s(%d): loadedClass(Object(DynamicObject)) #1 {main} -TypeError: loadedInterface(): Argument #1 ($param) must be of type ?RealInterface, stdClass given, called in %s:%d +TypeError: loadedInterface(): Argument #1 ($param) must be of type ?RealInterface, DynamicObject given, called in %s:%d Stack trace: -#0 %s(26): loadedInterface(Object(stdClass)) +#0 %s(%d): loadedInterface(Object(DynamicObject)) #1 {main} TypeError: unloadedClass(): Argument #1 ($param) must be of type ?I\Dont\Exist, int given, called in %s:%d Stack trace: @@ -251,19 +251,19 @@ TypeError: iterableF(): Argument #1 ($param) must be of type ?iterable, int give Stack trace: #0 %s(60): iterableF(1) #1 {main} -TypeError: intF(): Argument #1 ($param) must be of type ?int, stdClass given, called in %s:%d +TypeError: intF(): Argument #1 ($param) must be of type ?int, DynamicObject given, called in %s:%d Stack trace: -#0 %s(68): intF(Object(stdClass)) +#0 %s(%d): intF(Object(DynamicObject)) #1 {main} -TypeError: returnUnloadedClass(): Return value must be of type ?I\Dont\Exist, stdClass returned in %s:%d +TypeError: returnUnloadedClass(): Return value must be of type ?I\Dont\Exist, DynamicObject returned in %s:%d Stack trace: #0 %s(78): returnUnloadedClass() #1 {main} -TypeError: returnLoadedClass(): Return value must be of type ?RealClass, stdClass returned in %s:%d +TypeError: returnLoadedClass(): Return value must be of type ?RealClass, DynamicObject returned in %s:%d Stack trace: #0 %s(88): returnLoadedClass() #1 {main} -TypeError: returnLoadedInterface(): Return value must be of type ?RealInterface, stdClass returned in %s:%d +TypeError: returnLoadedInterface(): Return value must be of type ?RealInterface, DynamicObject returned in %s:%d Stack trace: #0 %s(98): returnLoadedInterface() #1 {main} @@ -287,7 +287,7 @@ TypeError: returnIterable(): Return value must be of type ?iterable, int returne Stack trace: #0 %s(148): returnIterable() #1 {main} -TypeError: returnInt(): Return value must be of type ?int, stdClass returned in %s:%d +TypeError: returnInt(): Return value must be of type ?int, DynamicObject returned in %s:%d Stack trace: #0 %s(158): returnInt() #1 {main} diff --git a/Zend/tests/unset_non_array.phpt b/Zend/tests/unset_non_array.phpt index cef7f9a765805..300bb772bbe94 100644 --- a/Zend/tests/unset_non_array.phpt +++ b/Zend/tests/unset_non_array.phpt @@ -101,7 +101,7 @@ Cannot unset offset in a non-array variable Cannot unset offset in a non-array variable Cannot unset offset in a non-array variable Cannot unset string offsets -Cannot use object of type stdClass as array +Cannot use object of type DynamicObject as array Warning: Undefined variable $x in %s on line %d @@ -110,4 +110,4 @@ Cannot unset offset in a non-array variable Cannot unset offset in a non-array variable Cannot unset offset in a non-array variable Cannot unset string offsets -Cannot use object of type stdClass as array +Cannot use object of type DynamicObject as array diff --git a/Zend/tests/varSyntax/newVariable.phpt b/Zend/tests/varSyntax/newVariable.phpt index 97927ef43986b..068e554f35574 100644 --- a/Zend/tests/varSyntax/newVariable.phpt +++ b/Zend/tests/varSyntax/newVariable.phpt @@ -21,16 +21,16 @@ var_dump(new $test::$className); var_dump(new $weird[0]->foo::$className); ?> ---EXPECTF-- -object(stdClass)#%d (0) { +--EXPECT-- +object(DynamicObject)#3 (0) { } -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } diff --git a/Zend/tests/varSyntax/new_instanceof_expr.phpt b/Zend/tests/varSyntax/new_instanceof_expr.phpt index 475f7a9daecaf..4658707265805 100644 --- a/Zend/tests/varSyntax/new_instanceof_expr.phpt +++ b/Zend/tests/varSyntax/new_instanceof_expr.phpt @@ -11,8 +11,8 @@ var_dump($obj instanceof ('std'.$class)); ?> --EXPECT-- -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } bool(true) diff --git a/Zend/tests/weakrefs/weakmap_basic_map_behavior.phpt b/Zend/tests/weakrefs/weakmap_basic_map_behavior.phpt index dd3c84518eac9..ac503b14ffbbc 100644 --- a/Zend/tests/weakrefs/weakmap_basic_map_behavior.phpt +++ b/Zend/tests/weakrefs/weakmap_basic_map_behavior.phpt @@ -72,12 +72,12 @@ object(WeakMap)#1 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#2 (1) { + object(DynamicObject)#2 (1) { ["value"]=> int(1) } ["value"]=> - object(stdClass)#3 (1) { + object(DynamicObject)#3 (1) { ["value"]=> int(2) } @@ -85,7 +85,7 @@ object(WeakMap)#1 (1) { } bool(true) bool(true) -object(stdClass)#3 (1) { +object(DynamicObject)#3 (1) { ["value"]=> int(2) } @@ -93,7 +93,7 @@ object(WeakMap)#1 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#2 (1) { + object(DynamicObject)#2 (1) { ["value"]=> int(1) } @@ -108,7 +108,7 @@ object(WeakMap)#1 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#2 (1) { + object(DynamicObject)#2 (1) { ["value"]=> int(1) } @@ -123,7 +123,7 @@ object(WeakMap)#1 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#2 (1) { + object(DynamicObject)#2 (1) { ["value"]=> int(1) } @@ -138,14 +138,14 @@ object(WeakMap)#1 (0) { } bool(false) bool(false) -Object stdClass#2 not contained in WeakMap +Object DynamicObject#2 not contained in WeakMap Indirect modification: object(WeakMap)#1 (2) { [0]=> array(2) { ["key"]=> - object(stdClass)#2 (1) { + object(DynamicObject)#2 (1) { ["value"]=> int(1) } @@ -158,7 +158,7 @@ object(WeakMap)#1 (2) { [1]=> array(2) { ["key"]=> - object(stdClass)#3 (1) { + object(DynamicObject)#3 (1) { ["value"]=> int(2) } diff --git a/Zend/tests/weakrefs/weakmap_error_conditions.phpt b/Zend/tests/weakrefs/weakmap_error_conditions.phpt index 2516c0443fd14..3d9b239996405 100644 --- a/Zend/tests/weakrefs/weakmap_error_conditions.phpt +++ b/Zend/tests/weakrefs/weakmap_error_conditions.phpt @@ -80,7 +80,7 @@ WeakMap key must be an object WeakMap key must be an object Cannot append to WeakMap Cannot append to WeakMap -Object stdClass#2 not contained in WeakMap +Object DynamicObject#2 not contained in WeakMap Warning: Undefined property: WeakMap::$prop in %s on line %d NULL diff --git a/Zend/tests/weakrefs/weakmap_iteration.phpt b/Zend/tests/weakrefs/weakmap_iteration.phpt index 1d1f6def8f48d..6e4fdaf0ec730 100644 --- a/Zend/tests/weakrefs/weakmap_iteration.phpt +++ b/Zend/tests/weakrefs/weakmap_iteration.phpt @@ -38,24 +38,24 @@ var_dump($map); Empty loop: Simple loop: -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } int(0) -object(stdClass)#3 (0) { +object(DynamicObject)#3 (0) { } int(1) -object(stdClass)#4 (0) { +object(DynamicObject)#4 (0) { } int(2) Object removed during loop: -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } int(0) -object(stdClass)#3 (0) { +object(DynamicObject)#3 (0) { } int(1) -object(stdClass)#4 (0) { +object(DynamicObject)#4 (0) { } int(2) @@ -64,7 +64,7 @@ object(WeakMap)#1 (2) { [0]=> array(2) { ["key"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["value"]=> &int(1) @@ -72,7 +72,7 @@ object(WeakMap)#1 (2) { [1]=> array(2) { ["key"]=> - object(stdClass)#4 (0) { + object(DynamicObject)#4 (0) { } ["value"]=> &int(3) diff --git a/Zend/tests/weakrefs/weakmap_multiple_weakrefs.phpt b/Zend/tests/weakrefs/weakmap_multiple_weakrefs.phpt index c3a1edaf058c9..c8353e557bad8 100644 --- a/Zend/tests/weakrefs/weakmap_multiple_weakrefs.phpt +++ b/Zend/tests/weakrefs/weakmap_multiple_weakrefs.phpt @@ -31,13 +31,13 @@ unset($obj); ?> --EXPECT-- -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } object(WeakMap)#3 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } ["value"]=> int(1) @@ -47,7 +47,7 @@ object(WeakMap)#4 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } ["value"]=> int(1) @@ -57,7 +57,7 @@ object(WeakMap)#5 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } ["value"]=> int(1) @@ -70,5 +70,5 @@ object(WeakMap)#4 (0) { } object(WeakMap)#5 (0) { } -object(stdClass)#4 (0) { +object(DynamicObject)#4 (0) { } diff --git a/Zend/tests/weakrefs/weakmap_weakness.phpt b/Zend/tests/weakrefs/weakmap_weakness.phpt index d740d2b219c1d..97992b382ecb7 100644 --- a/Zend/tests/weakrefs/weakmap_weakness.phpt +++ b/Zend/tests/weakrefs/weakmap_weakness.phpt @@ -67,7 +67,7 @@ object(WeakMap)#1 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["value"]=> int(2) @@ -84,7 +84,7 @@ object(WeakMap)#1 (0) { } Destroying map with live object: -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } Object freed by GC: @@ -92,7 +92,7 @@ object(WeakMap)#1 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#3 (1) { + object(DynamicObject)#3 (1) { ["obj"]=> *RECURSION* } @@ -108,10 +108,10 @@ object(WeakMap)#3 (1) { [0]=> array(2) { ["key"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } ["value"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } } } diff --git a/Zend/tests/weakrefs/weakrefs_001.phpt b/Zend/tests/weakrefs/weakrefs_001.phpt index 8db0fb2d80989..264a62d2d1f79 100644 --- a/Zend/tests/weakrefs/weakrefs_001.phpt +++ b/Zend/tests/weakrefs/weakrefs_001.phpt @@ -22,18 +22,17 @@ debug_zval_dump($wr->get()); debug_zval_dump($wr2->get()); ?> --EXPECT-- -object(stdClass)#1 (0) refcount(2){ +object(DynamicObject)#1 (0) refcount(2){ } -object(stdClass)#1 (0) refcount(2){ +object(DynamicObject)#1 (0) refcount(2){ } object(WeakReference)#2 (0) { } object(WeakReference)#2 (0) { } -object(stdClass)#1 (0) refcount(2){ +object(DynamicObject)#1 (0) refcount(2){ } -object(stdClass)#1 (0) refcount(2){ +object(DynamicObject)#1 (0) refcount(2){ } NULL NULL - diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index d4fc843f84b3c..98cda8fd43119 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -33,7 +33,8 @@ /* }}} */ ZEND_MINIT_FUNCTION(core) { /* {{{ */ - zend_standard_class_def = register_class_stdClass(); + zend_standard_class_def = register_class_DynamicObject(); + zend_register_class_alias("stdClass", zend_standard_class_def); zend_register_default_classes(); diff --git a/Zend/zend_builtin_functions.stub.php b/Zend/zend_builtin_functions.stub.php index 98a50c66194c7..919fc00d6bc5f 100644 --- a/Zend/zend_builtin_functions.stub.php +++ b/Zend/zend_builtin_functions.stub.php @@ -2,7 +2,7 @@ /** @generate-class-entries */ -class stdClass +class DynamicObject { } diff --git a/Zend/zend_builtin_functions_arginfo.h b/Zend/zend_builtin_functions_arginfo.h index b358d313b60be..ca067e13a419e 100644 --- a/Zend/zend_builtin_functions_arginfo.h +++ b/Zend/zend_builtin_functions_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: f87d92c002674c431827895a8d8b3a5da3b95482 */ + * Stub hash: d47f825593c3065523ce49df587b4dd9dc48c12a */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_version, 0, 0, IS_STRING, 0) ZEND_END_ARG_INFO() @@ -342,15 +342,15 @@ static const zend_function_entry ext_functions[] = { }; -static const zend_function_entry class_stdClass_methods[] = { +static const zend_function_entry class_DynamicObject_methods[] = { ZEND_FE_END }; -static zend_class_entry *register_class_stdClass(void) +static zend_class_entry *register_class_DynamicObject(void) { zend_class_entry ce, *class_entry; - INIT_CLASS_ENTRY(ce, "stdClass", class_stdClass_methods); + INIT_CLASS_ENTRY(ce, "DynamicObject", class_DynamicObject_methods); class_entry = zend_register_internal_class_ex(&ce, NULL); return class_entry; diff --git a/ext/date/tests/timezone_offset_get_error.phpt b/ext/date/tests/timezone_offset_get_error.phpt index 4b5cda104ef69..33a2a1308c555 100644 --- a/ext/date/tests/timezone_offset_get_error.phpt +++ b/ext/date/tests/timezone_offset_get_error.phpt @@ -59,7 +59,7 @@ try { *** Testing timezone_offset_get() : error conditions *** -- Testing timezone_offset_get() function with an invalid values for $object argument -- -string(89) "timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, stdClass given" +string(94) "timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, DynamicObject given" string(84) "timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, int given" @@ -67,7 +67,7 @@ string(85) "timezone_offset_get(): Argument #1 ($object) must be of type DateTim -- Testing timezone_offset_get() function with an invalid values for $datetime argument -- -string(96) "timezone_offset_get(): Argument #2 ($datetime) must be of type DateTimeInterface, stdClass given" +string(101) "timezone_offset_get(): Argument #2 ($datetime) must be of type DateTimeInterface, DynamicObject given" string(91) "timezone_offset_get(): Argument #2 ($datetime) must be of type DateTimeInterface, int given" diff --git a/ext/dom/tests/domobject_debug_handler.phpt b/ext/dom/tests/domobject_debug_handler.phpt index 8dbaa61a16545..91ad9cfc62ea1 100644 --- a/ext/dom/tests/domobject_debug_handler.phpt +++ b/ext/dom/tests/domobject_debug_handler.phpt @@ -18,7 +18,7 @@ print_r($d); DOMDocument Object ( [config] => - [dynamicProperty] => stdClass Object + [dynamicProperty] => DynamicObject Object ( ) diff --git a/ext/fileinfo/tests/mime_content_type_001.phpt b/ext/fileinfo/tests/mime_content_type_001.phpt index df7d3e4c5e9b5..58189ca843590 100644 --- a/ext/fileinfo/tests/mime_content_type_001.phpt +++ b/ext/fileinfo/tests/mime_content_type_001.phpt @@ -43,7 +43,7 @@ try { --EXPECTF-- mime_content_type(): Argument #2 must be of type resource|string, int given mime_content_type(): Argument #2 must be of type resource|string, null given -mime_content_type(): Argument #2 must be of type resource|string, stdClass given +mime_content_type(): Argument #2 must be of type resource|string, DynamicObject given mime_content_type(): Argument #2 must be of type resource|string, array given Warning: mime_content_type(foo/inexistent): Failed to open stream: No such file or directory in %s on line %d diff --git a/ext/filter/tests/011.phpt b/ext/filter/tests/011.phpt index 772fdf6b5ec7c..90e35c7041ea3 100644 --- a/ext/filter/tests/011.phpt +++ b/ext/filter/tests/011.phpt @@ -27,7 +27,7 @@ echo "Done\n"; --EXPECT-- string(18) "http://example.com" string(27) "<b>test</b>" -filter_input(): Argument #4 ($options) must be of type array|int, stdClass given +filter_input(): Argument #4 ($options) must be of type array|int, DynamicObject given float(12345.7) string(29) "<p>string</p>" bool(false) diff --git a/ext/filter/tests/039.phpt b/ext/filter/tests/039.phpt index 571d3a3265fc0..673c1360740b6 100644 --- a/ext/filter/tests/039.phpt +++ b/ext/filter/tests/039.phpt @@ -114,7 +114,7 @@ Warning: filter_var_array(): Unknown filter with ID 1000000 in %s on line %d bool(false) filter_var_array(): Argument #2 ($options) must be of type array|int, string given -- (4) -filter_var_array(): Argument #2 ($options) must be of type array|int, stdClass given +filter_var_array(): Argument #2 ($options) must be of type array|int, DynamicObject given array(0) { } array(1) { diff --git a/ext/filter/tests/057.phpt b/ext/filter/tests/057.phpt index ec8083e2f891d..d071e8612ae36 100644 --- a/ext/filter/tests/057.phpt +++ b/ext/filter/tests/057.phpt @@ -48,5 +48,5 @@ Warning: filter_var_array(): Unknown filter with ID 1 in %s on line %d bool(false) filter_input_array(): Argument #2 ($options) must be of type array|int, string given filter_var_array(): Argument #2 ($options) must be of type array|int, string given -filter_input_array(): Argument #2 ($options) must be of type array|int, stdClass given -filter_var_array(): Argument #2 ($options) must be of type array|int, stdClass given +filter_input_array(): Argument #2 ($options) must be of type array|int, DynamicObject given +filter_var_array(): Argument #2 ($options) must be of type array|int, DynamicObject given diff --git a/ext/gd/tests/bug67248.phpt b/ext/gd/tests/bug67248.phpt index a002f71c7fd35..f64858125122f 100644 --- a/ext/gd/tests/bug67248.phpt +++ b/ext/gd/tests/bug67248.phpt @@ -20,7 +20,7 @@ for($i=0;$i<7;$i++) { !! [TypeError] imageaffinematrixget(): Argument #1 ($type) must be of type array when using translate or scale !! [TypeError] imageaffinematrixget(): Argument #1 ($type) must be of type array when using translate or scale -Warning: Object of class stdClass could not be converted to float in %s on line %d +Warning: Object of class DynamicObject could not be converted to float in %s on line %d array(6) { [0]=> float(%f) @@ -36,7 +36,7 @@ array(6) { float(0) } -Warning: Object of class stdClass could not be converted to float in %s on line %d +Warning: Object of class DynamicObject could not be converted to float in %s on line %d array(6) { [0]=> float(1) @@ -52,7 +52,7 @@ array(6) { float(0) } -Warning: Object of class stdClass could not be converted to float in %s on line %d +Warning: Object of class DynamicObject could not be converted to float in %s on line %d array(6) { [0]=> float(1) diff --git a/ext/gmp/tests/gmp_intval.phpt b/ext/gmp/tests/gmp_intval.phpt index 15a1cdcc3d830..ff7e56ed84e8b 100644 --- a/ext/gmp/tests/gmp_intval.phpt +++ b/ext/gmp/tests/gmp_intval.phpt @@ -43,7 +43,7 @@ int(-2349828) int(2342344) int(12345678) gmp_intval(): Argument #1 ($num) is not an integer string -gmp_intval(): Argument #1 ($num) must be of type GMP|string|int, stdClass given +gmp_intval(): Argument #1 ($num) must be of type GMP|string|int, DynamicObject given gmp_intval(): Argument #1 ($num) must be of type GMP|string|int, array given gmp_intval(): Argument #1 ($num) is not an integer string Done diff --git a/ext/gmp/tests/gmp_nextprime.phpt b/ext/gmp/tests/gmp_nextprime.phpt index b907d7a84e994..e0477906061b8 100644 --- a/ext/gmp/tests/gmp_nextprime.phpt +++ b/ext/gmp/tests/gmp_nextprime.phpt @@ -44,5 +44,5 @@ string(4) "1009" string(6) "100003" gmp_nextprime(): Argument #1 ($num) must be of type GMP|string|int, array given gmp_nextprime(): Argument #1 ($num) is not an integer string -gmp_nextprime(): Argument #1 ($num) must be of type GMP|string|int, stdClass given +gmp_nextprime(): Argument #1 ($num) must be of type GMP|string|int, DynamicObject given Done diff --git a/ext/gmp/tests/gmp_strval.phpt b/ext/gmp/tests/gmp_strval.phpt index a4d0a9b149b37..9630118d3af01 100644 --- a/ext/gmp/tests/gmp_strval.phpt +++ b/ext/gmp/tests/gmp_strval.phpt @@ -77,5 +77,5 @@ gmp_strval(): Argument #2 ($base) must be between 2 and 62, or -2 and -36 gmp_strval(): Argument #2 ($base) must be between 2 and 62, or -2 and -36 string(8) "-3373333" gmp_strval(): Argument #1 ($num) must be of type GMP|string|int, array given -gmp_strval(): Argument #1 ($num) must be of type GMP|string|int, stdClass given +gmp_strval(): Argument #1 ($num) must be of type GMP|string|int, DynamicObject given Done diff --git a/ext/gmp/tests/gmp_sub.phpt b/ext/gmp/tests/gmp_sub.phpt index 5161bce103565..11207a78aa7c1 100644 --- a/ext/gmp/tests/gmp_sub.phpt +++ b/ext/gmp/tests/gmp_sub.phpt @@ -49,6 +49,6 @@ object(GMP)#3 (1) { string(5) "10001" } string(5) "10001" -gmp_sub(): Argument #2 ($num2) must be of type GMP|string|int, stdClass given -gmp_sub(): Argument #1 ($num1) must be of type GMP|string|int, stdClass given +gmp_sub(): Argument #2 ($num2) must be of type GMP|string|int, DynamicObject given +gmp_sub(): Argument #1 ($num1) must be of type GMP|string|int, DynamicObject given Done diff --git a/ext/gmp/tests/overloading.phpt b/ext/gmp/tests/overloading.phpt index 14c35ea8470c3..1f2c520038795 100644 --- a/ext/gmp/tests/overloading.phpt +++ b/ext/gmp/tests/overloading.phpt @@ -282,7 +282,7 @@ bool(false) bool(true) bool(false) bool(true) -Number must be of type GMP|string|int, stdClass given +Number must be of type GMP|string|int, DynamicObject given object(GMP)#4 (1) { ["num"]=> string(2) "43" diff --git a/ext/intl/tests/calendar_equals_error.phpt b/ext/intl/tests/calendar_equals_error.phpt index 705bd8fb8d6af..2a0d036ae0639 100644 --- a/ext/intl/tests/calendar_equals_error.phpt +++ b/ext/intl/tests/calendar_equals_error.phpt @@ -46,7 +46,7 @@ try { --EXPECT-- error: 0, IntlCalendar::equals() expects exactly 1 argument, 0 given -error: 0, IntlCalendar::equals(): Argument #1 ($other) must be of type IntlCalendar, stdClass given +error: 0, IntlCalendar::equals(): Argument #1 ($other) must be of type IntlCalendar, DynamicObject given error: 0, IntlCalendar::equals() expects exactly 1 argument, 2 given diff --git a/ext/intl/tests/dateformat___construct_bad_tz_cal.phpt b/ext/intl/tests/dateformat___construct_bad_tz_cal.phpt index c0c5412e4ab4c..68e33d3fdd275 100644 --- a/ext/intl/tests/dateformat___construct_bad_tz_cal.phpt +++ b/ext/intl/tests/dateformat___construct_bad_tz_cal.phpt @@ -33,4 +33,4 @@ Exception: IntlDateFormatter::__construct(): datefmt_create: No such time zone: Exception: IntlDateFormatter::__construct(): datefmt_create: Invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (locale's default calendar) or IntlDateFormatter::GREGORIAN. Alternatively, it can be an IntlCalendar object in %s on line %d -Exception: IntlDateFormatter::__construct(): Argument #5 ($calendar) must be of type IntlCalendar|int|null, stdClass given in %s on line %d +Exception: IntlDateFormatter::__construct(): Argument #5 ($calendar) must be of type IntlCalendar|int|null, DynamicObject given in %s on line %d diff --git a/ext/json/tests/001.phpt b/ext/json/tests/001.phpt index 12ff6c15ef58a..a5ea47b30255f 100644 --- a/ext/json/tests/001.phpt +++ b/ext/json/tests/001.phpt @@ -34,30 +34,30 @@ NULL Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in %s on line %d NULL -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["test"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#1 (1) { ["foo"]=> string(3) "bar" } } -object(stdClass)#%d (1) { +object(DynamicObject)#1 (1) { ["test"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#2 (1) { ["foo"]=> string(0) "" } } -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { [""]=> - object(stdClass)#%d (1) { + object(DynamicObject)#1 (1) { ["foo"]=> string(0) "" } } -object(stdClass)#%d (1) { +object(DynamicObject)#1 (1) { [""]=> - object(stdClass)#%d (1) { + object(DynamicObject)#2 (1) { [""]=> string(0) "" } diff --git a/ext/json/tests/004.phpt b/ext/json/tests/004.phpt index 7c000c67ad682..4e41807dfa74b 100644 --- a/ext/json/tests/004.phpt +++ b/ext/json/tests/004.phpt @@ -21,7 +21,7 @@ var_dump(json_last_error(), json_last_error_msg()); echo "Done\n"; ?> --EXPECTF-- -object(stdClass)#%d (1) { +object(DynamicObject)#1 (1) { ["prop"]=> *RECURSION* } diff --git a/ext/json/tests/bug45791.phpt b/ext/json/tests/bug45791.phpt index 5737ade02584d..216769f03249e 100644 --- a/ext/json/tests/bug45791.phpt +++ b/ext/json/tests/bug45791.phpt @@ -7,7 +7,7 @@ var_dump(json_decode('{"zero": 0e0}')); ?> --EXPECT-- -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["zero"]=> float(0) } diff --git a/ext/json/tests/bug50224.phpt b/ext/json/tests/bug50224.phpt index c6a8956025d26..63e1b1af86a43 100644 --- a/ext/json/tests/bug50224.phpt +++ b/ext/json/tests/bug50224.phpt @@ -22,7 +22,7 @@ var_dump(json_decode(json_encode(array(12, 12.0, 12.3), JSON_PRESERVE_ZERO_FRACT var_dump(json_decode(json_encode((object)array('float' => 12.0, 'integer' => 12), JSON_PRESERVE_ZERO_FRACTION))); var_dump(json_decode(json_encode((object)array('float' => 12.0, 'integer' => 12), JSON_PRESERVE_ZERO_FRACTION), true)); ?> ---EXPECTF-- +--EXPECT-- * Testing JSON output string(4) "12.3" @@ -46,7 +46,7 @@ array(3) { [2]=> float(12.3) } -object(stdClass)#%d (2) { +object(DynamicObject)#1 (2) { ["float"]=> float(12) ["integer"]=> diff --git a/ext/json/tests/bug73991.phpt b/ext/json/tests/bug73991.phpt index d3f249d086086..ce0d933605600 100644 --- a/ext/json/tests/bug73991.phpt +++ b/ext/json/tests/bug73991.phpt @@ -10,8 +10,8 @@ var_dump(json_decode($json, true)); var_dump(json_decode($json, null, 512, 0)); var_dump(json_decode($json, null, 512, JSON_OBJECT_AS_ARRAY)); ?> ---EXPECTF-- -object(stdClass)#%d (1) { +--EXPECT-- +object(DynamicObject)#1 (1) { ["foo"]=> string(3) "bar" } @@ -19,7 +19,7 @@ array(1) { ["foo"]=> string(3) "bar" } -object(stdClass)#%d (1) { +object(DynamicObject)#1 (1) { ["foo"]=> string(3) "bar" } diff --git a/ext/json/tests/json_decode_basic.phpt b/ext/json/tests/json_decode_basic.phpt index 4e25391a9c859..d2c15ff90cccd 100644 --- a/ext/json/tests/json_decode_basic.phpt +++ b/ext/json/tests/json_decode_basic.phpt @@ -37,7 +37,7 @@ foreach($inputs as $input) { } ?> ---EXPECTF-- +--EXPECT-- *** Testing json_decode() : basic functionality *** -- Iteration 1 -- int(0) @@ -111,7 +111,7 @@ array(5) { int(5) } -- Iteration 16 -- -object(stdClass)#%d (5) { +object(DynamicObject)#1 (5) { ["myInt"]=> int(99) ["myFloat"]=> @@ -136,7 +136,7 @@ array(5) { string(11) "Hello World" } -- Iteration 17 -- -object(stdClass)#%d (6) { +object(DynamicObject)#1 (6) { ["Jan"]=> int(31) ["Feb"]=> @@ -168,7 +168,7 @@ array(6) { string(0) "" string(0) "" -- Iteration 19 -- -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } array(0) { } diff --git a/ext/json/tests/pass001.1.phpt b/ext/json/tests/pass001.1.phpt index eabdc24c18db1..319bc8ee35ce0 100644 --- a/ext/json/tests/pass001.1.phpt +++ b/ext/json/tests/pass001.1.phpt @@ -166,7 +166,7 @@ array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> - object(stdClass)#%d (1) { + object(DynamicObject)#1 (1) { ["object with 1 member"]=> array(1) { [0]=> @@ -174,7 +174,7 @@ array(14) { } } [2]=> - object(stdClass)#%d (0) { + object(DynamicObject)#2 (0) { } [3]=> array(0) { @@ -188,7 +188,7 @@ array(14) { [7]=> NULL [8]=> - object(stdClass)#%d (36) { + object(DynamicObject)#3 (36) { ["integer"]=> int(1234567890) ["real"]=> @@ -242,14 +242,14 @@ array(14) { array(0) { } ["object"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#4 (0) { } ["123"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#7 (1) { ["456"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#6 (1) { ["abc"]=> - object(stdClass)#%d (3) { + object(DynamicObject)#5 (3) { ["789"]=> string(3) "def" ["012"]=> @@ -528,7 +528,7 @@ array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> - object(stdClass)#%d (1) { + object(DynamicObject)#8 (1) { ["object with 1 member"]=> array(1) { [0]=> @@ -536,7 +536,7 @@ array(14) { } } [2]=> - object(stdClass)#%d (0) { + object(DynamicObject)#9 (0) { } [3]=> array(0) { @@ -550,7 +550,7 @@ array(14) { [7]=> NULL [8]=> - object(stdClass)#%d (36) { + object(DynamicObject)#10 (36) { ["integer"]=> int(1234567890) ["real"]=> @@ -604,14 +604,14 @@ array(14) { array(0) { } ["object"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#11 (0) { } ["123"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#14 (1) { ["456"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#13 (1) { ["abc"]=> - object(stdClass)#%d (3) { + object(DynamicObject)#12 (3) { ["789"]=> string(3) "def" ["012"]=> diff --git a/ext/json/tests/pass001.1_64bit.phpt b/ext/json/tests/pass001.1_64bit.phpt index 6e0e2e5307a24..1c1e388af7cbf 100644 --- a/ext/json/tests/pass001.1_64bit.phpt +++ b/ext/json/tests/pass001.1_64bit.phpt @@ -101,7 +101,7 @@ $arr = json_decode($arr_enc, true); var_dump($arr); ?> ---EXPECTF-- +--EXPECT-- Testing: [ "JSON Test Pattern pass1", @@ -170,7 +170,7 @@ array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> - object(stdClass)#%d (1) { + object(DynamicObject)#1 (1) { ["object with 1 member"]=> array(1) { [0]=> @@ -178,7 +178,7 @@ array(14) { } } [2]=> - object(stdClass)#%d (0) { + object(DynamicObject)#2 (0) { } [3]=> array(0) { @@ -192,7 +192,7 @@ array(14) { [7]=> NULL [8]=> - object(stdClass)#%d (36) { + object(DynamicObject)#3 (36) { ["integer"]=> int(1234567890) ["real"]=> @@ -246,14 +246,14 @@ array(14) { array(0) { } ["object"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#4 (0) { } ["123"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#7 (1) { ["456"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#6 (1) { ["abc"]=> - object(stdClass)#%d (3) { + object(DynamicObject)#5 (3) { ["789"]=> string(3) "def" ["012"]=> @@ -532,7 +532,7 @@ array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> - object(stdClass)#%d (1) { + object(DynamicObject)#8 (1) { ["object with 1 member"]=> array(1) { [0]=> @@ -540,7 +540,7 @@ array(14) { } } [2]=> - object(stdClass)#%d (0) { + object(DynamicObject)#9 (0) { } [3]=> array(0) { @@ -554,7 +554,7 @@ array(14) { [7]=> NULL [8]=> - object(stdClass)#%d (36) { + object(DynamicObject)#10 (36) { ["integer"]=> int(1234567890) ["real"]=> @@ -608,14 +608,14 @@ array(14) { array(0) { } ["object"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#11 (0) { } ["123"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#14 (1) { ["456"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#13 (1) { ["abc"]=> - object(stdClass)#%d (3) { + object(DynamicObject)#12 (3) { ["789"]=> string(3) "def" ["012"]=> diff --git a/ext/json/tests/pass001.phpt b/ext/json/tests/pass001.phpt index 7fab84cc2d98c..75fefb45e5aaa 100644 --- a/ext/json/tests/pass001.phpt +++ b/ext/json/tests/pass001.phpt @@ -151,7 +151,7 @@ array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> - object(stdClass)#1 (1) { + object(DynamicObject)#1 (1) { ["object with 1 member"]=> array(1) { [0]=> @@ -159,7 +159,7 @@ array(14) { } } [2]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } [3]=> array(0) { @@ -173,7 +173,7 @@ array(14) { [7]=> NULL [8]=> - object(stdClass)#3 (31) { + object(DynamicObject)#3 (31) { ["integer"]=> int(1234567890) ["real"]=> @@ -219,7 +219,7 @@ array(14) { array(0) { } ["object"]=> - object(stdClass)#4 (0) { + object(DynamicObject)#4 (0) { } ["address"]=> string(19) "50 St. James Street" @@ -427,7 +427,7 @@ array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> - object(stdClass)#5 (1) { + object(DynamicObject)#5 (1) { ["object with 1 member"]=> array(1) { [0]=> @@ -435,7 +435,7 @@ array(14) { } } [2]=> - object(stdClass)#6 (0) { + object(DynamicObject)#6 (0) { } [3]=> array(0) { @@ -449,7 +449,7 @@ array(14) { [7]=> NULL [8]=> - object(stdClass)#7 (31) { + object(DynamicObject)#7 (31) { ["integer"]=> int(1234567890) ["real"]=> @@ -495,7 +495,7 @@ array(14) { array(0) { } ["object"]=> - object(stdClass)#8 (0) { + object(DynamicObject)#8 (0) { } ["address"]=> string(19) "50 St. James Street" diff --git a/ext/json/tests/pass003.phpt b/ext/json/tests/pass003.phpt index a45f92b6ac03b..a7b5db71e3b41 100644 --- a/ext/json/tests/pass003.phpt +++ b/ext/json/tests/pass003.phpt @@ -35,7 +35,7 @@ $arr = json_decode($arr_enc, true); var_dump($arr); ?> ---EXPECTF-- +--EXPECT-- Testing: { "JSON Test Pattern pass3": { @@ -45,9 +45,9 @@ Testing: } DECODE: AS OBJECT -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["JSON Test Pattern pass3"]=> - object(stdClass)#%d (2) { + object(DynamicObject)#1 (2) { ["The outermost value"]=> string(27) "must be an object or array." ["In this test"]=> @@ -69,9 +69,9 @@ ENCODE: FROM OBJECT ENCODE: FROM ARRAY {"JSON Test Pattern pass3":{"The outermost value":"must be an object or array.","In this test":"It is an object."}} DECODE AGAIN: AS OBJECT -object(stdClass)#%d (1) { +object(DynamicObject)#4 (1) { ["JSON Test Pattern pass3"]=> - object(stdClass)#%d (2) { + object(DynamicObject)#3 (2) { ["The outermost value"]=> string(27) "must be an object or array." ["In this test"]=> diff --git a/ext/libxml/tests/004.phpt b/ext/libxml/tests/004.phpt index 718f8cbdc202c..bee0e424d37e4 100644 --- a/ext/libxml/tests/004.phpt +++ b/ext/libxml/tests/004.phpt @@ -34,7 +34,7 @@ libxml_set_streams_context(): Argument #1 ($context) must be of type resource, s bool(true) libxml_set_streams_context(): Argument #1 ($context) must be of type resource, int given bool(true) -libxml_set_streams_context(): Argument #1 ($context) must be of type resource, stdClass given +libxml_set_streams_context(): Argument #1 ($context) must be of type resource, DynamicObject given bool(true) libxml_set_streams_context(): Argument #1 ($context) must be of type resource, array given bool(true) diff --git a/ext/mysqli/tests/042.phpt b/ext/mysqli/tests/042.phpt index 301603632ba29..3d4a3dff51e4b 100644 --- a/ext/mysqli/tests/042.phpt +++ b/ext/mysqli/tests/042.phpt @@ -60,8 +60,8 @@ if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch")) mysqli_close($link); ?> ---EXPECTF-- -object(stdClass)#%d (7) { +--EXPECT-- +object(DynamicObject)#5 (7) { ["c1"]=> string(1) "0" ["c2"]=> diff --git a/ext/mysqli/tests/047.phpt b/ext/mysqli/tests/047.phpt index 9feae7f31ab3d..ce6ceb67a909c 100644 --- a/ext/mysqli/tests/047.phpt +++ b/ext/mysqli/tests/047.phpt @@ -61,7 +61,7 @@ mysqli_close($link); === fetch_fields === array(2) { [0]=> - object(stdClass)#5 (13) { + object(DynamicObject)#5 (13) { ["name"]=> string(3) "foo" ["orgname"]=> @@ -90,7 +90,7 @@ array(2) { int(0) } [1]=> - object(stdClass)#6 (13) { + object(DynamicObject)#6 (13) { ["name"]=> string(3) "bar" ["orgname"]=> @@ -121,7 +121,7 @@ array(2) { } === fetch_field_direct === -object(stdClass)#6 (13) { +object(DynamicObject)#6 (13) { ["name"]=> string(3) "foo" ["orgname"]=> @@ -149,7 +149,7 @@ object(stdClass)#6 (13) { ["decimals"]=> int(0) } -object(stdClass)#6 (13) { +object(DynamicObject)#6 (13) { ["name"]=> string(3) "bar" ["orgname"]=> @@ -179,7 +179,7 @@ object(stdClass)#6 (13) { } === fetch_field === -object(stdClass)#6 (13) { +object(DynamicObject)#6 (13) { ["name"]=> string(3) "foo" ["orgname"]=> @@ -207,7 +207,7 @@ object(stdClass)#6 (13) { ["decimals"]=> int(0) } -object(stdClass)#5 (13) { +object(DynamicObject)#5 (13) { ["name"]=> string(3) "bar" ["orgname"]=> diff --git a/ext/mysqli/tests/mysqli_fetch_field.phpt b/ext/mysqli/tests/mysqli_fetch_field.phpt index 512ae27b82761..45a4f37fc83f7 100644 --- a/ext/mysqli/tests/mysqli_fetch_field.phpt +++ b/ext/mysqli/tests/mysqli_fetch_field.phpt @@ -78,7 +78,7 @@ require_once('skipifconnectfailure.inc'); require_once("clean_table.inc"); ?> --EXPECTF-- -object(stdClass)#%d (13) { +object(DynamicObject)#5 (13) { ["name"]=> string(2) "ID" ["orgname"]=> @@ -106,7 +106,7 @@ object(stdClass)#%d (13) { ["decimals"]=> int(0) } -object(stdClass)#%d (13) { +object(DynamicObject)#6 (13) { ["name"]=> string(5) "label" ["orgname"]=> @@ -140,7 +140,7 @@ array(1) { ["_default_test"]=> string(1) "2" } -object(stdClass)#%d (13) { +object(DynamicObject)#8 (13) { ["name"]=> string(13) "_default_test" ["orgname"]=> diff --git a/ext/mysqli/tests/mysqli_fetch_field_direct.phpt b/ext/mysqli/tests/mysqli_fetch_field_direct.phpt index 1bd5538afba26..69b7d90bd953b 100644 --- a/ext/mysqli/tests/mysqli_fetch_field_direct.phpt +++ b/ext/mysqli/tests/mysqli_fetch_field_direct.phpt @@ -46,7 +46,7 @@ require_once('skipifconnectfailure.inc'); ?> --EXPECTF-- mysqli_fetch_field_direct(): Argument #2 ($index) must be greater than or equal to 0 -object(stdClass)#%d (13) { +object(DynamicObject)#5 (13) { ["name"]=> string(2) "ID" ["orgname"]=> diff --git a/ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt b/ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt index 238eeb65e9c62..b627fc81a7e33 100644 --- a/ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt +++ b/ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt @@ -59,7 +59,7 @@ require_once('skipifconnectfailure.inc'); --EXPECTF-- mysqli object is not fully initialized mysqli_result::fetch_field_direct(): Argument #1 ($index) must be greater than or equal to 0 -object(stdClass)#%d (13) { +object(DynamicObject)#8 (13) { ["name"]=> string(2) "ID" ["orgname"]=> diff --git a/ext/mysqli/tests/mysqli_fetch_field_oo.phpt b/ext/mysqli/tests/mysqli_fetch_field_oo.phpt index 6c43ea6bd5f10..22982b297e9b2 100644 --- a/ext/mysqli/tests/mysqli_fetch_field_oo.phpt +++ b/ext/mysqli/tests/mysqli_fetch_field_oo.phpt @@ -67,7 +67,7 @@ require_once('skipifconnectfailure.inc'); ?> --EXPECTF-- mysqli object is not fully initialized -object(stdClass)#%d (13) { +object(DynamicObject)#8 (13) { ["name"]=> string(2) "ID" ["orgname"]=> @@ -95,7 +95,7 @@ object(stdClass)#%d (13) { ["decimals"]=> int(0) } -object(stdClass)#%d (13) { +object(DynamicObject)#8 (13) { ["name"]=> string(5) "label" ["orgname"]=> diff --git a/ext/mysqli/tests/mysqli_fetch_fields.phpt b/ext/mysqli/tests/mysqli_fetch_fields.phpt index 47ed37e5889cd..4c041486637d9 100644 --- a/ext/mysqli/tests/mysqli_fetch_fields.phpt +++ b/ext/mysqli/tests/mysqli_fetch_fields.phpt @@ -56,7 +56,7 @@ require_once('skipifconnectfailure.inc'); require_once("clean_table.inc"); ?> --EXPECTF-- -object(stdClass)#%d (13) { +object(DynamicObject)#5 (13) { ["name"]=> string(2) "ID" ["orgname"]=> @@ -84,7 +84,7 @@ object(stdClass)#%d (13) { ["decimals"]=> int(0) } -object(stdClass)#%d (13) { +object(DynamicObject)#6 (13) { ["name"]=> string(5) "label" ["orgname"]=> diff --git a/ext/mysqli/tests/mysqli_fetch_object.phpt b/ext/mysqli/tests/mysqli_fetch_object.phpt index 1f2dcdb6676f7..78d6cc5f77147 100644 --- a/ext/mysqli/tests/mysqli_fetch_object.phpt +++ b/ext/mysqli/tests/mysqli_fetch_object.phpt @@ -143,6 +143,13 @@ require_once('skipifconnectfailure.inc'); require_once("clean_table.inc"); ?> --EXPECTF-- +[004] Object seems wrong. [0] +object(DynamicObject)#4 (2) { + ["ID"]=> + string(1) "1" + ["label"]=> + string(1) "a" +} Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 0 passed and exactly 2 expected Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected NULL diff --git a/ext/mysqli/tests/mysqli_fetch_object_oo.phpt b/ext/mysqli/tests/mysqli_fetch_object_oo.phpt index 86ddb9a04c727..42ef8aa4309df 100644 --- a/ext/mysqli/tests/mysqli_fetch_object_oo.phpt +++ b/ext/mysqli/tests/mysqli_fetch_object_oo.phpt @@ -130,6 +130,13 @@ require_once('skipifconnectfailure.inc'); mysqli object is not fully initialized [0] Object of class mysqli could not be converted to string in %s on line %d [0] mysqli_result::fetch_object() expects at most 2 arguments, 3 given in %s on line %d +[007] Object seems wrong. [0] +object(DynamicObject)#7 (2) { + ["ID"]=> + string(1) "1" + ["label"]=> + string(1) "a" +} mysqli_result::fetch_object(): Argument #2 ($constructor_args) must be of type array, null given Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected NULL diff --git a/ext/mysqli/tests/mysqli_field_seek.phpt b/ext/mysqli/tests/mysqli_field_seek.phpt index c4508fa5482dd..5bef1ee8a165e 100644 --- a/ext/mysqli/tests/mysqli_field_seek.phpt +++ b/ext/mysqli/tests/mysqli_field_seek.phpt @@ -124,7 +124,7 @@ require_once('skipifconnectfailure.inc'); ?> --EXPECTF-- mysqli_field_seek(): Argument #2 ($index) must be greater than or equal to 0 -object(stdClass)#%d (13) { +object(DynamicObject)#6 (13) { ["name"]=> string(2) "id" ["orgname"]=> @@ -153,7 +153,7 @@ object(stdClass)#%d (13) { int(0) } bool(true) -object(stdClass)#%d (13) { +object(DynamicObject)#6 (13) { ["name"]=> string(2) "id" ["orgname"]=> @@ -182,7 +182,7 @@ object(stdClass)#%d (13) { int(0) } bool(true) -object(stdClass)#%d (13) { +object(DynamicObject)#6 (13) { ["name"]=> string(5) "label" ["orgname"]=> @@ -214,7 +214,7 @@ int(2) mysqli_field_seek(): Argument #2 ($index) must be less than the number of fields for this result set bool(false) bool(true) -object(stdClass)#%d (13) { +object(DynamicObject)#8 (13) { ["name"]=> string(5) "_null" ["orgname"]=> diff --git a/ext/mysqli/tests/mysqli_field_tell.phpt b/ext/mysqli/tests/mysqli_field_tell.phpt index cb1dcc3b98e8b..8522940dd0502 100644 --- a/ext/mysqli/tests/mysqli_field_tell.phpt +++ b/ext/mysqli/tests/mysqli_field_tell.phpt @@ -59,7 +59,7 @@ require_once('skipifconnectfailure.inc'); --EXPECTF-- int(0) int(0) -object(stdClass)#%d (13) { +object(DynamicObject)#4 (13) { ["name"]=> string(2) "id" ["orgname"]=> diff --git a/ext/mysqli/tests/mysqli_stmt_execute_bind.phpt b/ext/mysqli/tests/mysqli_stmt_execute_bind.phpt index deb95c9f8bdea..0f91079b0a2cb 100644 --- a/ext/mysqli/tests/mysqli_stmt_execute_bind.phpt +++ b/ext/mysqli/tests/mysqli_stmt_execute_bind.phpt @@ -142,6 +142,6 @@ require_once "clean_table.inc"; [003] mysqli_stmt::execute(): Argument #1 ($params) must consist of exactly 3 elements, 0 present [004] No data supplied for parameters in prepared statement [005] mysqli_stmt::execute(): Argument #1 ($params) must be of type ?array, int given -[006] mysqli_stmt::execute(): Argument #1 ($params) must be of type ?array, stdClass given +[006] mysqli_stmt::execute(): Argument #1 ($params) must be of type ?array, DynamicObject given [007] mysqli_stmt::execute(): Argument #1 ($params) must consist of exactly 3 elements, 0 present [008] mysqli_stmt::execute(): Argument #1 ($params) must be a list array diff --git a/ext/mysqli/tests/mysqli_stmt_get_result_metadata_fetch_field.phpt b/ext/mysqli/tests/mysqli_stmt_get_result_metadata_fetch_field.phpt index 9f4b01b93ae5e..e9f904d496606 100644 --- a/ext/mysqli/tests/mysqli_stmt_get_result_metadata_fetch_field.phpt +++ b/ext/mysqli/tests/mysqli_stmt_get_result_metadata_fetch_field.phpt @@ -66,7 +66,7 @@ if (!function_exists('mysqli_stmt_get_result')) require_once("clean_table.inc"); ?> --EXPECTF-- -object(stdClass)#%d (13) { +object(DynamicObject)#7 (13) { ["name"]=> string(2) "id" ["orgname"]=> @@ -94,7 +94,7 @@ object(stdClass)#%d (13) { ["decimals"]=> int(0) } -object(stdClass)#%d (13) { +object(DynamicObject)#8 (13) { ["name"]=> string(5) "label" ["orgname"]=> @@ -122,7 +122,7 @@ object(stdClass)#%d (13) { ["decimals"]=> int(0) } -object(stdClass)#%d (13) { +object(DynamicObject)#7 (13) { ["name"]=> string(3) "_id" ["orgname"]=> @@ -150,7 +150,7 @@ object(stdClass)#%d (13) { ["decimals"]=> int(0) } -object(stdClass)#%d (13) { +object(DynamicObject)#8 (13) { ["name"]=> string(8) "___label" ["orgname"]=> diff --git a/ext/mysqli/tests/mysqli_stmt_result_metadata.phpt b/ext/mysqli/tests/mysqli_stmt_result_metadata.phpt index 0eb0f78221087..9577c54abd023 100644 --- a/ext/mysqli/tests/mysqli_stmt_result_metadata.phpt +++ b/ext/mysqli/tests/mysqli_stmt_result_metadata.phpt @@ -91,7 +91,7 @@ require_once('skipifconnectfailure.inc'); ?> --EXPECTF-- mysqli_stmt object is not fully initialized -object(stdClass)#%d (13) { +object(DynamicObject)#6 (13) { ["name"]=> string(2) "id" ["orgname"]=> diff --git a/ext/openssl/tests/bug38261.phpt b/ext/openssl/tests/bug38261.phpt index 6064380c8bca2..b261ff0a55c50 100644 --- a/ext/openssl/tests/bug38261.phpt +++ b/ext/openssl/tests/bug38261.phpt @@ -40,4 +40,4 @@ bool(false) bool(false) openssl_x509_parse(): Argument #1 ($certificate) must be of type OpenSSLCertificate|string, array given bool(false) -openssl_x509_parse(): Argument #1 ($certificate) must be of type OpenSSLCertificate|string, stdClass given +openssl_x509_parse(): Argument #1 ($certificate) must be of type OpenSSLCertificate|string, DynamicObject given diff --git a/ext/openssl/tests/openssl_cms_decrypt_error.phpt b/ext/openssl/tests/openssl_cms_decrypt_error.phpt index 3c128be64d09c..6b3f24a2439a5 100644 --- a/ext/openssl/tests/openssl_cms_decrypt_error.phpt +++ b/ext/openssl/tests/openssl_cms_decrypt_error.phpt @@ -30,8 +30,8 @@ var_dump(openssl_cms_decrypt($a, $b, 0, 0)); echo "Done\n"; ?> --EXPECT-- -Object of class stdClass could not be converted to string -object(stdClass)#1 (0) { +Object of class DynamicObject could not be converted to string +object(DynamicObject)#1 (0) { } string(60) "openssl_cms_decrypt(): X.509 Certificate cannot be retrieved" bool(false) diff --git a/ext/openssl/tests/openssl_pkcs7_decrypt_error.phpt b/ext/openssl/tests/openssl_pkcs7_decrypt_error.phpt index 480e662e4145b..a52597cd1f84f 100644 --- a/ext/openssl/tests/openssl_pkcs7_decrypt_error.phpt +++ b/ext/openssl/tests/openssl_pkcs7_decrypt_error.phpt @@ -30,8 +30,8 @@ var_dump(openssl_pkcs7_decrypt($a, $b, 0, 0)); echo "Done\n"; ?> --EXPECT-- -Object of class stdClass could not be converted to string -object(stdClass)#1 (0) { +Object of class DynamicObject could not be converted to string +object(DynamicObject)#1 (0) { } string(62) "openssl_pkcs7_decrypt(): X.509 Certificate cannot be retrieved" bool(false) diff --git a/ext/pcre/tests/preg_grep_error1.phpt b/ext/pcre/tests/preg_grep_error1.phpt index 3079c0b4b0249..a079dabb0406d 100644 --- a/ext/pcre/tests/preg_grep_error1.phpt +++ b/ext/pcre/tests/preg_grep_error1.phpt @@ -65,5 +65,5 @@ array(2) { [2]=> string(4) "test" } -preg_grep(): Argument #1 ($pattern) must be of type string, stdClass given +preg_grep(): Argument #1 ($pattern) must be of type string, DynamicObject given Done diff --git a/ext/pcre/tests/preg_match_all_error1.phpt b/ext/pcre/tests/preg_match_all_error1.phpt index d25bfe99c6e6d..d8e4f0ab09313 100644 --- a/ext/pcre/tests/preg_match_all_error1.phpt +++ b/ext/pcre/tests/preg_match_all_error1.phpt @@ -79,5 +79,5 @@ array(1) { string(1) "t" } } -preg_match_all(): Argument #1 ($pattern) must be of type string, stdClass given +preg_match_all(): Argument #1 ($pattern) must be of type string, DynamicObject given NULL diff --git a/ext/pcre/tests/preg_match_error1.phpt b/ext/pcre/tests/preg_match_error1.phpt index 7a7106270f0e8..7f27a34576511 100644 --- a/ext/pcre/tests/preg_match_error1.phpt +++ b/ext/pcre/tests/preg_match_error1.phpt @@ -57,4 +57,4 @@ preg_match(): Argument #1 ($pattern) must be of type string, array given Arg value is /[a-zA-Z]/ int(1) -preg_match(): Argument #1 ($pattern) must be of type string, stdClass given +preg_match(): Argument #1 ($pattern) must be of type string, DynamicObject given diff --git a/ext/pcre/tests/preg_match_error2.phpt b/ext/pcre/tests/preg_match_error2.phpt index 48aafd3713b6c..56edeebe44f9b 100644 --- a/ext/pcre/tests/preg_match_error2.phpt +++ b/ext/pcre/tests/preg_match_error2.phpt @@ -33,5 +33,5 @@ int(1) Arg value is: Array preg_match(): Argument #2 ($subject) must be of type string, array given -preg_match(): Argument #2 ($subject) must be of type string, stdClass given +preg_match(): Argument #2 ($subject) must be of type string, DynamicObject given Done diff --git a/ext/pcre/tests/preg_replace_error1.phpt b/ext/pcre/tests/preg_replace_error1.phpt index ccd3554745606..73cfec3cc503f 100644 --- a/ext/pcre/tests/preg_replace_error1.phpt +++ b/ext/pcre/tests/preg_replace_error1.phpt @@ -56,4 +56,4 @@ string(1) "a" Arg value is /[a-zA-Z]/ string(1) "1" -preg_replace(): Argument #1 ($pattern) must be of type array|string, stdClass given +preg_replace(): Argument #1 ($pattern) must be of type array|string, DynamicObject given diff --git a/ext/pcre/tests/preg_replace_error2.phpt b/ext/pcre/tests/preg_replace_error2.phpt index 4b162061b3332..1e3cc36b70b53 100644 --- a/ext/pcre/tests/preg_replace_error2.phpt +++ b/ext/pcre/tests/preg_replace_error2.phpt @@ -36,5 +36,5 @@ string(64) "this is a stringthis is a stringthis is a stringthis is a string" Arg value is: Array preg_replace(): Argument #1 ($pattern) must be of type array when argument #2 ($replacement) is an array, string given -preg_replace(): Argument #2 ($replacement) must be of type array|string, stdClass given +preg_replace(): Argument #2 ($replacement) must be of type array|string, DynamicObject given Done diff --git a/ext/pcre/tests/preg_split_error1.phpt b/ext/pcre/tests/preg_split_error1.phpt index 4d0fb9e22a45e..9db4ad1c3b368 100644 --- a/ext/pcre/tests/preg_split_error1.phpt +++ b/ext/pcre/tests/preg_split_error1.phpt @@ -66,4 +66,4 @@ array(3) { [2]=> string(4) " 5 6" } -preg_split(): Argument #1 ($pattern) must be of type string, stdClass given +preg_split(): Argument #1 ($pattern) must be of type string, DynamicObject given diff --git a/ext/pdo_mysql/tests/bug46292.phpt b/ext/pdo_mysql/tests/bug46292.phpt index 156be1faf2d54..57da6f0e32a71 100644 --- a/ext/pdo_mysql/tests/bug46292.phpt +++ b/ext/pdo_mysql/tests/bug46292.phpt @@ -66,7 +66,7 @@ array(2) { NULL } [1]=> - object(stdClass)#%d (1) { + object(DynamicObject)#4 (1) { ["value"]=> NULL } diff --git a/ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt b/ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt index 40c985b4c3fdb..c5380387e287b 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt @@ -159,7 +159,7 @@ error_reporting=E_ALL ?> --EXPECTF-- TypeError: Attribute value must be of type int for selected attribute, array given -TypeError: Attribute value must be of type int for selected attribute, stdClass given +TypeError: Attribute value must be of type int for selected attribute, DynamicObject given TypeError: Attribute value must be of type int for selected attribute, string given ValueError: Error mode must be one of the PDO::ERRMODE_* constants diff --git a/ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt b/ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt index 6fa3ce055240c..f9af5d0b364c9 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt @@ -71,7 +71,7 @@ MySQLPDOTest::skip(); ?> --EXPECTF-- Attribute value must be of type int for selected attribute, array given -Attribute value must be of type int for selected attribute, stdClass given +Attribute value must be of type int for selected attribute, DynamicObject given Attribute value must be of type int for selected attribute, string given array(1) { [0]=> diff --git a/ext/pdo_pgsql/tests/bug75402.phpt b/ext/pdo_pgsql/tests/bug75402.phpt index f09625a833c45..76761ca0cb1f3 100644 --- a/ext/pdo_pgsql/tests/bug75402.phpt +++ b/ext/pdo_pgsql/tests/bug75402.phpt @@ -85,11 +85,11 @@ if ($db) { var_dump($resp); ?> --EXPECT-- -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["entries"]=> array(1) { [0]=> - object(stdClass)#4 (10) { + object(DynamicObject)#4 (10) { ["sid"]=> string(19) "20171016083645_5337" ["sgroupid"]=> diff --git a/ext/pgsql/tests/10pg_convert_9.phpt b/ext/pgsql/tests/10pg_convert_9.phpt index f4bfaf5e39559..98fbc14990409 100644 --- a/ext/pgsql/tests/10pg_convert_9.phpt +++ b/ext/pgsql/tests/10pg_convert_9.phpt @@ -61,5 +61,5 @@ array(3) { Array of values must be an associative array with string keys Array of values must be an associative array with string keys Values must be of type string|int|float|bool|null, array given -Values must be of type string|int|float|bool|null, stdClass given +Values must be of type string|int|float|bool|null, DynamicObject given Values must be of type string|int|float|bool|null, PgSql\Connection given diff --git a/ext/pgsql/tests/12pg_insert_9.phpt b/ext/pgsql/tests/12pg_insert_9.phpt index 892494fe6f0a9..2411e81d2edfa 100644 --- a/ext/pgsql/tests/12pg_insert_9.phpt +++ b/ext/pgsql/tests/12pg_insert_9.phpt @@ -61,6 +61,6 @@ object(PgSql\Result)#%d (0) { Array of values must be an associative array with string keys Array of values must be an associative array with string keys Values must be of type string|int|float|bool|null, array given -Values must be of type string|int|float|bool|null, stdClass given +Values must be of type string|int|float|bool|null, DynamicObject given Values must be of type string|int|float|bool|null, PgSql\Connection given Ok diff --git a/ext/pgsql/tests/13pg_select_9.phpt b/ext/pgsql/tests/13pg_select_9.phpt index 9246288e5c8c0..3b21bbedf0f67 100644 --- a/ext/pgsql/tests/13pg_select_9.phpt +++ b/ext/pgsql/tests/13pg_select_9.phpt @@ -81,6 +81,6 @@ SELECT * FROM "php_pgsql_test" WHERE "num"='1234'; Array of values must be an associative array with string keys Array of values must be an associative array with string keys Values must be of type string|int|float|bool|null, array given -Values must be of type string|int|float|bool|null, stdClass given +Values must be of type string|int|float|bool|null, DynamicObject given Values must be of type string|int|float|bool|null, PgSql\Connection given Ok diff --git a/ext/pgsql/tests/17result.phpt b/ext/pgsql/tests/17result.phpt index 15cdceb52b4b7..9470ab00e52cd 100644 --- a/ext/pgsql/tests/17result.phpt +++ b/ext/pgsql/tests/17result.phpt @@ -25,9 +25,9 @@ var_dump(pg_result_seek($result, 0)); echo "Ok\n"; ?> ---EXPECTF-- +--EXPECT-- bool(true) -object(stdClass)#%d (3) { +object(DynamicObject)#3 (3) { ["num"]=> string(1) "1" ["str"]=> diff --git a/ext/pgsql/tests/28large_object_import_oid.phpt b/ext/pgsql/tests/28large_object_import_oid.phpt index 3af7529333989..f26bd5af215f5 100644 --- a/ext/pgsql/tests/28large_object_import_oid.phpt +++ b/ext/pgsql/tests/28large_object_import_oid.phpt @@ -106,6 +106,6 @@ Invalid OID value passed Deprecated: pg_lo_import(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d OID value must be of type string|int, bool given OID value must be of type string|int, array given -OID value must be of type string|int, stdClass given +OID value must be of type string|int, DynamicObject given OID value must be of type string|int, PgSql\Connection given OK diff --git a/ext/pgsql/tests/80_bug24499.phpt b/ext/pgsql/tests/80_bug24499.phpt index 18ec3293c9cc3..c840e9a584d6b 100644 --- a/ext/pgsql/tests/80_bug24499.phpt +++ b/ext/pgsql/tests/80_bug24499.phpt @@ -49,7 +49,7 @@ pg_close($dbh); echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- Array ( [0] => 1 @@ -60,7 +60,7 @@ Array [0] => 2 [id] => 2 ) -object(stdClass)#%d (1) { +object(DynamicObject)#4 (1) { ["id"]=> string(1) "3" } diff --git a/ext/pgsql/tests/bug60244.phpt b/ext/pgsql/tests/bug60244.phpt index 50a9d7a831dd9..f499fc2166862 100644 --- a/ext/pgsql/tests/bug60244.phpt +++ b/ext/pgsql/tests/bug60244.phpt @@ -43,7 +43,7 @@ var_dump(pg_fetch_row($result, 0)); pg_close($db); ?> ---EXPECTF-- +--EXPECT-- pg_fetch_array(): Argument #2 ($row) must be greater than or equal to 0 pg_fetch_assoc(): Argument #2 ($row) must be greater than or equal to 0 pg_fetch_object(): Argument #2 ($row) must be greater than or equal to 0 @@ -58,7 +58,7 @@ array(1) { ["?column?"]=> string(1) "a" } -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["?column?"]=> string(1) "a" } diff --git a/ext/phar/tests/phar_extract.phpt b/ext/phar/tests/phar_extract.phpt index 7d50a3bed749e..1fe17a4407d99 100644 --- a/ext/phar/tests/phar_extract.phpt +++ b/ext/phar/tests/phar_extract.phpt @@ -138,7 +138,7 @@ string(2) "hi" string(3) "hi3" string(3) "hi2" bool(false) -Phar::extractTo(): Argument #2 ($files) must be of type array|string|null, stdClass given +Phar::extractTo(): Argument #2 ($files) must be of type array|string|null, DynamicObject given Phar::extractTo(): Argument #1 ($directory) must be of type string, array given Invalid argument, extraction path must be non-zero length Unable to use path "%soops" for extraction, it is a file, must be a directory diff --git a/ext/phar/tests/phar_metadata_write2.phpt b/ext/phar/tests/phar_metadata_write2.phpt index 0f82dbdb6201b..d4c3f412e9218 100644 --- a/ext/phar/tests/phar_metadata_write2.phpt +++ b/ext/phar/tests/phar_metadata_write2.phpt @@ -39,7 +39,7 @@ unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php.copy.php'); --EXPECT-- string(1) "a" NULL -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["my"]=> string(6) "friend" } diff --git a/ext/phar/tests/phar_metadata_write3.phpt b/ext/phar/tests/phar_metadata_write3.phpt index 8cd966a64843a..2b7e276c4dca5 100644 --- a/ext/phar/tests/phar_metadata_write3.phpt +++ b/ext/phar/tests/phar_metadata_write3.phpt @@ -79,7 +79,7 @@ Calling getMetadata with too low max_depth Warning: Phar::getMetadata(): Maximum depth of 1 exceeded. The depth limit can be changed using the max_depth unserialize() option or the unserialize_max_depth ini setting in %sphar_metadata_write3.php on line 39 -Notice: Phar::getMetadata(): Error at offset 34 of 59 bytes in %sphar_metadata_write3.php on line 39 +Notice: Phar::getMetadata(): Error at offset 34 of 65 bytes in %s on line %d bool(false) Calling getMetadata with some allowed classes In wakeup @@ -90,7 +90,7 @@ array(2) { [1]=> object(__PHP_Incomplete_Class)#5 (1) { ["__PHP_Incomplete_Class_Name"]=> - string(8) "stdClass" + string(13) "DynamicObject" } } Calling getMetadata with no options returns the original metadata value @@ -99,6 +99,6 @@ array(2) { object(EchoesOnWakeup)#2 (0) { } [1]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } } diff --git a/ext/reflection/tests/ReflectionClass_constructor_001.phpt b/ext/reflection/tests/ReflectionClass_constructor_001.phpt index 0d4fa670c3e6a..4aaca54c027c4 100644 --- a/ext/reflection/tests/ReflectionClass_constructor_001.phpt +++ b/ext/reflection/tests/ReflectionClass_constructor_001.phpt @@ -21,11 +21,11 @@ var_dump($r1, $r2, $r3); --EXPECTF-- object(ReflectionClass)#%d (1) { ["name"]=> - string(8) "stdClass" + string(13) "DynamicObject" } object(ReflectionClass)#%d (1) { ["name"]=> - string(8) "stdClass" + string(13) "DynamicObject" } object(ReflectionClass)#%d (1) { ["name"]=> diff --git a/ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt b/ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt index f1cac44e9581b..d75114d6914e6 100644 --- a/ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt +++ b/ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt @@ -34,13 +34,13 @@ var_dump($a); An object is in an array and is referenced. As expected, var_dumping the array shows '&': array(1) { [0]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#1 (0) { } } Naturally, this remains true if we modify the object: array(1) { [0]=> - &object(stdClass)#%d (1) { + &object(DynamicObject)#1 (1) { ["x"]=> int(1) } diff --git a/ext/reflection/tests/ReflectionClass_getName_basic.phpt b/ext/reflection/tests/ReflectionClass_getName_basic.phpt index f230165f0dce9..e1ed960712933 100644 --- a/ext/reflection/tests/ReflectionClass_getName_basic.phpt +++ b/ext/reflection/tests/ReflectionClass_getName_basic.phpt @@ -20,6 +20,6 @@ var_dump($r1->getName(), $r2->getName(), $r3->getName()); ?> --EXPECT-- -string(8) "stdClass" -string(8) "stdClass" +string(13) "DynamicObject" +string(13) "DynamicObject" string(10) "TrickClass" diff --git a/ext/reflection/tests/ReflectionClass_getNamespaceName.phpt b/ext/reflection/tests/ReflectionClass_getNamespaceName.phpt index dceb18f7c5af7..5520d6082420a 100644 --- a/ext/reflection/tests/ReflectionClass_getNamespaceName.phpt +++ b/ext/reflection/tests/ReflectionClass_getNamespaceName.phpt @@ -20,9 +20,9 @@ var_dump($function->getShortName()); ?> --EXPECT-- bool(false) -string(8) "stdClass" +string(13) "DynamicObject" string(0) "" -string(8) "stdClass" +string(13) "DynamicObject" bool(true) string(7) "A\B\Foo" string(3) "A\B" diff --git a/ext/reflection/tests/ReflectionClass_newInstanceWithoutConstructor.phpt b/ext/reflection/tests/ReflectionClass_newInstanceWithoutConstructor.phpt index 59337f09e8b42..031c2e594ab94 100644 --- a/ext/reflection/tests/ReflectionClass_newInstanceWithoutConstructor.phpt +++ b/ext/reflection/tests/ReflectionClass_newInstanceWithoutConstructor.phpt @@ -38,7 +38,7 @@ var_dump($class->newInstanceWithoutConstructor()); --EXPECTF-- object(Foo)#%d (0) { } -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } object(DateTime)#%d (0) { } diff --git a/ext/reflection/tests/ReflectionObject_constructor_basic.phpt b/ext/reflection/tests/ReflectionObject_constructor_basic.phpt index 8f4a9082c9be9..5037a5609fd0c 100644 --- a/ext/reflection/tests/ReflectionObject_constructor_basic.phpt +++ b/ext/reflection/tests/ReflectionObject_constructor_basic.phpt @@ -16,7 +16,7 @@ var_dump($r3); --EXPECTF-- object(ReflectionObject)#%d (1) { ["name"]=> - string(8) "stdClass" + string(13) "DynamicObject" } object(ReflectionObject)#%d (1) { ["name"]=> diff --git a/ext/reflection/tests/ReflectionObject_getName_basic.phpt b/ext/reflection/tests/ReflectionObject_getName_basic.phpt index 94ad1e2c7b367..bbc66df5699ee 100644 --- a/ext/reflection/tests/ReflectionObject_getName_basic.phpt +++ b/ext/reflection/tests/ReflectionObject_getName_basic.phpt @@ -16,6 +16,6 @@ var_dump($r3->getName()); ?> --EXPECT-- -string(8) "stdClass" +string(13) "DynamicObject" string(1) "C" string(16) "ReflectionObject" diff --git a/ext/reflection/tests/ReflectionReference_errors.phpt b/ext/reflection/tests/ReflectionReference_errors.phpt index 8ef69e718a9cc..e70b74bfb88f9 100644 --- a/ext/reflection/tests/ReflectionReference_errors.phpt +++ b/ext/reflection/tests/ReflectionReference_errors.phpt @@ -42,9 +42,9 @@ try { echo $e->getMessage(), "\n"; } ?> ---EXPECTF-- +--EXPECT-- Call to private ReflectionReference::__construct() from global scope -ReflectionReference::fromArrayElement(): Argument #1 ($array) must be of type array, stdClass given +ReflectionReference::fromArrayElement(): Argument #1 ($array) must be of type array, DynamicObject given ReflectionReference::fromArrayElement(): Argument #2 ($key) must be of type string|int, array given Array key not found Serialization of 'ReflectionReference' is not allowed diff --git a/ext/reflection/tests/bug40431.phpt b/ext/reflection/tests/bug40431.phpt index 41620a392651e..405bbf07baef3 100644 --- a/ext/reflection/tests/bug40431.phpt +++ b/ext/reflection/tests/bug40431.phpt @@ -84,7 +84,7 @@ array(1) { ["name"]=> string(5) "value" ["class"]=> - string(8) "stdClass" + string(13) "DynamicObject" } } bool(false) diff --git a/ext/reflection/tests/bug46103.phpt b/ext/reflection/tests/bug46103.phpt index 978a9c2c463e5..1a8e1ee9c1180 100644 --- a/ext/reflection/tests/bug46103.phpt +++ b/ext/reflection/tests/bug46103.phpt @@ -9,10 +9,10 @@ var_dump($obj); ?> --EXPECT-- -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["r"]=> object(ReflectionObject)#2 (1) { ["name"]=> - string(8) "stdClass" + string(13) "DynamicObject" } } diff --git a/ext/reflection/tests/bug61388.phpt b/ext/reflection/tests/bug61388.phpt index f8eb797a797e5..0631ca1ad162d 100644 --- a/ext/reflection/tests/bug61388.phpt +++ b/ext/reflection/tests/bug61388.phpt @@ -21,13 +21,13 @@ Array [0] => ReflectionProperty Object ( [name] => 0 - [class] => stdClass + [class] => DynamicObject ) [1] => ReflectionProperty Object ( [name] => oo - [class] => stdClass + [class] => DynamicObject ) ) diff --git a/ext/reflection/tests/bug69802.phpt b/ext/reflection/tests/bug69802.phpt index bf60ea0143694..153a8dbdae8c2 100644 --- a/ext/reflection/tests/bug69802.phpt +++ b/ext/reflection/tests/bug69802.phpt @@ -16,7 +16,7 @@ string(1) "x" Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d object(ReflectionClass)#4 (1) { ["name"]=> - string(8) "stdClass" + string(13) "DynamicObject" } Parameter #0 [ stdClass $x ] stdClass diff --git a/ext/reflection/tests/new_in_attributes.phpt b/ext/reflection/tests/new_in_attributes.phpt index 4c6d4476f3dee..a56237b6dfb1a 100644 --- a/ext/reflection/tests/new_in_attributes.phpt +++ b/ext/reflection/tests/new_in_attributes.phpt @@ -41,21 +41,21 @@ array(2) { [0]=> NULL [1]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } } object(MyAttribute)#4 (2) { ["x"]=> NULL ["y"]=> - object(stdClass)#5 (0) { + object(DynamicObject)#5 (0) { } } bool(true) bool(true) array(2) { ["y"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["x"]=> NULL @@ -64,6 +64,6 @@ object(MyAttribute)#10 (2) { ["x"]=> NULL ["y"]=> - object(stdClass)#11 (0) { + object(DynamicObject)#11 (0) { } } diff --git a/ext/reflection/tests/parameters_002.phpt b/ext/reflection/tests/parameters_002.phpt index f27f4ab6fda86..d310e7830716d 100644 --- a/ext/reflection/tests/parameters_002.phpt +++ b/ext/reflection/tests/parameters_002.phpt @@ -118,7 +118,7 @@ getName: string(3) "std" isPassedByReference: bool(false) Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d -getClass: stdClass +getClass: DynamicObject getDeclaringClass: NULL isArray: Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d @@ -144,7 +144,7 @@ getName: string(3) "opt" isPassedByReference: bool(true) Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d -getClass: stdClass +getClass: DynamicObject getDeclaringClass: NULL isArray: Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d @@ -212,7 +212,7 @@ getName: string(3) "std" isPassedByReference: bool(false) Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d -getClass: stdClass +getClass: DynamicObject getDeclaringClass: test isArray: Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d @@ -238,7 +238,7 @@ getName: string(3) "opt" isPassedByReference: bool(false) Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d -getClass: stdClass +getClass: DynamicObject getDeclaringClass: test isArray: Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d diff --git a/ext/session/tests/bug79031.phpt b/ext/session/tests/bug79031.phpt index 2e07802a42dee..35813d4d49e01 100644 --- a/ext/session/tests/bug79031.phpt +++ b/ext/session/tests/bug79031.phpt @@ -53,13 +53,13 @@ var_dump($_SESSION); ?> --EXPECT-- -obj1|C:17:"SerializableClass":65:{a:1:{s:10:"sharedProp";O:8:"stdClass":1:{s:4:"name";s:4:"test";}}}obj2|C:17:"SerializableClass":28:{a:1:{s:10:"sharedProp";r:3;}} +obj1|C:17:"SerializableClass":71:{a:1:{s:10:"sharedProp";O:13:"DynamicObject":1:{s:4:"name";s:4:"test";}}}obj2|C:17:"SerializableClass":28:{a:1:{s:10:"sharedProp";r:3;}} array(2) { ["obj1"]=> object(SerializableClass)#4 (1) { ["sharedProp"]=> - object(stdClass)#5 (1) { + object(DynamicObject)#5 (1) { ["name"]=> string(4) "test" } @@ -67,7 +67,7 @@ array(2) { ["obj2"]=> object(SerializableClass)#6 (1) { ["sharedProp"]=> - object(stdClass)#5 (1) { + object(DynamicObject)#5 (1) { ["name"]=> string(4) "test" } diff --git a/ext/session/tests/session_start_error.phpt b/ext/session/tests/session_start_error.phpt index 741a6bd34e99a..b36590dba283a 100644 --- a/ext/session/tests/session_start_error.phpt +++ b/ext/session/tests/session_start_error.phpt @@ -21,7 +21,7 @@ ob_end_flush(); ?> --EXPECTF-- -session_start(): Option "option" must be of type string|int|bool, stdClass given +session_start(): Option "option" must be of type string|int|bool, DynamicObject given Warning: session_start(): Setting option "option" failed in %s on line %d bool(true) diff --git a/ext/simplexml/tests/bug38406.phpt b/ext/simplexml/tests/bug38406.phpt index 41f2df7aaf60a..40e838686dd1c 100644 --- a/ext/simplexml/tests/bug38406.phpt +++ b/ext/simplexml/tests/bug38406.phpt @@ -33,5 +33,5 @@ object(SimpleXMLElement)#%d (1) { } Warning: Array to string conversion in %s on line %d -It's not possible to assign a complex type to properties, stdClass given +It's not possible to assign a complex type to properties, DynamicObject given Done diff --git a/ext/soap/tests/any.phpt b/ext/soap/tests/any.phpt index 859cf3bdfb6e6..2e19e71a93384 100644 --- a/ext/soap/tests/any.phpt +++ b/ext/soap/tests/any.phpt @@ -56,9 +56,9 @@ var_dump($g); var_dump($ret); ?> --EXPECT-- -object(stdClass)#5 (1) { +object(DynamicObject)#5 (1) { ["inputAny"]=> - object(stdClass)#6 (1) { + object(DynamicObject)#6 (1) { ["any"]=> array(1) { ["SOAPComplexType"]=> @@ -73,9 +73,9 @@ object(stdClass)#5 (1) { } } } -object(stdClass)#8 (1) { +object(DynamicObject)#8 (1) { ["return"]=> - object(stdClass)#9 (1) { + object(DynamicObject)#9 (1) { ["any"]=> array(1) { ["SOAPComplexType"]=> diff --git a/ext/soap/tests/bugs/bug30106.phpt b/ext/soap/tests/bugs/bug30106.phpt index 023bd44272861..f66fbd789ed38 100644 --- a/ext/soap/tests/bugs/bug30106.phpt +++ b/ext/soap/tests/bugs/bug30106.phpt @@ -36,7 +36,7 @@ var_dump($client->__getTypes()); $x = $client->getContinentList(array("AFFILIATE_ID"=>1,"PASSWORD"=>"x")); var_dump($x); ?> ---EXPECTF-- +--EXPECT-- array(1) { [0]=> string(71) "getContinentListResponse getContinentList(getContinentList $parameters)" @@ -61,9 +61,9 @@ array(3) { 1x Hello World!Bye World! -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["getContinentListResult"]=> - object(stdClass)#%d (2) { + object(DynamicObject)#4 (2) { ["schema"]=> string(65) "" ["any"]=> diff --git a/ext/soap/tests/bugs/bug30928.phpt b/ext/soap/tests/bugs/bug30928.phpt index 4abb951964e5c..f9cab651af982 100644 --- a/ext/soap/tests/bugs/bug30928.phpt +++ b/ext/soap/tests/bugs/bug30928.phpt @@ -44,7 +44,7 @@ var_dump($x->test(new foo())); echo "ok\n"; ?> --EXPECTF-- -object(stdClass)#%d (3) { +object(DynamicObject)#4 (3) { ["a"]=> string(1) "a" ["b"]=> diff --git a/ext/soap/tests/bugs/bug38536.phpt b/ext/soap/tests/bugs/bug38536.phpt index fb5dcc239568e..f79c0c62e0a3c 100644 --- a/ext/soap/tests/bugs/bug38536.phpt +++ b/ext/soap/tests/bugs/bug38536.phpt @@ -40,10 +40,10 @@ $SOAPObject = new LocalSoapClient(__DIR__.'/bug38536.wsdl'); print_r($SOAPObject->test()); ?> --EXPECT-- -stdClass Object +DynamicObject Object ( [id] => 2 - [address] => stdClass Object + [address] => DynamicObject Object ( [idClient] => 2 [address] => Test diff --git a/ext/soap/tests/bugs/bug44882.phpt b/ext/soap/tests/bugs/bug44882.phpt index 2a6fa526d4d6a..c45a2350568bd 100644 --- a/ext/soap/tests/bugs/bug44882.phpt +++ b/ext/soap/tests/bugs/bug44882.phpt @@ -42,17 +42,17 @@ $client = new TestSoapClient(__DIR__.'/bug44882.wsdl'); print_r($client->GetExpressCheckoutDetails()); ?> --EXPECT-- -stdClass Object +DynamicObject Object ( [Timestamp] => 2008-06-23T14:51:08Z [Ack] => Success [CorrelationID] => ae013a0ccdf13 [Version] => 50.000000 [Build] => 588340 - [GetExpressCheckoutDetailsResponseDetails] => stdClass Object + [GetExpressCheckoutDetailsResponseDetails] => DynamicObject Object ( [Token] => EC-11Y75137T2399952C - [PayerInfo] => stdClass Object + [PayerInfo] => DynamicObject Object ( [Payer] => example@example.com [PayerID] => MU82WA43YXM9C diff --git a/ext/soap/tests/bugs/bug55323.phpt b/ext/soap/tests/bugs/bug55323.phpt index dc3cf98eca59c..e0180026aa7e9 100644 --- a/ext/soap/tests/bugs/bug55323.phpt +++ b/ext/soap/tests/bugs/bug55323.phpt @@ -36,8 +36,8 @@ $soapClient = new TestSoapClient($wsdl, $result = $soapClient->getObject(); var_dump($result); ?> ---EXPECTF-- -object(stdClass)#%d (2) { +--EXPECT-- +object(DynamicObject)#2 (2) { ["accountId"]=> int(1234) ["parent"]=> diff --git a/ext/soap/tests/bugs/bug73237.phpt b/ext/soap/tests/bugs/bug73237.phpt index 7a9b530119442..572154a87804a 100644 --- a/ext/soap/tests/bugs/bug73237.phpt +++ b/ext/soap/tests/bugs/bug73237.phpt @@ -17,9 +17,9 @@ $client = new LocalSoapClient(__DIR__."/bug73237.wsdl"); var_dump($client->query("")); ?> --EXPECT-- -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["result"]=> - object(stdClass)#3 (4) { + object(DynamicObject)#3 (4) { ["done"]=> string(4) "true" ["queryLocator"]=> @@ -29,7 +29,7 @@ object(stdClass)#2 (1) { ["enc_type"]=> int(0) ["enc_value"]=> - object(stdClass)#4 (3) { + object(DynamicObject)#4 (3) { ["type"]=> string(14) "CampaignMember" ["Id"]=> @@ -44,7 +44,7 @@ object(stdClass)#2 (1) { [0]=> string(175) "701i0000001lreeAAASent00Qi000001UrbYFEAZ" ["Lead"]=> - object(stdClass)#5 (3) { + object(DynamicObject)#5 (3) { ["type"]=> string(4) "Lead" ["Id"]=> diff --git a/ext/soap/tests/fault_warning.phpt b/ext/soap/tests/fault_warning.phpt index 2a9d99fb5dbd2..434cc30a4ed3c 100644 --- a/ext/soap/tests/fault_warning.phpt +++ b/ext/soap/tests/fault_warning.phpt @@ -40,7 +40,7 @@ echo get_class($fault); ?> --EXPECT-- SoapFault::__construct(): Argument #1 ($code) is not a valid fault code -SoapFault::__construct(): Argument #1 ($code) must be of type array|string|null, stdClass given +SoapFault::__construct(): Argument #1 ($code) must be of type array|string|null, DynamicObject given SoapFault SoapFault SoapFault::__construct(): Argument #1 ($code) is not a valid fault code diff --git a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_001w.phpt b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_001w.phpt index 8dfbc01ba7241..a3bb0d9e74444 100644 --- a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_001w.phpt +++ b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_001w.phpt @@ -26,7 +26,7 @@ echo "ok\n"; 1arg1 1arg1 -object(stdClass)#5 (3) { +object(DynamicObject)#5 (3) { ["varInt"]=> int(1) ["varString"]=> diff --git a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_002w.phpt b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_002w.phpt index 12b13c345b3eb..d434e278f4304 100644 --- a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_002w.phpt +++ b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_002w.phpt @@ -26,13 +26,13 @@ echo "ok\n"; 1arg12arg2 1arg12arg2 -object(stdClass)#6 (3) { +object(DynamicObject)#6 (3) { ["varInt"]=> int(1) ["varString"]=> string(4) "arg1" ["child"]=> - object(stdClass)#7 (3) { + object(DynamicObject)#7 (3) { ["varInt"]=> int(2) ["varString"]=> diff --git a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_003w.phpt b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_003w.phpt index bd83ba071664f..c3f73a912315b 100644 --- a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_003w.phpt +++ b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_003w.phpt @@ -26,19 +26,19 @@ echo "ok\n"; 1arg12arg23arg3 1arg12arg23arg3 -object(stdClass)#7 (3) { +object(DynamicObject)#7 (3) { ["varInt"]=> int(1) ["varString"]=> string(4) "arg1" ["child"]=> - object(stdClass)#8 (3) { + object(DynamicObject)#8 (3) { ["varInt"]=> int(2) ["varString"]=> string(4) "arg2" ["child"]=> - object(stdClass)#9 (3) { + object(DynamicObject)#9 (3) { ["varInt"]=> int(3) ["varString"]=> diff --git a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_005w.phpt b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_005w.phpt index 723ed89d39151..a857449633c5e 100644 --- a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_005w.phpt +++ b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_005w.phpt @@ -22,24 +22,24 @@ $HTTP_RAW_POST_DATA = $client->__getlastrequest(); include("round3_groupE_list.inc"); echo "ok\n"; ?> ---EXPECTF-- +--EXPECT-- 1arg12arg23arg3 1arg12arg23arg3 -object(stdClass)#%d (3) { +object(DynamicObject)#7 (3) { ["varInt"]=> int(1) ["varString"]=> string(4) "arg1" ["child"]=> - object(stdClass)#%d (3) { + object(DynamicObject)#8 (3) { ["varInt"]=> int(2) ["varString"]=> string(4) "arg2" ["child"]=> - object(stdClass)#%d (3) { + object(DynamicObject)#9 (3) { ["varInt"]=> int(3) ["varString"]=> diff --git a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_006w.phpt b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_006w.phpt index 3c82f32572641..b5160fbac9f09 100644 --- a/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_006w.phpt +++ b/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_006w.phpt @@ -22,24 +22,24 @@ $HTTP_RAW_POST_DATA = $client->__getlastrequest(); include("round3_groupE_list.inc"); echo "ok\n"; ?> ---EXPECTF-- +--EXPECT-- 1arg12arg23arg3 1arg12arg23arg3 -object(stdClass)#%d (3) { +object(DynamicObject)#7 (3) { ["varInt"]=> int(1) ["varString"]=> string(4) "arg1" ["child"]=> - object(stdClass)#%d (3) { + object(DynamicObject)#8 (3) { ["varInt"]=> int(2) ["varString"]=> string(4) "arg2" ["child"]=> - object(stdClass)#%d (3) { + object(DynamicObject)#9 (3) { ["varInt"]=> int(3) ["varString"]=> diff --git a/ext/soap/tests/schema/schema030.phpt b/ext/soap/tests/schema/schema030.phpt index bfed6f0dda491..1879dc21d2062 100644 --- a/ext/soap/tests/schema/schema030.phpt +++ b/ext/soap/tests/schema/schema030.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123str -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["str"]=> diff --git a/ext/soap/tests/schema/schema031.phpt b/ext/soap/tests/schema/schema031.phpt index 61ef05951585d..cb8d8f844fd84 100644 --- a/ext/soap/tests/schema/schema031.phpt +++ b/ext/soap/tests/schema/schema031.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123str -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["str"]=> diff --git a/ext/soap/tests/schema/schema032.phpt b/ext/soap/tests/schema/schema032.phpt index 0b42058ffb482..a6c9b1e69cfd0 100644 --- a/ext/soap/tests/schema/schema032.phpt +++ b/ext/soap/tests/schema/schema032.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (1) { +object(DynamicObject)#6 (1) { ["int"]=> int(123) } diff --git a/ext/soap/tests/schema/schema033.phpt b/ext/soap/tests/schema/schema033.phpt index c129eb8b63f5a..317a7c733479b 100644 --- a/ext/soap/tests/schema/schema033.phpt +++ b/ext/soap/tests/schema/schema033.phpt @@ -22,14 +22,14 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"nest"=>array("int"=>123.5))); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["nest"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#7 (1) { ["int"]=> int(123) } diff --git a/ext/soap/tests/schema/schema034.phpt b/ext/soap/tests/schema/schema034.phpt index 91b477d7f1ffb..fdef5a737327a 100644 --- a/ext/soap/tests/schema/schema034.phpt +++ b/ext/soap/tests/schema/schema034.phpt @@ -23,14 +23,14 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"testType2"=>array("int"=>123.5))); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["testType2"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#7 (1) { ["int"]=> int(123) } diff --git a/ext/soap/tests/schema/schema035.phpt b/ext/soap/tests/schema/schema035.phpt index 4896432fa19bd..5a15451457fab 100644 --- a/ext/soap/tests/schema/schema035.phpt +++ b/ext/soap/tests/schema/schema035.phpt @@ -24,14 +24,14 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"testType2"=>array("int"=>123.5))); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["testType2"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#7 (1) { ["int"]=> int(123) } diff --git a/ext/soap/tests/schema/schema036.phpt b/ext/soap/tests/schema/schema036.phpt index 38f2c25391cf1..df50d6218b3ec 100644 --- a/ext/soap/tests/schema/schema036.phpt +++ b/ext/soap/tests/schema/schema036.phpt @@ -23,14 +23,14 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"testType2"=>array("int"=>123.5))); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["testType2"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#7 (1) { ["int"]=> int(123) } diff --git a/ext/soap/tests/schema/schema037.phpt b/ext/soap/tests/schema/schema037.phpt index 9158d6cb23900..cddc1ab0910b4 100644 --- a/ext/soap/tests/schema/schema037.phpt +++ b/ext/soap/tests/schema/schema037.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- str -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema038.phpt b/ext/soap/tests/schema/schema038.phpt index c39371b7d3605..5575d08623321 100644 --- a/ext/soap/tests/schema/schema038.phpt +++ b/ext/soap/tests/schema/schema038.phpt @@ -18,10 +18,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- str -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema039.phpt b/ext/soap/tests/schema/schema039.phpt index 439a6620e38b6..c27305a518f98 100644 --- a/ext/soap/tests/schema/schema039.phpt +++ b/ext/soap/tests/schema/schema039.phpt @@ -20,10 +20,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- str -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema040.phpt b/ext/soap/tests/schema/schema040.phpt index 5a8fcc50f5a3f..d5bd55ea56b70 100644 --- a/ext/soap/tests/schema/schema040.phpt +++ b/ext/soap/tests/schema/schema040.phpt @@ -21,10 +21,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- str -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema041.phpt b/ext/soap/tests/schema/schema041.phpt index 9d9b209e06183..12a91ee1964d3 100644 --- a/ext/soap/tests/schema/schema041.phpt +++ b/ext/soap/tests/schema/schema041.phpt @@ -20,10 +20,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123str -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["str"]=> diff --git a/ext/soap/tests/schema/schema042.phpt b/ext/soap/tests/schema/schema042.phpt index 88d6bb7907a36..40035b6849ced 100644 --- a/ext/soap/tests/schema/schema042.phpt +++ b/ext/soap/tests/schema/schema042.phpt @@ -18,10 +18,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["_"]=> int(123) ["int"]=> diff --git a/ext/soap/tests/schema/schema043.phpt b/ext/soap/tests/schema/schema043.phpt index b53d25fb9c175..86962a1922f2a 100644 --- a/ext/soap/tests/schema/schema043.phpt +++ b/ext/soap/tests/schema/schema043.phpt @@ -25,10 +25,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5,"int2"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (3) { +object(DynamicObject)#6 (3) { ["_"]=> int(123) ["int"]=> diff --git a/ext/soap/tests/schema/schema044.phpt b/ext/soap/tests/schema/schema044.phpt index 076169fb6f143..fc7feda696e83 100644 --- a/ext/soap/tests/schema/schema044.phpt +++ b/ext/soap/tests/schema/schema044.phpt @@ -18,10 +18,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["_"]=> int(123) ["int"]=> diff --git a/ext/soap/tests/schema/schema045.phpt b/ext/soap/tests/schema/schema045.phpt index 2dc8d18947c4d..1a9533466ad41 100644 --- a/ext/soap/tests/schema/schema045.phpt +++ b/ext/soap/tests/schema/schema045.phpt @@ -25,10 +25,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5,"int2"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["_"]=> int(123) ["int2"]=> diff --git a/ext/soap/tests/schema/schema046.phpt b/ext/soap/tests/schema/schema046.phpt index 284267371da42..6c354db0fcb7d 100644 --- a/ext/soap/tests/schema/schema046.phpt +++ b/ext/soap/tests/schema/schema046.phpt @@ -25,10 +25,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5,"int2"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (3) { +object(DynamicObject)#6 (3) { ["_"]=> int(123) ["int"]=> diff --git a/ext/soap/tests/schema/schema047.phpt b/ext/soap/tests/schema/schema047.phpt index 2c1f1ea3ab8dd..50ec5c25f8a60 100644 --- a/ext/soap/tests/schema/schema047.phpt +++ b/ext/soap/tests/schema/schema047.phpt @@ -23,10 +23,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5,"int2"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["int2"]=> diff --git a/ext/soap/tests/schema/schema048.phpt b/ext/soap/tests/schema/schema048.phpt index 005b518cd5ae2..7f2e564fa41b1 100644 --- a/ext/soap/tests/schema/schema048.phpt +++ b/ext/soap/tests/schema/schema048.phpt @@ -25,10 +25,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5,"int2"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["_"]=> int(123) ["int2"]=> diff --git a/ext/soap/tests/schema/schema049.phpt b/ext/soap/tests/schema/schema049.phpt index b939b9e60d517..d397d581fb055 100644 --- a/ext/soap/tests/schema/schema049.phpt +++ b/ext/soap/tests/schema/schema049.phpt @@ -26,10 +26,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5,"int2"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (1) { +object(DynamicObject)#6 (1) { ["int2"]=> int(123) } diff --git a/ext/soap/tests/schema/schema050.phpt b/ext/soap/tests/schema/schema050.phpt index 90ad92612bae9..faf255f29e956 100644 --- a/ext/soap/tests/schema/schema050.phpt +++ b/ext/soap/tests/schema/schema050.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"int2"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["int2"]=> diff --git a/ext/soap/tests/schema/schema051.phpt b/ext/soap/tests/schema/schema051.phpt index 0659da78a76e8..3ddcd03d13665 100644 --- a/ext/soap/tests/schema/schema051.phpt +++ b/ext/soap/tests/schema/schema051.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"int2"=>array(123.5,456.7))); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123123456 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["int2"]=> diff --git a/ext/soap/tests/schema/schema052.phpt b/ext/soap/tests/schema/schema052.phpt index 0830a358f1dc9..01a77c1967e80 100644 --- a/ext/soap/tests/schema/schema052.phpt +++ b/ext/soap/tests/schema/schema052.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"int2"=>array(123.5))); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123123 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(123) ["int2"]=> diff --git a/ext/soap/tests/schema/schema053.phpt b/ext/soap/tests/schema/schema053.phpt index 13e295bc7b31c..73e82a0f2e34c 100644 --- a/ext/soap/tests/schema/schema053.phpt +++ b/ext/soap/tests/schema/schema053.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"int2"=>array())); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (1) { +object(DynamicObject)#6 (1) { ["int"]=> int(123) } diff --git a/ext/soap/tests/schema/schema062.phpt b/ext/soap/tests/schema/schema062.phpt index 0cbc24ab2cfe0..891ed9fe44d97 100644 --- a/ext/soap/tests/schema/schema062.phpt +++ b/ext/soap/tests/schema/schema062.phpt @@ -18,10 +18,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("_"=>NULL,"int"=>123.5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["_"]=> NULL ["int"]=> diff --git a/ext/soap/tests/schema/schema064.phpt b/ext/soap/tests/schema/schema064.phpt index 4809e95fad34e..629597983e28d 100644 --- a/ext/soap/tests/schema/schema064.phpt +++ b/ext/soap/tests/schema/schema064.phpt @@ -40,10 +40,10 @@ test_schema($schema,'type="tns:testType"',array( )); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 1976-04-05T01:02:03Z1976-04-05Z1976-04Z1976Z--04-05Z---05Z--04--Z -object(stdClass)#%d (8) { +object(DynamicObject)#5 (8) { ["dateTime"]=> string(20) "1976-04-05T01:02:03Z" ["time"]=> diff --git a/ext/soap/tests/schema/schema065.phpt b/ext/soap/tests/schema/schema065.phpt index 9fd7f07bd2656..11f07573f484e 100644 --- a/ext/soap/tests/schema/schema065.phpt +++ b/ext/soap/tests/schema/schema065.phpt @@ -15,10 +15,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str")); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema066.phpt b/ext/soap/tests/schema/schema066.phpt index 54d3873c7d2e4..2f6463f97b4d8 100644 --- a/ext/soap/tests/schema/schema066.phpt +++ b/ext/soap/tests/schema/schema066.phpt @@ -15,10 +15,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str")); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema067.phpt b/ext/soap/tests/schema/schema067.phpt index d1445312272f7..da7af11963a63 100644 --- a/ext/soap/tests/schema/schema067.phpt +++ b/ext/soap/tests/schema/schema067.phpt @@ -15,10 +15,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>5)); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema069.phpt b/ext/soap/tests/schema/schema069.phpt index 6c2662980e0de..860f65ddcbad2 100644 --- a/ext/soap/tests/schema/schema069.phpt +++ b/ext/soap/tests/schema/schema069.phpt @@ -16,10 +16,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str")); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema070.phpt b/ext/soap/tests/schema/schema070.phpt index 271a654b22fb9..57c05ce483df1 100644 --- a/ext/soap/tests/schema/schema070.phpt +++ b/ext/soap/tests/schema/schema070.phpt @@ -18,10 +18,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str")); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema074.phpt b/ext/soap/tests/schema/schema074.phpt index fa1e4d8e95ece..192cccca4607b 100644 --- a/ext/soap/tests/schema/schema074.phpt +++ b/ext/soap/tests/schema/schema074.phpt @@ -18,10 +18,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5), "rpc", "encoded", 'attributeFormDefault="qualified"'); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- str -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["str"]=> string(3) "str" ["int"]=> diff --git a/ext/soap/tests/schema/schema075.phpt b/ext/soap/tests/schema/schema075.phpt index afd66e9208c32..a1166ab24b2e8 100644 --- a/ext/soap/tests/schema/schema075.phpt +++ b/ext/soap/tests/schema/schema075.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int1"=>1.1,"int2"=>2.2,"int3"=>3.3), "rpc", "encoded", 'attributeFormDefault="qualified"'); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- -object(stdClass)#%d (3) { +object(DynamicObject)#6 (3) { ["int1"]=> int(1) ["int2"]=> diff --git a/ext/soap/tests/schema/schema076.phpt b/ext/soap/tests/schema/schema076.phpt index 283ade5ce5aab..6b7e1c49b477b 100644 --- a/ext/soap/tests/schema/schema076.phpt +++ b/ext/soap/tests/schema/schema076.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int1"=>1.1,"int2"=>2.2,"int3"=>3.3), "rpc", "encoded", 'attributeFormDefault="unqualified"'); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- -object(stdClass)#%d (3) { +object(DynamicObject)#6 (3) { ["int1"]=> int(1) ["int2"]=> diff --git a/ext/soap/tests/schema/schema077.phpt b/ext/soap/tests/schema/schema077.phpt index aef821566a400..7fa49646f3bbc 100644 --- a/ext/soap/tests/schema/schema077.phpt +++ b/ext/soap/tests/schema/schema077.phpt @@ -17,10 +17,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int1"=>1.1,"int2"=>2.2,"int3"=>3.3), "rpc", "encoded"); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- -object(stdClass)#%d (3) { +object(DynamicObject)#6 (3) { ["int1"]=> int(1) ["int2"]=> diff --git a/ext/soap/tests/schema/schema078.phpt b/ext/soap/tests/schema/schema078.phpt index ec60538352734..5505e99c8d746 100644 --- a/ext/soap/tests/schema/schema078.phpt +++ b/ext/soap/tests/schema/schema078.phpt @@ -19,10 +19,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int1"=>1.1,"int2"=>2.2,"int3"=>3.3), "rpc", "literal", 'elementFormDefault="qualified"'); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (3) { +object(DynamicObject)#6 (3) { ["int1"]=> int(1) ["int2"]=> diff --git a/ext/soap/tests/schema/schema079.phpt b/ext/soap/tests/schema/schema079.phpt index efca8f3727072..7dcb45450a310 100644 --- a/ext/soap/tests/schema/schema079.phpt +++ b/ext/soap/tests/schema/schema079.phpt @@ -19,10 +19,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int1"=>1.1,"int2"=>2.2,"int3"=>3.3), "rpc", "literal", 'elementFormDefault="unqualified"'); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (3) { +object(DynamicObject)#6 (3) { ["int1"]=> int(1) ["int2"]=> diff --git a/ext/soap/tests/schema/schema080.phpt b/ext/soap/tests/schema/schema080.phpt index 5384987288792..f6a09f782a1d4 100644 --- a/ext/soap/tests/schema/schema080.phpt +++ b/ext/soap/tests/schema/schema080.phpt @@ -19,10 +19,10 @@ EOF; test_schema($schema,'type="tns:testType"',(object)array("int1"=>1.1,"int2"=>2.2,"int3"=>3.3), "rpc", "literal"); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 123 -object(stdClass)#%d (3) { +object(DynamicObject)#6 (3) { ["int1"]=> int(1) ["int2"]=> diff --git a/ext/soap/tests/schema/schema085.phpt b/ext/soap/tests/schema/schema085.phpt index 4e06626237641..af16c2e65d433 100644 --- a/ext/soap/tests/schema/schema085.phpt +++ b/ext/soap/tests/schema/schema085.phpt @@ -34,10 +34,10 @@ class B extends A { test_schema($schema,'type="tns:testType"',new B()); echo "ok"; ?> ---EXPECTF-- +--EXPECT-- 12 -object(stdClass)#%d (2) { +object(DynamicObject)#6 (2) { ["int"]=> int(1) ["int2"]=> diff --git a/ext/sodium/tests/utils.phpt b/ext/sodium/tests/utils.phpt index 66969a60bdf45..6cb78a9ba50c8 100644 --- a/ext/sodium/tests/utils.phpt +++ b/ext/sodium/tests/utils.phpt @@ -116,7 +116,7 @@ string(22) "0102840507090b0d000305" int(-1) int(0) int(1) -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["foo"]=> string(3) "bar" } diff --git a/ext/spl/tests/ArrayObject_proptable_canonicalization.phpt b/ext/spl/tests/ArrayObject_proptable_canonicalization.phpt index 006a152602682..067fa621674bb 100644 --- a/ext/spl/tests/ArrayObject_proptable_canonicalization.phpt +++ b/ext/spl/tests/ArrayObject_proptable_canonicalization.phpt @@ -16,11 +16,11 @@ var_dump($o); ?> --EXPECT-- -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["0"]=> int(1) } -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["0"]=> int(2) } @@ -29,5 +29,5 @@ array(1) { [0]=> int(2) } -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } diff --git a/ext/spl/tests/ArrayObject_sort_different_backing_storage.phpt b/ext/spl/tests/ArrayObject_sort_different_backing_storage.phpt index 0b9bbd633073a..0704eaee8ca4c 100644 --- a/ext/spl/tests/ArrayObject_sort_different_backing_storage.phpt +++ b/ext/spl/tests/ArrayObject_sort_different_backing_storage.phpt @@ -31,7 +31,7 @@ var_dump($ao5); --EXPECT-- object(ArrayObject)#2 (1) { ["storage":"ArrayObject":private]=> - object(stdClass)#1 (2) { + object(DynamicObject)#1 (2) { ["b"]=> int(1) ["a"]=> @@ -42,7 +42,7 @@ object(ArrayObject)#3 (1) { ["storage":"ArrayObject":private]=> object(ArrayObject)#2 (1) { ["storage":"ArrayObject":private]=> - object(stdClass)#1 (2) { + object(DynamicObject)#1 (2) { ["a"]=> int(2) ["b"]=> diff --git a/ext/spl/tests/SplFixedArray_serialize.phpt b/ext/spl/tests/SplFixedArray_serialize.phpt index f99812ecceb70..869e54cb1817b 100644 --- a/ext/spl/tests/SplFixedArray_serialize.phpt +++ b/ext/spl/tests/SplFixedArray_serialize.phpt @@ -27,13 +27,13 @@ var_dump($unser[4]); ?> --EXPECT-- -O:13:"SplFixedArray":5:{i:0;s:3:"foo";i:1;N;i:2;i:42;i:3;O:8:"stdClass":1:{s:4:"prop";s:5:"value";}i:4;a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}} +O:13:"SplFixedArray":5:{i:0;s:3:"foo";i:1;N;i:2;i:42;i:3;O:13:"DynamicObject":1:{s:4:"prop";s:5:"value";}i:4;a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}} count: 5 getSize(): 5 string(3) "foo" NULL int(42) -object(stdClass)#4 (1) { +object(DynamicObject)#4 (1) { ["prop"]=> string(5) "value" } diff --git a/ext/spl/tests/SplObjectStorage_getHash.phpt b/ext/spl/tests/SplObjectStorage_getHash.phpt index 934243c77e8ed..ff07fe876ec2f 100644 --- a/ext/spl/tests/SplObjectStorage_getHash.phpt +++ b/ext/spl/tests/SplObjectStorage_getHash.phpt @@ -54,6 +54,6 @@ var_dump($s3[$o1] === $s3[$o2]); some_value caught 1 caught 2 -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } bool(true) diff --git a/ext/spl/tests/SplObjectStorage_unserialize_bad.phpt b/ext/spl/tests/SplObjectStorage_unserialize_bad.phpt index b2fbf264286b5..97cff7b5a8b6e 100644 --- a/ext/spl/tests/SplObjectStorage_unserialize_bad.phpt +++ b/ext/spl/tests/SplObjectStorage_unserialize_bad.phpt @@ -29,7 +29,7 @@ object(SplObjectStorage)#2 (1) { [0]=> array(2) { ["obj"]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } ["inf"]=> int(1) @@ -37,10 +37,10 @@ object(SplObjectStorage)#2 (1) { [1]=> array(2) { ["obj"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } ["inf"]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } } } diff --git a/ext/spl/tests/SplObjectStorage_unserialize_nested.phpt b/ext/spl/tests/SplObjectStorage_unserialize_nested.phpt index 97c87cdb3784d..3f555cec6ccd7 100644 --- a/ext/spl/tests/SplObjectStorage_unserialize_nested.phpt +++ b/ext/spl/tests/SplObjectStorage_unserialize_nested.phpt @@ -19,16 +19,16 @@ $so1 = unserialize($s); var_dump($so1); ?> --EXPECT-- -O:16:"SplObjectStorage":2:{i:0;a:4:{i:0;O:8:"stdClass":1:{s:1:"a";O:8:"stdClass":0:{}}i:1;i:1;i:2;r:4;i:3;i:2;}i:1;a:0:{}} +O:16:"SplObjectStorage":2:{i:0;a:4:{i:0;O:13:"DynamicObject":1:{s:1:"a";O:13:"DynamicObject":0:{}}i:1;i:1;i:2;r:4;i:3;i:2;}i:1;a:0:{}} object(SplObjectStorage)#4 (1) { ["storage":"SplObjectStorage":private]=> array(2) { [0]=> array(2) { ["obj"]=> - object(stdClass)#5 (1) { + object(DynamicObject)#5 (1) { ["a"]=> - object(stdClass)#6 (0) { + object(DynamicObject)#6 (0) { } } ["inf"]=> @@ -37,7 +37,7 @@ object(SplObjectStorage)#4 (1) { [1]=> array(2) { ["obj"]=> - object(stdClass)#6 (0) { + object(DynamicObject)#6 (0) { } ["inf"]=> int(2) diff --git a/ext/spl/tests/SplObjectStorage_var_dump.phpt b/ext/spl/tests/SplObjectStorage_var_dump.phpt index 22342a75aaf14..2ed025089f46a 100644 --- a/ext/spl/tests/SplObjectStorage_var_dump.phpt +++ b/ext/spl/tests/SplObjectStorage_var_dump.phpt @@ -14,7 +14,7 @@ object(SplObjectStorage)#%d (1) { [0]=> array(2) { ["obj"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#2 (0) { } ["inf"]=> *RECURSION* diff --git a/ext/spl/tests/arrayObject___construct_basic1.phpt b/ext/spl/tests/arrayObject___construct_basic1.phpt index a14166c35e306..982932a2cb59c 100644 --- a/ext/spl/tests/arrayObject___construct_basic1.phpt +++ b/ext/spl/tests/arrayObject___construct_basic1.phpt @@ -26,7 +26,7 @@ object(ArrayObject)#1 (1) { --> Object argument: object(ArrayObject)#2 (1) { ["storage":"ArrayObject":private]=> - object(stdClass)#1 (1) { + object(DynamicObject)#1 (1) { ["p"]=> string(5) "hello" } @@ -44,7 +44,7 @@ object(ArrayObject)#2 (1) { ["storage":"ArrayObject":private]=> object(ArrayObject)#3 (1) { ["storage":"ArrayObject":private]=> - object(stdClass)#1 (1) { + object(DynamicObject)#1 (1) { ["p"]=> string(5) "hello" } diff --git a/ext/spl/tests/arrayObject___construct_basic7.phpt b/ext/spl/tests/arrayObject___construct_basic7.phpt index dd10b5fb6b996..40ce7cd6311df 100644 --- a/ext/spl/tests/arrayObject___construct_basic7.phpt +++ b/ext/spl/tests/arrayObject___construct_basic7.phpt @@ -17,7 +17,7 @@ array(2) { [1]=> int(1) } -object(stdClass)#1 (2) { +object(DynamicObject)#1 (2) { ["1"]=> int(1) ["0"]=> @@ -25,7 +25,7 @@ object(stdClass)#1 (2) { } object(ArrayObject)#2 (1) { ["storage":"ArrayObject":private]=> - object(stdClass)#1 (2) { + object(DynamicObject)#1 (2) { ["1"]=> int(1) ["0"]=> diff --git a/ext/spl/tests/arrayObject_exchangeArray_basic2.phpt b/ext/spl/tests/arrayObject_exchangeArray_basic2.phpt index 1f037e90735b7..1f80798fc9c9f 100644 --- a/ext/spl/tests/arrayObject_exchangeArray_basic2.phpt +++ b/ext/spl/tests/arrayObject_exchangeArray_basic2.phpt @@ -48,7 +48,7 @@ object(ArrayObject)#%d (1) { string(18) "normal object prop" object(ArrayObject)#%d (1) { ["storage":"ArrayObject":private]=> - object(stdClass)#%d (1) { + object(DynamicObject)#2 (1) { ["key"]=> string(18) "normal object prop" } diff --git a/ext/spl/tests/bug44615.phpt b/ext/spl/tests/bug44615.phpt index 0b9aa82bc300b..d4849d7c42224 100644 --- a/ext/spl/tests/bug44615.phpt +++ b/ext/spl/tests/bug44615.phpt @@ -22,7 +22,7 @@ foreach (new RecursiveIteratorIterator($rai) as $t) { ?> --EXPECT-- string(1) "z" -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } string(1) "q" string(1) "s" diff --git a/ext/spl/tests/bug45826.phpt b/ext/spl/tests/bug45826.phpt index 4cb6fa6483ea6..7807fa729b707 100644 --- a/ext/spl/tests/bug45826.phpt +++ b/ext/spl/tests/bug45826.phpt @@ -69,8 +69,8 @@ var_dump($o2[2][2] === $o2[2]); --EXPECT-- bool(true) bool(true) -string(96) "O:11:"ArrayObject":4:{i:0;i:0;i:1;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:4;i:2;r:1;}i:2;a:0:{}i:3;N;}" -string(137) "x:i:0;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:3;i:2;O:11:"ArrayObject":4:{i:0;i:0;i:1;a:3:{i:0;r:3;i:1;r:3;i:2;r:5;}i:2;a:0:{}i:3;N;}};m:a:0:{}" +string(102) "O:11:"ArrayObject":4:{i:0;i:0;i:1;a:3:{i:0;O:13:"DynamicObject":0:{}i:1;r:4;i:2;r:1;}i:2;a:0:{}i:3;N;}" +string(143) "x:i:0;a:3:{i:0;O:13:"DynamicObject":0:{}i:1;r:3;i:2;O:11:"ArrayObject":4:{i:0;i:0;i:1;a:3:{i:0;r:3;i:1;r:3;i:2;r:5;}i:2;a:0:{}i:3;N;}};m:a:0:{}" bool(true) bool(true) bool(true) @@ -79,17 +79,17 @@ bool(true) #### Extending ArrayObject bool(true) bool(true) -string(97) "O:12:"ArrayObject2":4:{i:0;i:0;i:1;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:4;i:2;r:1;}i:2;a:0:{}i:3;N;}" +string(103) "O:12:"ArrayObject2":4:{i:0;i:0;i:1;a:3:{i:0;O:13:"DynamicObject":0:{}i:1;r:4;i:2;r:1;}i:2;a:0:{}i:3;N;}" array(4) { [0]=> int(0) [1]=> array(3) { [0]=> - object(stdClass)#8 (0) { + object(DynamicObject)#8 (0) { } [1]=> - object(stdClass)#8 (0) { + object(DynamicObject)#8 (0) { } [2]=> object(ArrayObject2)#5 (1) { diff --git a/ext/spl/tests/bug49263.phpt b/ext/spl/tests/bug49263.phpt index 28693ef0cf211..6051e48d443a2 100644 --- a/ext/spl/tests/bug49263.phpt +++ b/ext/spl/tests/bug49263.phpt @@ -16,33 +16,33 @@ echo $ss."\n"; var_dump(unserialize($ss)); ?> --EXPECT-- -O:16:"SplObjectStorage":2:{i:0;a:4:{i:0;O:8:"stdClass":0:{}i:1;a:2:{s:4:"prev";i:2;s:4:"next";O:8:"stdClass":0:{}}i:2;r:6;i:3;a:1:{s:4:"prev";r:3;}}i:1;a:0:{}} +O:16:"SplObjectStorage":2:{i:0;a:4:{i:0;O:13:"DynamicObject":0:{}i:1;a:2:{s:4:"prev";i:2;s:4:"next";O:13:"DynamicObject":0:{}}i:2;r:6;i:3;a:1:{s:4:"prev";r:3;}}i:1;a:0:{}} object(SplObjectStorage)#2 (1) { ["storage":"SplObjectStorage":private]=> array(2) { [0]=> array(2) { ["obj"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } ["inf"]=> array(2) { ["prev"]=> int(2) ["next"]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } } } [1]=> array(2) { ["obj"]=> - object(stdClass)#3 (0) { + object(DynamicObject)#3 (0) { } ["inf"]=> array(1) { ["prev"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } } } diff --git a/ext/spl/tests/bug70168.phpt b/ext/spl/tests/bug70168.phpt index 9aa9257c5115c..01b40959f3641 100644 --- a/ext/spl/tests/bug70168.phpt +++ b/ext/spl/tests/bug70168.phpt @@ -22,7 +22,7 @@ array(2) { [0]=> array(2) { ["obj"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["inf"]=> NULL diff --git a/ext/spl/tests/bug74058.phpt b/ext/spl/tests/bug74058.phpt index 32c57153ec100..678596662a149 100644 --- a/ext/spl/tests/bug74058.phpt +++ b/ext/spl/tests/bug74058.phpt @@ -58,24 +58,24 @@ $y['a2']->b = 'some value'; var_dump($y['a2']); ?> ---EXPECTF-- +--EXPECT-- offsetSet('a1') offsetGet('a1') -object(stdClass)#%s (0) { +object(DynamicObject)#2 (0) { } offsetGet('a1') offsetGet('a1') -object(stdClass)#%s (1) { +object(DynamicObject)#2 (1) { ["b"]=> string(10) "some value" } offsetSet('a2') offsetGet('a2') -object(stdClass)#%s (0) { +object(DynamicObject)#4 (0) { } offsetGet('a2') offsetGet('a2') -object(stdClass)#%s (1) { +object(DynamicObject)#4 (1) { ["b"]=> string(10) "some value" } diff --git a/ext/spl/tests/bug78436.phpt b/ext/spl/tests/bug78436.phpt index 8b978d5a4b65b..1e90b38e04ce3 100644 --- a/ext/spl/tests/bug78436.phpt +++ b/ext/spl/tests/bug78436.phpt @@ -20,7 +20,7 @@ object(SplPriorityQueue)#1 (3) { [0]=> array(2) { ["data"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["priority"]=> int(1) @@ -37,7 +37,7 @@ object(SplPriorityQueue)#1 (3) { [0]=> array(2) { ["data"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["priority"]=> int(1) diff --git a/ext/spl/tests/bug78456.phpt b/ext/spl/tests/bug78456.phpt index e7cf50f366d59..753ee33e83a89 100644 --- a/ext/spl/tests/bug78456.phpt +++ b/ext/spl/tests/bug78456.phpt @@ -10,14 +10,14 @@ var_dump(unserialize($s)); ?> --EXPECT-- -string(82) "O:19:"SplDoublyLinkedList":3:{i:0;i:0;i:1;a:1:{i:0;O:8:"stdClass":0:{}}i:2;a:0:{}}" +string(88) "O:19:"SplDoublyLinkedList":3:{i:0;i:0;i:1;a:1:{i:0;O:13:"DynamicObject":0:{}}i:2;a:0:{}}" object(SplDoublyLinkedList)#3 (2) { ["flags":"SplDoublyLinkedList":private]=> int(0) ["dllist":"SplDoublyLinkedList":private]=> array(1) { [0]=> - object(stdClass)#4 (0) { + object(DynamicObject)#4 (0) { } } } diff --git a/ext/spl/tests/iterator_044.phpt b/ext/spl/tests/iterator_044.phpt index 74321194e0986..c9a4c7c1f9fc5 100644 --- a/ext/spl/tests/iterator_044.phpt +++ b/ext/spl/tests/iterator_044.phpt @@ -81,10 +81,10 @@ bool(false) Warning: Undefined array key "0" in %s on line %d NULL ===1=== -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } -CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, stdClass given -CachingIterator::offsetGet(): Argument #1 ($key) must be of type string, stdClass given +CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, DynamicObject given +CachingIterator::offsetGet(): Argument #1 ($key) must be of type string, DynamicObject given ===2=== object(MyFoo)#%d (0) { } @@ -126,10 +126,10 @@ int(0) bool(true) int(0) ===1=== -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } -CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, stdClass given -CachingIterator::offsetGet(): Argument #1 ($key) must be of type string, stdClass given +CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, DynamicObject given +CachingIterator::offsetGet(): Argument #1 ($key) must be of type string, DynamicObject given ===2=== object(MyFoo)#2 (0) { } diff --git a/ext/spl/tests/multiple_iterator_001.phpt b/ext/spl/tests/multiple_iterator_001.phpt index e022b54dafd48..272920736b0fc 100644 --- a/ext/spl/tests/multiple_iterator_001.phpt +++ b/ext/spl/tests/multiple_iterator_001.phpt @@ -112,7 +112,7 @@ foreach($m as $key => $value) { } ?> ---EXPECTF-- +--EXPECT-- -- Default flags, no iterators -- Called current() on an invalid iterator Called key() on an invalid iterator @@ -132,7 +132,7 @@ array(3) { [1]=> int(1) [2]=> - object(stdClass)#%d (0) { + object(DynamicObject)#4 (0) { } } array(3) { @@ -169,7 +169,7 @@ array(3) { [1]=> int(1) [2]=> - object(stdClass)#%d (0) { + object(DynamicObject)#4 (0) { } } array(3) { @@ -219,7 +219,7 @@ array(3) { [1]=> int(1) [2]=> - object(stdClass)#%d (0) { + object(DynamicObject)#4 (0) { } } array(3) { @@ -271,7 +271,7 @@ array(3) { ["iter2"]=> int(1) [3]=> - object(stdClass)#%d (0) { + object(DynamicObject)#4 (0) { } } array(3) { @@ -307,7 +307,7 @@ array(3) { int(3) } -- Associate with invalid value -- -TypeError thrown: MultipleIterator::attachIterator(): Argument #2 ($info) must be of type string|int|null, stdClass given +TypeError thrown: MultipleIterator::attachIterator(): Argument #2 ($info) must be of type string|int|null, DynamicObject given -- Associate with duplicate value -- InvalidArgumentException thrown: Key duplication error -- Count, contains, detach, count, contains, iterate -- @@ -326,7 +326,7 @@ array(2) { ["iter1"]=> int(1) [3]=> - object(stdClass)#%d (0) { + object(DynamicObject)#4 (0) { } } array(2) { diff --git a/ext/spl/tests/observer_006.phpt b/ext/spl/tests/observer_006.phpt index d1e535227970a..6f1262829c9ec 100644 --- a/ext/spl/tests/observer_006.phpt +++ b/ext/spl/tests/observer_006.phpt @@ -172,7 +172,7 @@ object(MyStorage)#%d (2) { int(3) } ["inf"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#15 (0) { } } [3]=> @@ -231,7 +231,7 @@ object(MyStorage)#%d (2) { int(3) } ["inf"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#14 (0) { } } [3]=> diff --git a/ext/spl/tests/recursive_tree_iterator_007.phpt b/ext/spl/tests/recursive_tree_iterator_007.phpt index 2907f39f26575..27e9f7f71e7c6 100644 --- a/ext/spl/tests/recursive_tree_iterator_007.phpt +++ b/ext/spl/tests/recursive_tree_iterator_007.phpt @@ -28,4 +28,4 @@ try { ?> --EXPECT-- -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string diff --git a/ext/standard/tests/array/array_column_basic.phpt b/ext/standard/tests/array/array_column_basic.phpt index de2cad6d4a5e7..f72eb6dfaf062 100644 --- a/ext/standard/tests/array/array_column_basic.phpt +++ b/ext/standard/tests/array/array_column_basic.phpt @@ -172,7 +172,7 @@ array(3) { *** Testing multiple data types *** array(8) { [0]=> - object(stdClass)#%d (0) { + object(DynamicObject)#1 (0) { } [1]=> float(34.2345) @@ -191,7 +191,7 @@ array(8) { } array(8) { [1]=> - object(stdClass)#%d (0) { + object(DynamicObject)#1 (0) { } [2]=> float(34.2345) diff --git a/ext/standard/tests/array/array_walk_closure.phpt b/ext/standard/tests/array/array_walk_closure.phpt index aab0002e46602..2e48085f35357 100644 --- a/ext/standard/tests/array/array_walk_closure.phpt +++ b/ext/standard/tests/array/array_walk_closure.phpt @@ -147,19 +147,19 @@ End result:int(48) closure with object Warning: {closure}(): Argument #3 ($udata) must be passed by reference, value given in %s on line %d -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["sum"]=> int(42) } Warning: {closure}(): Argument #3 ($udata) must be passed by reference, value given in %s on line %d -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["sum"]=> int(43) } Warning: {closure}(): Argument #3 ($udata) must be passed by reference, value given in %s on line %d -object(stdClass)#1 (1) { +object(DynamicObject)#1 (1) { ["sum"]=> int(45) } @@ -167,15 +167,15 @@ bool(true) End result:int(48) function with object -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["sum"]=> int(42) } -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["sum"]=> int(43) } -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["sum"]=> int(45) } diff --git a/ext/standard/tests/array/bug39576.phpt b/ext/standard/tests/array/bug39576.phpt index 61600fa578436..2ad9b5967b84b 100644 --- a/ext/standard/tests/array/bug39576.phpt +++ b/ext/standard/tests/array/bug39576.phpt @@ -48,7 +48,7 @@ object(Test)#%d (4) { ["_columns"]=> array(1) { ["name"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#2 (0) { } } ["_primary"]=> diff --git a/ext/standard/tests/array/bug74345.phpt b/ext/standard/tests/array/bug74345.phpt index 64942f126e7b0..e7dae6b849770 100644 --- a/ext/standard/tests/array/bug74345.phpt +++ b/ext/standard/tests/array/bug74345.phpt @@ -42,5 +42,5 @@ try { --EXPECT-- array_map(): Argument #2 ($array) must be of type array, null given array_map(): Argument #2 ($array) must be of type array, null given -preg_replace_callback(): Argument #3 ($subject) must be of type array|string, stdClass given +preg_replace_callback(): Argument #3 ($subject) must be of type array|string, DynamicObject given ===DONE=== diff --git a/ext/standard/tests/array/count_invalid.phpt b/ext/standard/tests/array/count_invalid.phpt index fd7e3356eaefa..5ba4817b815cb 100644 --- a/ext/standard/tests/array/count_invalid.phpt +++ b/ext/standard/tests/array/count_invalid.phpt @@ -52,4 +52,4 @@ count(): Argument #1 ($value) must be of type Countable|array, string given count(): Argument #1 ($value) must be of type Countable|array, int given count(): Argument #1 ($value) must be of type Countable|array, bool given count(): Argument #1 ($value) must be of type Countable|array, bool given -count(): Argument #1 ($value) must be of type Countable|array, stdClass given +count(): Argument #1 ($value) must be of type Countable|array, DynamicObject given diff --git a/ext/standard/tests/array/max.phpt b/ext/standard/tests/array/max.phpt index 065461001690c..d19b70a9fe8a3 100644 --- a/ext/standard/tests/array/max.phpt +++ b/ext/standard/tests/array/max.phpt @@ -35,7 +35,7 @@ var_dump(max(0, true, false, true)); --EXPECT-- max(): Argument #1 ($value) must be of type array, int given max(): Argument #1 ($value) must contain at least one element -max(): Argument #1 ($value) must be of type array, stdClass given +max(): Argument #1 ($value) must be of type array, DynamicObject given int(2) float(2.11) string(1) "t" diff --git a/ext/standard/tests/array/min.phpt b/ext/standard/tests/array/min.phpt index 97be4ad6828e0..79ce5c57276b6 100644 --- a/ext/standard/tests/array/min.phpt +++ b/ext/standard/tests/array/min.phpt @@ -35,7 +35,7 @@ var_dump(min(0, true, false, true)); --EXPECT-- min(): Argument #1 ($value) must be of type array, int given min(): Argument #1 ($value) must contain at least one element -min(): Argument #1 ($value) must be of type array, stdClass given +min(): Argument #1 ($value) must be of type array, DynamicObject given int(1) float(2.09) string(0) "" diff --git a/ext/standard/tests/class_object/get_class_methods_variation_001.phpt b/ext/standard/tests/class_object/get_class_methods_variation_001.phpt index 3fc707c15ec38..d0621e73c6f3d 100644 --- a/ext/standard/tests/class_object/get_class_methods_variation_001.phpt +++ b/ext/standard/tests/class_object/get_class_methods_variation_001.phpt @@ -160,7 +160,7 @@ get_class_methods(): Argument #1 ($object_or_class) must be an object or a valid Arg value string get_class_methods(): Argument #1 ($object_or_class) must be an object or a valid class name, string given -Arg value stdClass +Arg value DynamicObject array(0) { } diff --git a/ext/standard/tests/class_object/get_object_vars_variation_002.phpt b/ext/standard/tests/class_object/get_object_vars_variation_002.phpt index bfa2363f86859..af4e2b7dc5104 100644 --- a/ext/standard/tests/class_object/get_object_vars_variation_002.phpt +++ b/ext/standard/tests/class_object/get_object_vars_variation_002.phpt @@ -32,7 +32,7 @@ array(2) { ["val"]=> string(11) "changed.val" } -object(stdClass)#1 (2) { +object(DynamicObject)#1 (2) { ["ref"]=> &string(11) "changed.ref" ["val"]=> diff --git a/ext/standard/tests/class_object/get_parent_class_variation_002.phpt b/ext/standard/tests/class_object/get_parent_class_variation_002.phpt index 529f13ce7119c..78c8fd013c780 100644 --- a/ext/standard/tests/class_object/get_parent_class_variation_002.phpt +++ b/ext/standard/tests/class_object/get_parent_class_variation_002.phpt @@ -165,7 +165,7 @@ Arg value String In autoload(String) get_parent_class(): Argument #1 ($object_or_class) must be an object or a valid class name, string given -Arg value stdClass +Arg value DynamicObject bool(false) Arg value diff --git a/ext/standard/tests/general_functions/array_is_list.phpt b/ext/standard/tests/general_functions/array_is_list.phpt index 1cc2886f96ab0..129c9dbedeea3 100644 --- a/ext/standard/tests/general_functions/array_is_list.phpt +++ b/ext/standard/tests/general_functions/array_is_list.phpt @@ -79,7 +79,7 @@ null: threw array_is_list(): Argument #1 ($array) must be of type array, null gi int: threw array_is_list(): Argument #1 ($array) must be of type array, int given float: threw array_is_list(): Argument #1 ($array) must be of type array, float given string: threw array_is_list(): Argument #1 ($array) must be of type array, string given -object: threw array_is_list(): Argument #1 ($array) must be of type array, stdClass given +object: threw array_is_list(): Argument #1 ($array) must be of type array, DynamicObject given true: threw array_is_list(): Argument #1 ($array) must be of type array, bool given false: threw array_is_list(): Argument #1 ($array) must be of type array, bool given string key: false @@ -95,4 +95,4 @@ unset into order: true unset to empty: true append implicit: true append explicit: true -append with gap: false \ No newline at end of file +append with gap: false diff --git a/ext/standard/tests/general_functions/gettype_settype_basic.phpt b/ext/standard/tests/general_functions/gettype_settype_basic.phpt index a5e1a0b5bf3c4..6aac62618c8e0 100644 --- a/ext/standard/tests/general_functions/gettype_settype_basic.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_basic.phpt @@ -676,7 +676,7 @@ string(5) "array" -- Setting type of data to object -- -- Iteration 1 -- bool(true) -object(stdClass)#2 (3) { +object(DynamicObject)#2 (3) { ["0"]=> int(1) ["1"]=> @@ -687,14 +687,14 @@ object(stdClass)#2 (3) { string(6) "object" -- Iteration 2 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> string(14) "another string" } string(6) "object" -- Iteration 3 -- bool(true) -object(stdClass)#2 (3) { +object(DynamicObject)#2 (3) { ["0"]=> int(2) ["1"]=> @@ -705,68 +705,68 @@ object(stdClass)#2 (3) { string(6) "object" -- Iteration 4 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> int(1) } string(6) "object" -- Iteration 5 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> int(-20) } string(6) "object" -- Iteration 6 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> float(2.54) } string(6) "object" -- Iteration 7 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> float(-2.54) } string(6) "object" -- Iteration 8 -- bool(true) -object(stdClass)#2 (0) { +object(DynamicObject)#2 (0) { } string(6) "object" -- Iteration 9 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> bool(false) } string(6) "object" -- Iteration 10 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> string(11) "some string" } string(6) "object" -- Iteration 11 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> string(6) "string" } string(6) "object" -- Iteration 12 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> resource(%d) of type (stream) } string(6) "object" -- Iteration 13 -- bool(true) -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["scalar"]=> resource(%d) of type (stream) } diff --git a/ext/standard/tests/general_functions/type.phpt b/ext/standard/tests/general_functions/type.phpt index a43640f09ebaa..e01cced05ad0f 100644 --- a/ext/standard/tests/general_functions/type.phpt +++ b/ext/standard/tests/general_functions/type.phpt @@ -112,7 +112,7 @@ bool(true) int(%d) bool(true) int(%d) -string(54) "Object of class stdClass could not be converted to int" +string(59) "Object of class DynamicObject could not be converted to int" bool(true) int(%d) bool(true) @@ -135,7 +135,7 @@ bool(true) float(%f) bool(true) float(%f) -string(56) "Object of class stdClass could not be converted to float" +string(61) "Object of class DynamicObject could not be converted to float" bool(true) float(%f) bool(true) @@ -195,7 +195,7 @@ resource(%d) of type (Unknown) Error: Cannot convert to resource type resource(%d) of type (stream) Error: Cannot convert to resource type -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } bool(true) array(3) { @@ -257,7 +257,7 @@ bool(true) array(0) { } bool(true) -object(stdClass)#%d (3) { +object(DynamicObject)#3 (3) { ["0"]=> int(1) ["1"]=> @@ -266,12 +266,12 @@ object(stdClass)#%d (3) { int(3) } bool(true) -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> string(14) "another string" } bool(true) -object(stdClass)#%d (3) { +object(DynamicObject)#3 (3) { ["0"]=> int(2) ["1"]=> @@ -280,40 +280,40 @@ object(stdClass)#%d (3) { int(4) } bool(true) -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> int(1) } bool(true) -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> float(2) } bool(true) -object(stdClass)#%d (0) { +object(DynamicObject)#3 (0) { } bool(true) -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> bool(false) } bool(true) -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> string(11) "some string" } bool(true) -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> resource(%d) of type (Unknown) } bool(true) -object(stdClass)#%d (1) { +object(DynamicObject)#3 (1) { ["scalar"]=> resource(%d) of type (stream) } bool(true) -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } string(26) "Array to string conversion" bool(true) @@ -337,6 +337,6 @@ bool(true) string(14) "Resource id #%d" bool(true) string(14) "Resource id #%d" -Error: Object of class stdClass could not be converted to string +Error: Object of class DynamicObject could not be converted to string string(0) "" Done diff --git a/ext/standard/tests/mail/mail_basic7.phpt b/ext/standard/tests/mail/mail_basic7.phpt index 47614c011eb76..cc869904a6a3a 100644 --- a/ext/standard/tests/mail/mail_basic7.phpt +++ b/ext/standard/tests/mail/mail_basic7.phpt @@ -207,7 +207,7 @@ try { } ?> ---EXPECTF-- +--EXPECT-- *** Testing mail() : basic functionality *** @@ -244,7 +244,7 @@ TypeError: Header "foo3" must only contain values of type string, int found TypeError: Header "foo4" must only contain values of type string, float found TypeError: Header "foo5" must only contain values of type string, bool found TypeError: Header "foo6" must only contain values of type string, null found -TypeError: Header "foo7" must only contain values of type string, stdClass found +TypeError: Header "foo7" must only contain values of type string, DynamicObject found ************* TEST ****************** diff --git a/ext/standard/tests/misc/bug77338.phpt b/ext/standard/tests/misc/bug77338.phpt index 241ad024a2094..1e4b109b4e871 100644 --- a/ext/standard/tests/misc/bug77338.phpt +++ b/ext/standard/tests/misc/bug77338.phpt @@ -9,7 +9,7 @@ var_dump(get_browser("")); ?> --EXPECT-- -object(stdClass)#1 (34) { +object(DynamicObject)#1 (34) { ["browser_name_regex"]=> string(6) "~^.*$~" ["browser_name_pattern"]=> diff --git a/ext/standard/tests/misc/get_browser_variation2.phpt b/ext/standard/tests/misc/get_browser_variation2.phpt index be487d8701dcf..b03879a6a5d1f 100644 --- a/ext/standard/tests/misc/get_browser_variation2.phpt +++ b/ext/standard/tests/misc/get_browser_variation2.phpt @@ -10,7 +10,7 @@ var_dump(get_browser($agent)); ?> --EXPECT-- -object(stdClass)#1 (35) { +object(DynamicObject)#1 (35) { ["browser_name_regex"]=> string(41) "~^opera/7\.1.* \(windows nt 5\.1; .\).*$~" ["browser_name_pattern"]=> diff --git a/ext/standard/tests/password/password_hash_error.phpt b/ext/standard/tests/password/password_hash_error.phpt index a9e26f091675e..566630297b486 100644 --- a/ext/standard/tests/password/password_hash_error.phpt +++ b/ext/standard/tests/password/password_hash_error.phpt @@ -38,6 +38,6 @@ try { --EXPECT-- password_hash() expects at least 2 arguments, 1 given password_hash(): Argument #2 ($algo) must be of type string|int|null, array given -password_hash(): Argument #3 ($options) must be of type array, stdClass given +password_hash(): Argument #3 ($options) must be of type array, DynamicObject given password_hash(): Argument #3 ($options) must be of type array, string given password_hash(): Argument #1 ($password) must be of type string, array given diff --git a/ext/standard/tests/serialize/002.phpt b/ext/standard/tests/serialize/002.phpt index 9d06f22d41830..dc75558cf0067 100644 --- a/ext/standard/tests/serialize/002.phpt +++ b/ext/standard/tests/serialize/002.phpt @@ -12,7 +12,7 @@ var_dump(unserialize('a:2:{i:0;a:0:{}i:1;a:0:{}}')); var_dump(unserialize('a:3:{i:0;s:3:"foo";i:1;s:3:"bar";i:2;s:3:"baz";}')); var_dump(unserialize('O:8:"stdClass":0:{}')); ?> ---EXPECTF-- +--EXPECT-- bool(false) bool(true) int(823) @@ -38,5 +38,5 @@ array(3) { [2]=> string(3) "baz" } -object(stdClass)#%d (0) { +object(DynamicObject)#1 (0) { } diff --git a/ext/standard/tests/serialize/SplObjectStorage_object_reference.phpt b/ext/standard/tests/serialize/SplObjectStorage_object_reference.phpt index 763cedbc9d6d2..7a12a8e1a770f 100644 --- a/ext/standard/tests/serialize/SplObjectStorage_object_reference.phpt +++ b/ext/standard/tests/serialize/SplObjectStorage_object_reference.phpt @@ -20,7 +20,7 @@ array(2) { [0]=> array(2) { ["obj"]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } ["inf"]=> NULL @@ -28,6 +28,6 @@ array(2) { } } [1]=> - object(stdClass)#2 (0) { + object(DynamicObject)#2 (0) { } } diff --git a/ext/standard/tests/serialize/__serialize_005.phpt b/ext/standard/tests/serialize/__serialize_005.phpt index c65c0cdec8c70..f5b9e15354716 100644 --- a/ext/standard/tests/serialize/__serialize_005.phpt +++ b/ext/standard/tests/serialize/__serialize_005.phpt @@ -39,18 +39,18 @@ var_dump(unserialize($s)); ?> --EXPECT-- -string(63) "O:1:"B":2:{i:0;a:1:{i:0;O:8:"stdClass":0:{}}i:1;a:1:{i:0;r:3;}}" +string(69) "O:1:"B":2:{i:0;a:1:{i:0;O:13:"DynamicObject":0:{}}i:1;a:1:{i:0;r:3;}}" object(B)#3 (2) { ["data":"A":private]=> array(1) { [0]=> - object(stdClass)#4 (0) { + object(DynamicObject)#4 (0) { } } ["data2":"B":private]=> array(1) { [0]=> - object(stdClass)#4 (0) { + object(DynamicObject)#4 (0) { } } } diff --git a/ext/standard/tests/serialize/bug55798.phpt b/ext/standard/tests/serialize/bug55798.phpt index 539be8bb50734..fe6af7a01f12a 100644 --- a/ext/standard/tests/serialize/bug55798.phpt +++ b/ext/standard/tests/serialize/bug55798.phpt @@ -13,7 +13,7 @@ var_dump(serialize($b)); var_dump($b->{0}); ?> --EXPECT-- -string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}" +string(57) "O:13:"DynamicObject":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}" string(1) "X" -string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}" +string(57) "O:13:"DynamicObject":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}" string(1) "X" diff --git a/ext/standard/tests/serialize/bug70513.phpt b/ext/standard/tests/serialize/bug70513.phpt index 9a93a3359b678..78acb5e8cb5c1 100644 --- a/ext/standard/tests/serialize/bug70513.phpt +++ b/ext/standard/tests/serialize/bug70513.phpt @@ -31,7 +31,7 @@ array(1) { [0]=> int(1) } -object(stdClass)#1 (2) { +object(DynamicObject)#1 (2) { ["aa"]=> int(1) ["bb"]=> diff --git a/ext/standard/tests/serialize/bug71995.phpt b/ext/standard/tests/serialize/bug71995.phpt index bf62c7da1eea8..74dc3163f22a6 100644 --- a/ext/standard/tests/serialize/bug71995.phpt +++ b/ext/standard/tests/serialize/bug71995.phpt @@ -19,9 +19,9 @@ var_dump(unserialize($s)); ?> --EXPECTF-- Notice: serialize(): "b" is returned from __sleep() multiple times in %s on line %d -string(39) "O:1:"A":1:{s:1:"b";O:8:"stdClass":0:{}}" +string(45) "O:1:"A":1:{s:1:"b";O:13:"DynamicObject":0:{}}" object(A)#%d (1) { ["b"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#4 (0) { } } diff --git a/ext/standard/tests/serialize/serialization_objects_004.phpt b/ext/standard/tests/serialize/serialization_objects_004.phpt index b2c7cd3dd8065..c2a1aeeae4596 100644 --- a/ext/standard/tests/serialize/serialization_objects_004.phpt +++ b/ext/standard/tests/serialize/serialization_objects_004.phpt @@ -29,7 +29,7 @@ var_dump(serialize(array($x, $x))); echo "Done"; ?> --EXPECT-- -string(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;r:2;}" +string(43) "a:2:{i:0;O:13:"DynamicObject":0:{}i:1;r:2;}" string(22) "a:2:{i:0;i:1;i:1;i:1;}" string(30) "a:2:{i:0;s:1:"a";i:1;s:1:"a";}" string(22) "a:2:{i:0;b:1;i:1;b:1;}" diff --git a/ext/standard/tests/serialize/serialization_objects_012.phpt b/ext/standard/tests/serialize/serialization_objects_012.phpt index 9887e9f4db1a8..ebbd0dc9a8c79 100644 --- a/ext/standard/tests/serialize/serialization_objects_012.phpt +++ b/ext/standard/tests/serialize/serialization_objects_012.phpt @@ -72,33 +72,33 @@ var_dump($ucontainer); echo "Done"; ?> ---EXPECTF-- +--EXPECT-- Array containing same object twice: array(2) { [0]=> - object(stdClass)#%d (0) { + object(DynamicObject)#1 (0) { } [1]=> - object(stdClass)#%d (0) { + object(DynamicObject)#1 (0) { } } -string(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;r:2;}" +string(43) "a:2:{i:0;O:13:"DynamicObject":0:{}i:1;r:2;}" array(2) { [0]=> - object(stdClass)#%d (0) { + object(DynamicObject)#2 (0) { } [1]=> - object(stdClass)#%d (0) { + object(DynamicObject)#2 (0) { } } array(2) { [0]=> - object(stdClass)#%d (1) { + object(DynamicObject)#2 (1) { ["a"]=> string(7) "newProp" } [1]=> - object(stdClass)#%d (1) { + object(DynamicObject)#2 (1) { ["a"]=> string(7) "newProp" } @@ -107,7 +107,7 @@ array(2) { [0]=> string(10) "a0.changed" [1]=> - object(stdClass)#%d (1) { + object(DynamicObject)#2 (1) { ["a"]=> string(7) "newProp" } @@ -117,29 +117,29 @@ array(2) { Array containing object and reference to that object: array(2) { [0]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#3 (0) { } [1]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#3 (0) { } } -string(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;R:2;}" +string(43) "a:2:{i:0;O:13:"DynamicObject":0:{}i:1;R:2;}" array(2) { [0]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#1 (0) { } [1]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#1 (0) { } } array(2) { [0]=> - &object(stdClass)#%d (1) { + &object(DynamicObject)#1 (1) { ["a"]=> string(7) "newProp" } [1]=> - &object(stdClass)#%d (1) { + &object(DynamicObject)#1 (1) { ["a"]=> string(7) "newProp" } @@ -152,40 +152,40 @@ array(2) { } -Object containing same object twice:object(stdClass)#%d (2) { +Object containing same object twice:object(DynamicObject)#2 (2) { ["a"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#1 (0) { } ["b"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#1 (0) { } } -string(58) "O:8:"stdClass":2:{s:1:"a";O:8:"stdClass":0:{}s:1:"b";r:2;}" -object(stdClass)#%d (2) { +string(70) "O:13:"DynamicObject":2:{s:1:"a";O:13:"DynamicObject":0:{}s:1:"b";r:2;}" +object(DynamicObject)#4 (2) { ["a"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#5 (0) { } ["b"]=> - object(stdClass)#%d (0) { + object(DynamicObject)#5 (0) { } } -object(stdClass)#%d (2) { +object(DynamicObject)#4 (2) { ["a"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#5 (1) { ["a"]=> string(7) "newProp" } ["b"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#5 (1) { ["a"]=> string(7) "newProp" } } -object(stdClass)#%d (2) { +object(DynamicObject)#4 (2) { ["a"]=> string(20) "container->a.changed" ["b"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#5 (1) { ["a"]=> string(7) "newProp" } @@ -193,36 +193,36 @@ object(stdClass)#%d (2) { Object containing object and reference to that object: -object(stdClass)#%d (2) { +object(DynamicObject)#7 (2) { ["a"]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#6 (0) { } ["b"]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#6 (0) { } } -string(58) "O:8:"stdClass":2:{s:1:"a";O:8:"stdClass":0:{}s:1:"b";R:2;}" -object(stdClass)#%d (2) { +string(70) "O:13:"DynamicObject":2:{s:1:"a";O:13:"DynamicObject":0:{}s:1:"b";R:2;}" +object(DynamicObject)#2 (2) { ["a"]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#1 (0) { } ["b"]=> - &object(stdClass)#%d (0) { + &object(DynamicObject)#1 (0) { } } -object(stdClass)#%d (2) { +object(DynamicObject)#2 (2) { ["a"]=> - &object(stdClass)#%d (1) { + &object(DynamicObject)#1 (1) { ["a"]=> string(7) "newProp" } ["b"]=> - &object(stdClass)#%d (1) { + &object(DynamicObject)#1 (1) { ["a"]=> string(7) "newProp" } } -object(stdClass)#%d (2) { +object(DynamicObject)#2 (2) { ["a"]=> &string(20) "container->a.changed" ["b"]=> diff --git a/ext/standard/tests/serialize/serialization_objects_013.phpt b/ext/standard/tests/serialize/serialization_objects_013.phpt index 6e8a3c3a9a756..4fff8dda5cefe 100644 --- a/ext/standard/tests/serialize/serialization_objects_013.phpt +++ b/ext/standard/tests/serialize/serialization_objects_013.phpt @@ -82,9 +82,9 @@ check($obj); echo "Done"; ?> ---EXPECTF-- +--EXPECT-- --- a refs b: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["b"]=> &int(1) ["a"]=> @@ -92,8 +92,8 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"b";i:1;s:1:"a";R:2;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"b";i:1;s:1:"a";R:2;s:1:"c";i:1;}" +object(DynamicObject)#2 (3) { ["b"]=> &int(1) ["a"]=> @@ -101,7 +101,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["b"]=> &string(14) "obj->a.changed" ["a"]=> @@ -109,7 +109,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["b"]=> &string(14) "obj->b.changed" ["a"]=> @@ -117,7 +117,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["b"]=> &string(14) "obj->b.changed" ["a"]=> @@ -128,7 +128,7 @@ object(stdClass)#%d (3) { --- a refs c: -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["c"]=> &int(1) ["a"]=> @@ -136,8 +136,8 @@ object(stdClass)#%d (3) { ["b"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"c";i:1;s:1:"a";R:2;s:1:"b";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"c";i:1;s:1:"a";R:2;s:1:"b";i:1;}" +object(DynamicObject)#1 (3) { ["c"]=> &int(1) ["a"]=> @@ -145,7 +145,7 @@ object(stdClass)#%d (3) { ["b"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["c"]=> &string(14) "obj->a.changed" ["a"]=> @@ -153,7 +153,7 @@ object(stdClass)#%d (3) { ["b"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["c"]=> &string(14) "obj->a.changed" ["a"]=> @@ -161,7 +161,7 @@ object(stdClass)#%d (3) { ["b"]=> string(14) "obj->b.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["c"]=> &string(14) "obj->c.changed" ["a"]=> @@ -172,7 +172,7 @@ object(stdClass)#%d (3) { --- b refs a: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> &int(1) ["b"]=> @@ -180,8 +180,8 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"b";R:2;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"b";R:2;s:1:"c";i:1;}" +object(DynamicObject)#2 (3) { ["a"]=> &int(1) ["b"]=> @@ -189,7 +189,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->a.changed" ["b"]=> @@ -197,7 +197,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->b.changed" ["b"]=> @@ -205,7 +205,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->b.changed" ["b"]=> @@ -216,7 +216,7 @@ object(stdClass)#%d (3) { --- b refs c: -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> int(1) ["c"]=> @@ -224,8 +224,8 @@ object(stdClass)#%d (3) { ["b"]=> &int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"c";i:1;s:1:"b";R:3;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"c";i:1;s:1:"b";R:3;}" +object(DynamicObject)#1 (3) { ["a"]=> int(1) ["c"]=> @@ -233,7 +233,7 @@ object(stdClass)#%d (3) { ["b"]=> &int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["c"]=> @@ -241,7 +241,7 @@ object(stdClass)#%d (3) { ["b"]=> &int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["c"]=> @@ -249,7 +249,7 @@ object(stdClass)#%d (3) { ["b"]=> &string(14) "obj->b.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["c"]=> @@ -260,7 +260,7 @@ object(stdClass)#%d (3) { --- c refs a: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> &int(1) ["b"]=> @@ -268,8 +268,8 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";R:2;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";R:2;}" +object(DynamicObject)#2 (3) { ["a"]=> &int(1) ["b"]=> @@ -277,7 +277,7 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->a.changed" ["b"]=> @@ -285,7 +285,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->a.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->a.changed" ["b"]=> @@ -293,7 +293,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->a.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->c.changed" ["b"]=> @@ -304,7 +304,7 @@ object(stdClass)#%d (3) { --- c refs b: -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> int(1) ["b"]=> @@ -312,8 +312,8 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";R:3;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";R:3;}" +object(DynamicObject)#1 (3) { ["a"]=> int(1) ["b"]=> @@ -321,7 +321,7 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -329,7 +329,7 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -337,7 +337,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->b.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -348,7 +348,7 @@ object(stdClass)#%d (3) { --- a,b refs c: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["c"]=> &int(1) ["a"]=> @@ -356,8 +356,8 @@ object(stdClass)#%d (3) { ["b"]=> &int(1) } -string(55) "O:8:"stdClass":3:{s:1:"c";i:1;s:1:"a";R:2;s:1:"b";R:2;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"c";i:1;s:1:"a";R:2;s:1:"b";R:2;}" +object(DynamicObject)#2 (3) { ["c"]=> &int(1) ["a"]=> @@ -365,7 +365,7 @@ object(stdClass)#%d (3) { ["b"]=> &int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["c"]=> &string(14) "obj->a.changed" ["a"]=> @@ -373,7 +373,7 @@ object(stdClass)#%d (3) { ["b"]=> &string(14) "obj->a.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["c"]=> &string(14) "obj->b.changed" ["a"]=> @@ -381,7 +381,7 @@ object(stdClass)#%d (3) { ["b"]=> &string(14) "obj->b.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["c"]=> &string(14) "obj->c.changed" ["a"]=> @@ -392,7 +392,7 @@ object(stdClass)#%d (3) { --- a,c refs b: -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["b"]=> &int(1) ["a"]=> @@ -400,8 +400,8 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -string(55) "O:8:"stdClass":3:{s:1:"b";i:1;s:1:"a";R:2;s:1:"c";R:2;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"b";i:1;s:1:"a";R:2;s:1:"c";R:2;}" +object(DynamicObject)#1 (3) { ["b"]=> &int(1) ["a"]=> @@ -409,7 +409,7 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["b"]=> &string(14) "obj->a.changed" ["a"]=> @@ -417,7 +417,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->a.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["b"]=> &string(14) "obj->b.changed" ["a"]=> @@ -425,7 +425,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->b.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["b"]=> &string(14) "obj->c.changed" ["a"]=> @@ -436,7 +436,7 @@ object(stdClass)#%d (3) { --- b,c refs a: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> &int(1) ["b"]=> @@ -444,8 +444,8 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"b";R:2;s:1:"c";R:2;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"b";R:2;s:1:"c";R:2;}" +object(DynamicObject)#2 (3) { ["a"]=> &int(1) ["b"]=> @@ -453,7 +453,7 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->a.changed" ["b"]=> @@ -461,7 +461,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->a.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->b.changed" ["b"]=> @@ -469,7 +469,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->b.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->c.changed" ["b"]=> diff --git a/ext/standard/tests/serialize/serialization_objects_014.phpt b/ext/standard/tests/serialize/serialization_objects_014.phpt index f8833120a2232..9b3b701e07e1b 100644 --- a/ext/standard/tests/serialize/serialization_objects_014.phpt +++ b/ext/standard/tests/serialize/serialization_objects_014.phpt @@ -59,9 +59,9 @@ check($obj); echo "Done"; ?> ---EXPECTF-- +--EXPECT-- --- a refs external: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> &int(1) ["b"]=> @@ -69,8 +69,8 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";i:1;}" +object(DynamicObject)#2 (3) { ["a"]=> int(1) ["b"]=> @@ -78,7 +78,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -86,7 +86,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -94,7 +94,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -105,7 +105,7 @@ object(stdClass)#%d (3) { --- b refs external: -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> int(1) ["b"]=> @@ -113,8 +113,8 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";i:1;}" +object(DynamicObject)#1 (3) { ["a"]=> int(1) ["b"]=> @@ -122,7 +122,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -130,7 +130,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -138,7 +138,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -149,7 +149,7 @@ object(stdClass)#%d (3) { --- c refs external: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> int(1) ["b"]=> @@ -157,8 +157,8 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"b";i:1;s:1:"c";i:1;}" +object(DynamicObject)#2 (3) { ["a"]=> int(1) ["b"]=> @@ -166,7 +166,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -174,7 +174,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -182,7 +182,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -193,7 +193,7 @@ object(stdClass)#%d (3) { --- a,b ref external: -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &int(1) ["b"]=> @@ -201,8 +201,8 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"b";R:2;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"b";R:2;s:1:"c";i:1;}" +object(DynamicObject)#1 (3) { ["a"]=> &int(1) ["b"]=> @@ -210,7 +210,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> &string(14) "obj->a.changed" ["b"]=> @@ -218,7 +218,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> &string(14) "obj->b.changed" ["b"]=> @@ -226,7 +226,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> &string(14) "obj->b.changed" ["b"]=> @@ -237,7 +237,7 @@ object(stdClass)#%d (3) { --- a,b,c ref external: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> &int(1) ["b"]=> @@ -245,8 +245,8 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";i:1;s:1:"b";R:2;s:1:"c";R:2;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";i:1;s:1:"b";R:2;s:1:"c";R:2;}" +object(DynamicObject)#2 (3) { ["a"]=> &int(1) ["b"]=> @@ -254,7 +254,7 @@ object(stdClass)#%d (3) { ["c"]=> &int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->a.changed" ["b"]=> @@ -262,7 +262,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->a.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->b.changed" ["b"]=> @@ -270,7 +270,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->b.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> &string(14) "obj->c.changed" ["b"]=> diff --git a/ext/standard/tests/serialize/serialization_objects_015.phpt b/ext/standard/tests/serialize/serialization_objects_015.phpt index 522450bfc1dc7..458013dc7601d 100644 --- a/ext/standard/tests/serialize/serialization_objects_015.phpt +++ b/ext/standard/tests/serialize/serialization_objects_015.phpt @@ -68,9 +68,9 @@ check($obj); echo "Done"; ?> ---EXPECTF-- +--EXPECT-- --- a refs container: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -78,8 +78,8 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";R:1;s:1:"b";i:1;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";R:1;s:1:"b";i:1;s:1:"c";i:1;}" +object(DynamicObject)#2 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -87,7 +87,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -95,7 +95,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -103,7 +103,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -114,7 +114,7 @@ object(stdClass)#%d (3) { --- a eqs container: -object(stdClass)#%d (3) { +object(DynamicObject)#2 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -122,8 +122,8 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";r:1;s:1:"b";i:1;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";r:1;s:1:"b";i:1;s:1:"c";i:1;}" +object(DynamicObject)#1 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -131,7 +131,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -139,7 +139,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -147,7 +147,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -158,7 +158,7 @@ object(stdClass)#%d (3) { --- a,b ref container: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -166,8 +166,8 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";R:1;s:1:"b";R:1;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";R:1;s:1:"b";R:1;s:1:"c";i:1;}" +object(DynamicObject)#3 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -175,7 +175,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#3 (3) { ["a"]=> &string(14) "obj->a.changed" ["b"]=> @@ -183,7 +183,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#3 (3) { ["a"]=> &string(14) "obj->b.changed" ["b"]=> @@ -191,7 +191,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#3 (3) { ["a"]=> &string(14) "obj->b.changed" ["b"]=> @@ -202,7 +202,7 @@ object(stdClass)#%d (3) { --- a,b eq container: -object(stdClass)#%d (3) { +object(DynamicObject)#3 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -210,8 +210,8 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -string(55) "O:8:"stdClass":3:{s:1:"a";r:1;s:1:"b";r:1;s:1:"c";i:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";r:1;s:1:"b";r:1;s:1:"c";i:1;}" +object(DynamicObject)#1 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -219,7 +219,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -227,7 +227,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -235,7 +235,7 @@ object(stdClass)#%d (3) { ["c"]=> int(1) } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -246,7 +246,7 @@ object(stdClass)#%d (3) { --- a,b,c ref container: -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -254,8 +254,8 @@ object(stdClass)#%d (3) { ["c"]=> *RECURSION* } -string(55) "O:8:"stdClass":3:{s:1:"a";R:1;s:1:"b";R:1;s:1:"c";R:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";R:1;s:1:"b";R:1;s:1:"c";R:1;}" +object(DynamicObject)#4 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -263,7 +263,7 @@ object(stdClass)#%d (3) { ["c"]=> *RECURSION* } -object(stdClass)#%d (3) { +object(DynamicObject)#4 (3) { ["a"]=> &string(14) "obj->a.changed" ["b"]=> @@ -271,7 +271,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->a.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#4 (3) { ["a"]=> &string(14) "obj->b.changed" ["b"]=> @@ -279,7 +279,7 @@ object(stdClass)#%d (3) { ["c"]=> &string(14) "obj->b.changed" } -object(stdClass)#%d (3) { +object(DynamicObject)#4 (3) { ["a"]=> &string(14) "obj->c.changed" ["b"]=> @@ -290,7 +290,7 @@ object(stdClass)#%d (3) { --- a,b,c eq container: -object(stdClass)#%d (3) { +object(DynamicObject)#4 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -298,8 +298,8 @@ object(stdClass)#%d (3) { ["c"]=> *RECURSION* } -string(55) "O:8:"stdClass":3:{s:1:"a";r:1;s:1:"b";r:1;s:1:"c";r:1;}" -object(stdClass)#%d (3) { +string(61) "O:13:"DynamicObject":3:{s:1:"a";r:1;s:1:"b";r:1;s:1:"c";r:1;}" +object(DynamicObject)#1 (3) { ["a"]=> *RECURSION* ["b"]=> @@ -307,7 +307,7 @@ object(stdClass)#%d (3) { ["c"]=> *RECURSION* } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -315,7 +315,7 @@ object(stdClass)#%d (3) { ["c"]=> *RECURSION* } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> @@ -323,7 +323,7 @@ object(stdClass)#%d (3) { ["c"]=> *RECURSION* } -object(stdClass)#%d (3) { +object(DynamicObject)#1 (3) { ["a"]=> string(14) "obj->a.changed" ["b"]=> diff --git a/ext/standard/tests/serialize/serialize_globals_var_refs.phpt b/ext/standard/tests/serialize/serialize_globals_var_refs.phpt index 3f03cc2a2168d..fa7b513407e03 100644 --- a/ext/standard/tests/serialize/serialize_globals_var_refs.phpt +++ b/ext/standard/tests/serialize/serialize_globals_var_refs.phpt @@ -13,10 +13,10 @@ var_dump($obj2); ?> --EXPECT-- -object(stdClass)#1 (0) { +object(DynamicObject)#1 (0) { } -object(stdClass)#2 (1) { +object(DynamicObject)#2 (1) { ["obj"]=> - object(stdClass)#1 (0) { + object(DynamicObject)#1 (0) { } } diff --git a/ext/standard/tests/serialize/typed_property_ref_assignment_failure.phpt b/ext/standard/tests/serialize/typed_property_ref_assignment_failure.phpt index 7ee35e8b69182..3f251c239c8a7 100644 --- a/ext/standard/tests/serialize/typed_property_ref_assignment_failure.phpt +++ b/ext/standard/tests/serialize/typed_property_ref_assignment_failure.phpt @@ -23,7 +23,7 @@ var_dump(unserialize($s)); ?> --EXPECTF-- -Cannot assign stdClass to property Test::$prop of type int +Cannot assign DynamicObject to property Test::$prop of type int Notice: unserialize(): Error at offset 38 of 38 bytes in %s on line %d bool(false) diff --git a/ext/standard/tests/strings/bug72434.phpt b/ext/standard/tests/strings/bug72434.phpt index 6d64baa26fa7e..6b8f4d65e7bbe 100644 --- a/ext/standard/tests/strings/bug72434.phpt +++ b/ext/standard/tests/strings/bug72434.phpt @@ -21,9 +21,9 @@ $fill_freed_space_3 = "filler_zval_3"; $fill_freed_space_4 = "filler_zval_4"; debug_zval_dump($unserialized_payload[1]); ?> ---EXPECTF-- +--EXPECT-- array(1) refcount(3){ [0]=> - object(stdClass)#%d (0) refcount(1){ + object(DynamicObject)#3 (0) refcount(1){ } } diff --git a/ext/standard/tests/strings/sprintf_variation54.phpt b/ext/standard/tests/strings/sprintf_variation54.phpt index e925293ceef7c..3b2edefb7e0ab 100644 --- a/ext/standard/tests/strings/sprintf_variation54.phpt +++ b/ext/standard/tests/strings/sprintf_variation54.phpt @@ -52,7 +52,7 @@ Array Resource id #%d %s with {}: -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string d with null: 0 @@ -83,7 +83,7 @@ d with resource: d with {}: -Warning: Object of class stdClass could not be converted to int in %s on line %d +Warning: Object of class DynamicObject could not be converted to int in %s on line %d 1 u with null: @@ -115,7 +115,7 @@ u with resource: u with {}: -Warning: Object of class stdClass could not be converted to int in %s on line %d +Warning: Object of class DynamicObject could not be converted to int in %s on line %d 1 f with null: @@ -147,7 +147,7 @@ f with resource: f with {}: -Warning: Object of class stdClass could not be converted to float in %s on line %d +Warning: Object of class DynamicObject could not be converted to float in %s on line %d 1.000000 c with null: @@ -179,7 +179,7 @@ c with resource: c with {}: -Warning: Object of class stdClass could not be converted to int in %s on line %d +Warning: Object of class DynamicObject could not be converted to int in %s on line %d  x with null: @@ -211,5 +211,5 @@ x with resource: x with {}: -Warning: Object of class stdClass could not be converted to int in %s on line %d +Warning: Object of class DynamicObject could not be converted to int in %s on line %d 1 diff --git a/ext/sysvshm/tests/005.phpt b/ext/sysvshm/tests/005.phpt index e428b59f9911a..1b416afe44e9f 100644 --- a/ext/sysvshm/tests/005.phpt +++ b/ext/sysvshm/tests/005.phpt @@ -44,7 +44,7 @@ bool(false) Warning: shm_get_var(): Variable key -10000 doesn't exist in %s005.php on line %d bool(false) string(11) "test string" -object(stdClass)#%d (0) { +object(DynamicObject)#2 (0) { } array(3) { [0]=> diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt index 640bc32c20e6c..4a98e959e817b 100644 --- a/sapi/cli/tests/005.phpt +++ b/sapi/cli/tests/005.phpt @@ -18,7 +18,7 @@ echo "Done\n"; --EXPECT-- string(42) "Exception: Class "unknown" does not exist " -string(183) "Class [ class stdClass ] { +string(188) "Class [ class DynamicObject ] { - Constants [0] { } diff --git a/tests/classes/autoload_009.phpt b/tests/classes/autoload_009.phpt index 6903d9d8ba57f..7205cb05f5a0a 100644 --- a/tests/classes/autoload_009.phpt +++ b/tests/classes/autoload_009.phpt @@ -13,8 +13,8 @@ function f(UndefClass $x) f(new stdClass); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: f(): Argument #1 ($x) must be of type UndefClass, stdClass given, called in %s on line %d and defined in %s:%d +Fatal error: Uncaught TypeError: f(): Argument #1 ($x) must be of type UndefClass, DynamicObject given, called in %s:%d Stack trace: -#0 %s(%d): f(Object(stdClass)) +#0 %s(%d): f(Object(DynamicObject)) #1 {main} thrown in %s on line %d diff --git a/tests/classes/class_stdclass.phpt b/tests/classes/class_stdclass.phpt index a8c12715e2a71..77a43eb344117 100644 --- a/tests/classes/class_stdclass.phpt +++ b/tests/classes/class_stdclass.phpt @@ -10,5 +10,5 @@ echo get_class($obj)."\n"; echo "Done\n"; ?> --EXPECT-- -stdClass +DynamicObject Done diff --git a/tests/classes/tostring_004.phpt b/tests/classes/tostring_004.phpt index 48ac2770ddf98..2ae6e9c695be1 100644 --- a/tests/classes/tostring_004.phpt +++ b/tests/classes/tostring_004.phpt @@ -53,11 +53,11 @@ try { --EXPECT-- Object with no __toString(): Try 1: -printf(): Argument #1 ($format) must be of type string, stdClass given +printf(): Argument #1 ($format) must be of type string, DynamicObject given Try 2: -Object of class stdClass could not be converted to string +Object of class DynamicObject could not be converted to string Object with bad __toString(): diff --git a/tests/lang/bug24499.phpt b/tests/lang/bug24499.phpt index b7a35115ae20e..3dc9a046dcfa5 100644 --- a/tests/lang/bug24499.phpt +++ b/tests/lang/bug24499.phpt @@ -18,7 +18,7 @@ $id->tester($obj); print_r($obj); ?> --EXPECT-- -stdClass Object +DynamicObject Object ( [foo] => bar [id] => bar diff --git a/tests/lang/catchable_error_001.phpt b/tests/lang/catchable_error_001.phpt index a7481b6ea6c46..e9caa4bfd2c23 100644 --- a/tests/lang/catchable_error_001.phpt +++ b/tests/lang/catchable_error_001.phpt @@ -19,8 +19,8 @@ Catchable fatal error [1] echo "ALIVE!\n"; ?> --EXPECTF-- -Fatal error: Uncaught TypeError: blah(): Argument #1 ($a) must be of type Foo, stdClass given, called in %scatchable_error_001.php on line 15 and defined in %scatchable_error_001.php:5 +Fatal error: Uncaught TypeError: blah(): Argument #1 ($a) must be of type Foo, DynamicObject given, called in %s:%d Stack trace: -#0 %s(%d): blah(Object(stdClass)) +#0 %s(%d): blah(Object(DynamicObject)) #1 {main} thrown in %scatchable_error_001.php on line 5 diff --git a/tests/lang/catchable_error_002.phpt b/tests/lang/catchable_error_002.phpt index 50f06051e303b..330c4b980602b 100644 --- a/tests/lang/catchable_error_002.phpt +++ b/tests/lang/catchable_error_002.phpt @@ -25,5 +25,5 @@ Catchable fatal error [2] echo "ALIVE!\n"; ?> --EXPECTF-- -blah(): Argument #1 ($a) must be of type Foo, stdClass given, called in %scatchable_error_002.php on line %d +blah(): Argument #1 ($a) must be of type Foo, DynamicObject given, called in %s on line %d ALIVE! diff --git a/tests/lang/engine_assignExecutionOrder_001.phpt b/tests/lang/engine_assignExecutionOrder_001.phpt index e50daa7d175a4..4d0859f31997f 100644 --- a/tests/lang/engine_assignExecutionOrder_001.phpt +++ b/tests/lang/engine_assignExecutionOrder_001.phpt @@ -71,7 +71,7 @@ C::$string[getOffset()] = newChar(); var_dump(C::$string); ?> ---EXPECTF-- +--EXPECT-- Order with local assignment: in f() in g() @@ -90,7 +90,7 @@ array(1) { Order with object property assignment: in f() in g() -object(stdClass)#%d (1) { +object(DynamicObject)#1 (1) { ["assigned value"]=> string(14) "assigned value" } @@ -99,11 +99,11 @@ object(stdClass)#%d (1) { Order with nested object property assignment: in f() in g() -object(stdClass)#%d (1) { +object(DynamicObject)#2 (1) { ["o1"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#3 (1) { ["o2"]=> - object(stdClass)#%d (1) { + object(DynamicObject)#4 (1) { ["assigned value"]=> string(14) "assigned value" } @@ -114,7 +114,7 @@ object(stdClass)#%d (1) { Order with dim_list property assignment: in f() in g() -object(stdClass)#%d (1) { +object(DynamicObject)#5 (1) { ["a"]=> array(1) { ["assigned value"]=> diff --git a/tests/lang/engine_assignExecutionOrder_007.phpt b/tests/lang/engine_assignExecutionOrder_007.phpt index 14a2a812b1861..65b0a7cc2f7c0 100644 --- a/tests/lang/engine_assignExecutionOrder_007.phpt +++ b/tests/lang/engine_assignExecutionOrder_007.phpt @@ -21,18 +21,18 @@ Array [0] => Array ( - [1] => stdClass Object + [1] => DynamicObject Object ( ) ) ) -stdClass Object +DynamicObject Object ( - [a] => stdClass Object + [a] => DynamicObject Object ( - [b] => stdClass Object + [b] => DynamicObject Object ( ) diff --git a/tests/lang/foreachLoopObjects.006.phpt b/tests/lang/foreachLoopObjects.006.phpt index 0d8c3f96a95d3..1afc2e3d661e0 100644 --- a/tests/lang/foreachLoopObjects.006.phpt +++ b/tests/lang/foreachLoopObjects.006.phpt @@ -76,7 +76,7 @@ string(10) "Original b" string(10) "Original c" string(10) "Original d" string(10) "Original e" -object(stdClass)#%d (6) { +object(DynamicObject)#2 (6) { ["a"]=> string(5) "new a" ["b"]=> diff --git a/tests/lang/operators/coalesce.phpt b/tests/lang/operators/coalesce.phpt index 7035eac84c378..a550905051c3d 100644 --- a/tests/lang/operators/coalesce.phpt +++ b/tests/lang/operators/coalesce.phpt @@ -51,7 +51,7 @@ function f($x) $a = f(null) ?? f(1) ?? f(2); ?> ---EXPECTF-- +--EXPECT-- int(3) int(7) @@ -65,7 +65,7 @@ int(3) int(7) string(3) "bar" int(3) -object(stdClass)#%d (%d) { +object(DynamicObject)#1 (1) { ["boo"]=> int(7) }