3v4l.org

run code in 300+ PHP versions simultaneously
<?php if($user == "" || $pass == "") { echo "Please fill in all the information!"; } //Check to see if the username AND password MATCHES the username AND password in the DB else { $query = mysqli_query($con,"SELECT * FROM members WHERE username = '$user' and password = '$pass'") or die("Can not query DB."); $count = mysqli_num_rows($query); if ($count == 1) { $_SESSION['username']=$user; //Create a session for the user! header ("location: members.php"); } else{ echo "Username and Password DO NOT MATCH! TRY AGAIN!"; } }
Output for git.master_jit, git.master
/bin/php-git-master: error while loading shared libraries: libonig.so.5: cannot open shared object file: No such file or directory
Process exited with code 127.
Output for rfc.property-hooks
Warning: Undefined variable $user in /in/AtEjZ on line 2 Please fill in all the information!

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:
44.1 ms | 401 KiB | 8 Q