3v4l.org

run code in 300+ PHP versions simultaneously
<?php $someth = "0"; echo strlen($someth); if (0<$someth<=1){ echo " checks!"; }
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '<=' (T_IS_SMALLER_OR_EQUAL) in /in/jAO5A on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_IS_SMALLER_OR_EQUAL in /in/jAO5A on line 5
Process exited with code 255.

preferences:
191.45 ms | 1395 KiB | 65 Q