3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = array( 'test' => 'cool', 'lol' => fefe ); echo $test['test'];
based on RIt9T
Output for 7.2.0
Warning: Use of undefined constant fefe - assumed 'fefe' (this will throw an Error in a future version of PHP) in /in/lgPPn on line 4 cool
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant fefe - assumed 'fefe' in /in/lgPPn on line 4 cool
Output for 4.3.0 - 5.6.28
Notice: Use of undefined constant fefe - assumed 'fefe' in /in/lgPPn on line 5 cool