3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ($app->request->post('TableOption') === false) { $app->request->done = true; print_r($app->request->done); };
based on NHgVH
Output for 7.2.0
Notice: Undefined variable: app in /in/eaS7Q on line 3 Notice: Trying to get property 'request' of non-object in /in/eaS7Q on line 3 Fatal error: Uncaught Error: Call to a member function post() on null in /in/eaS7Q:3 Stack trace: #0 {main} thrown in /in/eaS7Q on line 3
Process exited with code 255.
Output for 7.0.0 - 7.1.10
Notice: Undefined variable: app in /in/eaS7Q on line 3 Notice: Trying to get property of non-object in /in/eaS7Q on line 3 Fatal error: Uncaught Error: Call to a member function post() on null in /in/eaS7Q:3 Stack trace: #0 {main} thrown in /in/eaS7Q on line 3
Process exited with code 255.
Output for 5.6.0 - 5.6.28
Notice: Undefined variable: app in /in/eaS7Q on line 3 Notice: Trying to get property of non-object in /in/eaS7Q on line 3 Fatal error: Call to a member function post() on null in /in/eaS7Q on line 3
Process exited with code 255.
Output for 5.5.0 - 5.5.38
Notice: Undefined variable: app in /in/eaS7Q on line 3 Notice: Trying to get property of non-object in /in/eaS7Q on line 3 Fatal error: Call to a member function post() on a non-object in /in/eaS7Q on line 3
Process exited with code 255.