3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php die(json_encode(array("alert('wrong request " . $method . "')"), JSON_FORCE_OBJECT));
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: method in /in/kvLMQ on line 2 {"0":"alert('wrong request ')"}