I use both WAMP and MAMP. I have error_reporting
set to E_ALL
in both environments. However, if I run the following simple script:
<?php echo $x; ?>
On WAMP, I receive a warning message that says $x
has not been initialized. On MAMP, I get a blank screen with no warning.
I find these warnings helpful. Does anyone know how I can turn on these warnings on in MAMP?
Again, in MAMP, I have error_reporting
set to E_ALL
(6143), and display_errors
set to On
.
Update: To be clear, I do see fatal error messages on both WAMP and MAMP. However, I only see warning messages on WAMP. I would like to see warnings on MAMP as well.