3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $request_headers = null; if ($http_method == "POST" && @strstr($request_headers["Content-Type"], "application/x-www-form-urlencoded") ) { echo 'in here'; }
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: http_method in /in/Xh45C on line 5
Output for 5.3.19 - 5.6.28
Notice: Undefined variable: http_method in /in/Xh45C on line 6