3v4l.org

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