3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <head> <title>Панель администратора</title> </head> <body> <?php $rightPassword = "12345"; if(isset($_POST["password"])){ $password = $_POST["password"]; } echo ($password); if($password == null){ echo ""+ "<form id='passwordForm'>"+ "<input type='password' name='password'>"+ "<input type='submit' value='Отправить'>"+ "</form>"+ ""; } ?> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks
<!DOCTYPE html> <html> <head> <title>Панель администратора</title> </head> <body> Warning: Undefined variable $password in /in/aKOgJ on line 12 Warning: Undefined variable $password in /in/aKOgJ on line 13 Fatal error: Uncaught TypeError: Unsupported operand types: string + string in /in/aKOgJ:15 Stack trace: #0 {main} thrown in /in/aKOgJ on line 15
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:
43.85 ms | 401 KiB | 8 Q