3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = new HttpRequest(); $result = http_get("http://datex.trafikverket.se/d2clientpull/situationpullserverba/2_3/Accident"); print_r($result); ?>
based on 7laGE
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'HttpRequest' not found in /in/54moR:2 Stack trace: #0 {main} thrown in /in/54moR on line 2
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Class 'HttpRequest' not found in /in/54moR on line 2
Process exited with code 255.