Test the disp() debugging function
Using var_dump() and continuing to run:
object(stdClass)#1 (2) {
["State"]=>
string(5) "Texas"
["Features"]=>
array(2) {
["Description"]=>
string(19) "The Lone Star State"
["Philosophy"]=>
string(53) "I wasn't born here but I got here as fast as I could!"
}
}
Using no arguments
No arguments given for disp()
Using only the first argument
stdClass Object
(
[State] => Texas
[Features] => Array
(
[Description] => The Lone Star State
[Philosophy] => I wasn't born here but I got here as fast as I could!
)
)
Using print_r() and dying:
stdClass Object
(
[State] => Texas
[Features] => Array
(
[Description] => The Lone Star State
[Philosophy] => I wasn't born here but I got here as fast as I could!
)
)
done