3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ch="s1"; $_SESSION[$ch] = array(); $_SESSION[$ch][] .= 11; $_SESSION[$ch][] . = 22; var_dump($_SESSION);
Output for 5.3.0 - 5.4.20
Fatal error: Cannot use [] for reading in /in/HPRKg on line 7
Process exited with code 255.