3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Start session session_start(); include('config.php'); $login= $_POST['username']; $password= $_POST['password']; mysql_query("UPDATE registo SET username='' AND password='' WHERE username='$login' AND password='$password'"); { echo "Deleted Successfully"; }?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: include(): open_basedir restriction in effect. File(config.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/fIRBX on line 5 Warning: include(config.php): Failed to open stream: Operation not permitted in /in/fIRBX on line 5 Warning: include(): Failed opening 'config.php' for inclusion (include_path='.:') in /in/fIRBX on line 5 Warning: Undefined array key "username" in /in/fIRBX on line 7 Warning: Undefined array key "password" in /in/fIRBX on line 8 Fatal error: Uncaught Error: Call to undefined function mysql_query() in /in/fIRBX:10 Stack trace: #0 {main} thrown in /in/fIRBX on line 10
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
38.9 ms | 402 KiB | 8 Q