3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $shop = array( array([core.login.offline], Array("6",1)), array("daisy", 0.75 , 25), array("orchid", 1.15 , 7) );
based on dWN0V
Output for 7.2.0
Warning: Use of undefined constant core - assumed 'core' (this will throw an Error in a future version of PHP) in /in/FkA7G on line 3 Warning: Use of undefined constant login - assumed 'login' (this will throw an Error in a future version of PHP) in /in/FkA7G on line 3 Warning: Use of undefined constant offline - assumed 'offline' (this will throw an Error in a future version of PHP) in /in/FkA7G on line 3
Output for 5.4.11 - 7.1.10
Notice: Use of undefined constant core - assumed 'core' in /in/FkA7G on line 3 Notice: Use of undefined constant login - assumed 'login' in /in/FkA7G on line 3 Notice: Use of undefined constant offline - assumed 'offline' in /in/FkA7G on line 3
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/FkA7G on line 3
Process exited with code 255.