3v4l.org

run code in 300+ PHP versions simultaneously
<?php int x=63; // x=111111 if( x & 1<<6) { echo true; }
Output for 5.4.13
Parse error: syntax error, unexpected 'x' (T_STRING) in /in/JVihG on line 2
Process exited with code 255.
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected 'x' (T_STRING) in sa7Vl on line 2
Process exited with code 255.
Output for 5.3.23
Parse error: syntax error, unexpected T_STRING in /in/JVihG on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_STRING in sa7Vl on line 2
Process exited with code 255.

preferences:
174.18 ms | 1395 KiB | 45 Q