3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = '';//array(); $b = array(1 => 'g', 'h'); $b += $a; print_r($a);
based on omhqE
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/s8hKV on line 5 Fatal error: Uncaught Error: Unsupported operand types in /in/s8hKV:5 Stack trace: #0 {main} thrown in /in/s8hKV on line 5
Process exited with code 255.
Output for 7.0.0 - 7.0.20
Fatal error: Uncaught Error: Unsupported operand types in /in/s8hKV:5 Stack trace: #0 {main} thrown in /in/s8hKV on line 5
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Unsupported operand types in /in/s8hKV on line 5
Process exited with code 255.