I’m new to PHP, started with Code Igniter and MAMP. I start the server from the MAMP application, and write PHP in the text editor.
When errors occur in the code, the page doesn’t display anything! Is there anyway to see the errors on console? or PHP just doesn’t show errors?
I’m used to Eclipses console when developing Java, is there anything similar?
Error Reporting
In your code add :
or you can do it from your php.ini file.
http://php.net/manual/en/errorfunc.configuration.php
Yes, there is Zend Studio – Eclipse, and also PHP IDE by Eclipse.
ZS – http://www.zend.com/en/products/studio/
Eclipse – http://www.eclipse.org/downloads/