3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php const arrival_mo = 1; const arrival_di = 2; const arrival_mi = 4; const arrival_do = 8; const arrival_fr = 16; const arrival_sa = 32; const arrival_so = 64; echo (127 & arrival_di);
based on qEhhq
Output for 5.3.0 - 7.2.0
2
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_CONST in /in/4Y3Yi on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_CONST in /in/4Y3Yi on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/4Y3Yi on line 3
Process exited with code 255.