I'm trying out Laravel 4. When using the ORM to create a new user account, this is echoed to the page:
array(1) {
[0]=>
object(stdClass)#103 (1) {
["id"]=>
int(98)
}
}
I have absolutely no idea where the var_dump statement is. I've gone through the entire source code trying to find out where this is echoed, but couldn't find anything.
What could cause this ? How can I know where the var_dump statement is ?
Since it is displaying the data types, you will want to search for: var_dump
That's not a print_r
, that's a var_dump
. Try searching your source files for that.
But it should be in the same location in the source as the content surrounding it.
Open the project on Netbeans, right click on Source folder and click on find... Search for var_dump(
You will get it.
Easy?