What is the best way to debug/test a PHP code ?



Please let me know how do we effectively and quickly test a php code ?

.