3v4l.org

run code in 300+ PHP versions simultaneously
<?php $olakase = new array('ola k ase') if(count($olakase)) print 'ola k hizo' else print 'ola k ase'
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected 'array' (T_ARRAY) in /in/CRmhr on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ARRAY in /in/CRmhr on line 2
Process exited with code 255.

preferences:
186.75 ms | 1395 KiB | 60 Q