3v4l.org

run code in 500+ PHP versions simultaneously
<?php session_start(); if (!isset($_SESSION['loggedin']) || $_SESSION['loggedin'] !== true) { header("Location: login.php"); exit; } ?> <!DOCTYPE html> <html lang="ar" dir="rtl"> <head> <meta charset="UTF-8"> <title>لوحة التحكم</title> <link rel="stylesheet" href="style.css"> </head> <body> <div class="login-card"> <h2>أهلاً بك يا مدير</h2> <form action="save.php" method="POST"> <textarea name="question" placeholder="اكتب سؤال RGIE هنا..." style="width:100%; height:80px; margin-bottom:10px;" required></textarea> <input type="text" name="answer" placeholder="اكتب الإجابة هنا..." style="width:100%; padding:10px; margin-bottom:10px;" required> <button type="submit" style="width:100%; padding:10px; background:#28a745; color:white; border:none; cursor:pointer;">حفظ السؤال</button> </form> <br> <p>لقد دخلت إلى لوحة التحكم بنجاح!</p> <a href="logout.php">تسجيل الخروج</a> </div> </body> </html>
Output for git.master, git.master_jit

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:
51.04 ms | 742 KiB | 4 Q