3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $m1 = new Map(array('a' => 1, 'b' => 2)); $m2 = new Map(array('b' => 3, 'c' => 4)); var_dump($m1 += $m2);
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'Map' not found in /in/0sqW2:3 Stack trace: #0 {main} thrown in /in/0sqW2 on line 3
Process exited with code 255.
Output for 5.3.21 - 5.6.21
Fatal error: Class 'Map' not found in /in/0sqW2 on line 3
Process exited with code 255.