3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=12; $y=13; echo $value = $x / $y; //Would like to see 0.923 not 1
Output for 5.4.0 - 5.4.16
Warning: Unexpected character in input: '' (ASCII=7) state=0 in /in/VZCs5 on line 4 Parse error: syntax error, unexpected 'ue' (T_STRING), expecting ',' or ';' in /in/VZCs5 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Warning: Unexpected character in input: '' (ASCII=7) state=0 in /in/VZCs5 on line 4 Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/VZCs5 on line 4
Process exited with code 255.

preferences:
177.06 ms | 1395 KiB | 51 Q