Re: neither var_dump() nor die() displays anything [message #173643 is a reply to message #173641] |
Fri, 22 April 2011 07:31 |
Unrest
Messages: 10 Registered: April 2011
Karma:
|
Junior Member |
|
|
Am Thu, 21 Apr 2011 18:05:53 -0700 schrieb Jivanmukta:
>> OK, do you have the following in your php.ini file (on your development
>> system):
>> display_errors=on
>> error_reporting=E_ALL // or E_ALL | E_STRICT
>
> I added these two lines to my code (before problem):
>
> ini_set('display_errors',1);
> error_reporting( E_ALL);
>
> but it didn't help: no error is displayed, I don't know why.
error_reporting(-1)
is e_all + e_strict.
Having E_STRICT set, it'll punish you for passing an undefined constant
to that function. ;)
|
|
|