3v4l.org

run code in 300+ PHP versions simultaneously
<?php $shop = array( array([core.login.offline], Array("6",1)), array("daisy", 0.75 , 25), array("orchid", 1.15 , 7) ); //$array = array ['core.admin'] => [53 => 1]]; //unset($array['core.admin'][53]); //print_r($array);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
Fatal error: Uncaught Error: Undefined constant "core" in /in/dWN0V:3 Stack trace: #0 {main} thrown in /in/dWN0V on line 3
Process exited with code 255.
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Warning: Use of undefined constant core - assumed 'core' (this will throw an Error in a future version of PHP) in /in/dWN0V on line 3 Warning: Use of undefined constant login - assumed 'login' (this will throw an Error in a future version of PHP) in /in/dWN0V on line 3 Warning: Use of undefined constant offline - assumed 'offline' (this will throw an Error in a future version of PHP) in /in/dWN0V on line 3
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33
Notice: Use of undefined constant core - assumed 'core' in /in/dWN0V on line 3 Notice: Use of undefined constant login - assumed 'login' in /in/dWN0V on line 3 Notice: Use of undefined constant offline - assumed 'offline' in /in/dWN0V on line 3

preferences:
262.35 ms | 403 KiB | 332 Q