3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $consents = new ArrayCollection();
Output for 7.1.0 - 7.3.0beta1
Fatal error: Uncaught Error: Class 'ArrayCollection' not found in /in/9LnG9:3 Stack trace: #0 {main} thrown in /in/9LnG9 on line 3
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Uncaught Error: Class undefined: ArrayCollection in /in/9LnG9:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.18.5 - 3.21.3
Fatal error: Uncaught Error: Class undefined: ArrayCollection in /in/9LnG9:3 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Fatal error: Class 'ArrayCollection' not found in /in/9LnG9 on line 3
Process exited with code 255.