PHP fails silently when function not defined?

Posted by John Isaacks on Stack Overflow See other posts from Stack Overflow or by John Isaacks
Published on 2010-05-17T18:21:56Z Indexed on 2010/05/17 18:30 UTC
Read the original article Hit count: 144

Filed under:

I am migrating from PHP4 to PHP5

I have this in my .htaccess:

php_flag display_errors on
php_value error_reporting 2039

Which used to show all errors.

I am still getting some errors but I used to get an error when I called a function that was not defined, but now it stops where it is at and send the client everything up to the error and nothing after. With no error message.

Here is what phpinfo is telling me:

Directive   Local Value Master Value
display_errors  On  Off
error_reporting 2039    6143

I would like to be able to see my error messages for trouble shooting purposes.

Can someone tell me what I need to do? Thanks!!

© Stack Overflow or respective owner

Related posts about php