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>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.70.0110.00716.80
8.5.60.0230.00916.84
8.5.50.0210.00516.74
8.5.40.0230.00417.47
8.5.30.0180.00617.37
8.5.20.0150.00316.69
8.5.10.0190.00317.32
8.5.00.0050.00416.66
8.4.220.0120.01121.41
8.4.210.0160.00619.42
8.4.200.0150.00419.61
8.4.190.0140.00519.65
8.4.180.0140.00519.59
8.4.170.0150.00419.73
8.4.160.0180.00519.70
8.4.150.0170.00619.75
8.4.140.0130.00517.46
8.4.130.0140.00517.62
8.4.120.0170.00217.66
8.4.110.0160.00317.73
8.4.100.0140.00617.85
8.4.90.0160.00317.53
8.4.80.0140.00517.78
8.4.70.0140.00517.60
8.4.60.0130.00617.84
8.4.50.0160.00517.71
8.4.40.0190.00517.67
8.4.30.0150.00517.55
8.4.20.0150.00417.63
8.4.10.0140.00617.66
8.3.310.0180.00418.59
8.3.300.0130.00518.41
8.3.290.0140.00518.35
8.3.280.0160.00418.30
8.3.270.0170.00516.73
8.3.260.0210.00716.50
8.3.250.0230.00416.73
8.3.240.0200.00616.62
8.3.230.0160.00316.66
8.3.220.0170.00517.56
8.3.210.0160.00416.55
8.3.200.0180.00416.62
8.3.190.0160.00416.63
8.3.180.0140.00416.63
8.3.170.0170.00416.66
8.3.160.0170.00416.60
8.3.150.0170.00316.31
8.3.140.0160.00416.55
8.3.130.0130.00516.62
8.3.120.0130.00416.56
8.3.110.0150.00316.57
8.3.100.0130.00516.69
8.3.90.0160.00416.69
8.3.80.0160.00317.50
8.3.70.0140.00516.79
8.3.60.0160.00416.45
8.3.50.0160.00416.64
8.3.40.0160.00418.05
8.3.30.0120.00517.83
8.3.20.0120.00417.85
8.3.10.0130.00617.91
8.3.00.0170.00617.84
8.2.310.0240.00518.07

preferences:
34.21 ms | 740 KiB | 5 Q