3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = base64_encode('pierre@knplabs.com~~~~pierre'); echo $a; $q = explode('~~~~', base64_decode($request->query->get('q'))); var_dump($q);
Output for 7.0.0 - 7.1.0
cGllcnJlQGtucGxhYnMuY29tfn5+fnBpZXJyZQ== Notice: Undefined variable: request in /in/QNKAR on line 6 Notice: Trying to get property of non-object in /in/QNKAR on line 6 Fatal error: Uncaught Error: Call to a member function get() on null in /in/QNKAR:6 Stack trace: #0 {main} thrown in /in/QNKAR on line 6
Process exited with code 255.
Output for 5.6.7 - 5.6.28
cGllcnJlQGtucGxhYnMuY29tfn5+fnBpZXJyZQ== Notice: Undefined variable: request in /in/QNKAR on line 6 Notice: Trying to get property of non-object in /in/QNKAR on line 6 Fatal error: Call to a member function get() on null in /in/QNKAR on line 6
Process exited with code 255.
Output for 5.0.4 - 5.5.35
cGllcnJlQGtucGxhYnMuY29tfn5+fnBpZXJyZQ== Notice: Undefined variable: request in /in/QNKAR on line 6 Notice: Trying to get property of non-object in /in/QNKAR on line 6 Fatal error: Call to a member function get() on a non-object in /in/QNKAR on line 6
Process exited with code 255.
Output for 5.0.0 - 5.0.3
cGllcnJlQGtucGxhYnMuY29tfn5+fnBpZXJyZQ== Notice: Undefined variable: request in /in/QNKAR on line 6 Notice: Trying to get property of non-object in /in/QNKAR on line 6 Fatal error: Call to a member function get() on a non-object in /in/QNKAR on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.9
cGllcnJlQGtucGxhYnMuY29tfn5+fnBpZXJyZQ== Fatal error: Call to a member function on a non-object in /in/QNKAR on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
cGllcnJlQGtucGxhYnMuY29tfn5+fnBpZXJyZQ== Fatal error: Call to a member function on a non-object in /in/QNKAR on line 6