Validate your code (PHP, CSS or Javascript) for consistency with a coding standard in order to prevent bugs and to make the code easy to maintain, read, share and distribute.

Code Sniffer is also avaible as a module for EasyPHP Devserver visibility

get the latest news :



OTHER TOOLS FOR DEVELOPERS
Paste your code below *, select a standard
and
* or use this sample and try to correct errors.
<?php $link = mysql_connect("example.com:3307","mysql_user","mysql_password"); if (!$link) { die("Could not connect: ".mysql_error()); } echo "Connected successfully"; mysql_close($link); $link = mysql_connect("127.0.0.1:3307","mysql_user","mysql_password"); if (!$link) { die("Could not connect: ".mysql_error()); } echo "Connected successfully"; mysql_close($link); ?>