*** Testing var_dump() on object variables ***
-- Iteration 1 --
-object(object_class)#6 (7) {
+object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
-- Iteration 2 --
-object(no_member_class)#7 (0) {
+object(no_member_class)#%d (0) {
}
-- Iteration 3 --
-object(contains_object_class)#8 (7) {
+object(contains_object_class)#%d (7) {
["p"]=>
int(30)
["class_object1"]=>
- object(object_class)#9 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object2"]=>
- object(object_class)#10 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object3:private"]=>
- object(object_class)#9 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object4:protected"]=>
- object(object_class)#10 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["no_member_class_object"]=>
- object(no_member_class)#11 (0) {
+ object(no_member_class)#%d (0) {
}
["class_object5"]=>
- object(contains_object_class)#8 (7) {
- ["p"]=>
- int(30)
- ["class_object1"]=>
- object(object_class)#9 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object2"]=>
- object(object_class)#10 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object3:private"]=>
- object(object_class)#9 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object4:protected"]=>
- object(object_class)#10 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["no_member_class_object"]=>
- object(no_member_class)#11 (0) {
- }
- ["class_object5"]=>
- *RECURSION*
- }
+ *RECURSION*
}
-- Iteration 4 --
-object(contains_object_class)#1 (7) {
+object(contains_object_class)#%d (7) {
["p"]=>
int(30)
["class_object1"]=>
- object(object_class)#2 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object2"]=>
- object(object_class)#3 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object3:private"]=>
- object(object_class)#2 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object4:protected"]=>
- object(object_class)#3 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["no_member_class_object"]=>
- object(no_member_class)#4 (0) {
+ object(no_member_class)#%d (0) {
}
["class_object5"]=>
- object(contains_object_class)#1 (7) {
- ["p"]=>
- int(30)
- ["class_object1"]=>
- object(object_class)#2 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object2"]=>
- object(object_class)#3 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object3:private"]=>
- object(object_class)#2 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object4:protected"]=>
- object(object_class)#3 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["no_member_class_object"]=>
- object(no_member_class)#4 (0) {
- }
- ["class_object5"]=>
- *RECURSION*
- }
+ *RECURSION*
}
-- Iteration 5 --
-object(object_class)#2 (7) {
+object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
-- Iteration 6 --
-object(object_class)#3 (7) {
+object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
-- Iteration 7 --
-object(no_member_class)#4 (0) {
+object(no_member_class)#%d (0) {
}
-- Iteration 8 --
-object(object_class)#5 (7) {
+object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
NULL
** Testing var_dump() on objects having circular reference **
-object(object_class)#13 (8) {
+object(object_class)#%d (8) {
["value"]=>
int(50)
["public_var1"]=>
["public_var2"]=>
int(11)
["obj"]=>
- &object(object_class)#12 (8) {
+ &object(object_class)#%d (8) {
["value"]=>
int(50)
["public_var1"]=>
["public_var2"]=>
int(11)
["obj"]=>
- &object(object_class)#13 (8) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- ["obj"]=>
- &object(object_class)#12 (8) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- ["obj"]=>
- *RECURSION*
- }
- }
+ *RECURSION*
}
}
*** Testing var_dump() on resources ***
-- Iteration 1 --
-resource(5) of type (stream)
+resource(%d) of type (stream)
-- Iteration 2 --
-resource(6) of type (stream)
+resource(%d) of type (stream)
*** Testing var_dump() on different combinations of scalar
and non-scalar variables ***
-- Iteration 3 --
array(4) {
[0]=>
- object(no_member_class)#14 (0) {
+ object(no_member_class)#%d (0) {
}
[1]=>
array(0) {
}
array(2) {
[0]=>
- resource(5) of type (stream)
+ resource(%d) of type (stream)
[1]=>
- resource(6) of type (stream)
+ resource(%d) of type (stream)
}
array(9) {
[0]=>
- object(object_class)#6 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
[1]=>
- object(no_member_class)#7 (0) {
+ object(no_member_class)#%d (0) {
}
[2]=>
- object(contains_object_class)#8 (7) {
+ object(contains_object_class)#%d (7) {
["p"]=>
int(30)
["class_object1"]=>
- object(object_class)#9 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object2"]=>
- object(object_class)#10 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object3:private"]=>
- object(object_class)#9 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object4:protected"]=>
- object(object_class)#10 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["no_member_class_object"]=>
- object(no_member_class)#11 (0) {
+ object(no_member_class)#%d (0) {
}
["class_object5"]=>
- object(contains_object_class)#8 (7) {
- ["p"]=>
- int(30)
- ["class_object1"]=>
- object(object_class)#9 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object2"]=>
- object(object_class)#10 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object3:private"]=>
- object(object_class)#9 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object4:protected"]=>
- object(object_class)#10 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["no_member_class_object"]=>
- object(no_member_class)#11 (0) {
- }
- ["class_object5"]=>
- *RECURSION*
- }
+ *RECURSION*
}
[3]=>
- object(contains_object_class)#1 (7) {
+ object(contains_object_class)#%d (7) {
["p"]=>
int(30)
["class_object1"]=>
- object(object_class)#2 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object2"]=>
- object(object_class)#3 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object3:private"]=>
- object(object_class)#2 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["class_object4:protected"]=>
- object(object_class)#3 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
["no_member_class_object"]=>
- object(no_member_class)#4 (0) {
+ object(no_member_class)#%d (0) {
}
["class_object5"]=>
- object(contains_object_class)#1 (7) {
- ["p"]=>
- int(30)
- ["class_object1"]=>
- object(object_class)#2 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object2"]=>
- object(object_class)#3 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object3:private"]=>
- object(object_class)#2 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["class_object4:protected"]=>
- object(object_class)#3 (7) {
- ["value"]=>
- int(50)
- ["public_var1"]=>
- int(10)
- ["private_var1:private"]=>
- int(20)
- ["private_var2:private"]=>
- int(21)
- ["protected_var1:protected"]=>
- string(8) "string_1"
- ["protected_var2:protected"]=>
- string(8) "string_2"
- ["public_var2"]=>
- int(11)
- }
- ["no_member_class_object"]=>
- object(no_member_class)#4 (0) {
- }
- ["class_object5"]=>
- *RECURSION*
- }
+ *RECURSION*
}
[4]=>
- object(object_class)#2 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
[5]=>
- object(object_class)#3 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
int(11)
}
[6]=>
- object(no_member_class)#4 (0) {
+ object(no_member_class)#%d (0) {
}
[7]=>
- object(object_class)#5 (7) {
+ object(object_class)#%d (7) {
["value"]=>
int(50)
["public_var1"]=>
[2]=>
array(4) {
[0]=>
- object(no_member_class)#14 (0) {
+ object(no_member_class)#%d (0) {
}
[1]=>
array(0) {
Warning: Wrong parameter count for var_dump() in %s on line %d
Done
+