3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $options = ''; $options['after'] .= 'x';
based on 4caB0
Output for 7.1.0 - 7.2.0
Warning: Illegal string offset 'after' in /in/F4EBq on line 3 Fatal error: Uncaught Error: Cannot use assign-op operators with string offsets in /in/F4EBq:3 Stack trace: #0 {main} thrown in /in/F4EBq on line 3
Process exited with code 255.
Output for 5.3.21 - 7.0.20
Notice: Undefined index: after in /in/F4EBq on line 3