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" style="width: 80%; max-width: 600px;"> <h2>أهلاً بك يا مدير النظام</h2> <p>هنا يمكنك إضافة أسئلة من ملف RGIE.</p> <form action="save_question.php" method="POST"> <textarea name="question" placeholder="اكتب السؤال هنا..." style="width:100%; height:100px; margin: 10px 0;"></textarea> <input type="text" name="answer" placeholder="الإجابة الصحيحة"> <button type="submit">إضافة السؤال للقاعدة</button> </form> <br> <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.0090.00918.44
8.5.60.0250.00518.57
8.5.50.0190.00518.50
8.5.40.0190.00418.24
8.5.30.0130.00416.68
8.5.20.0170.00116.68
8.5.10.0130.00518.48
8.5.00.0060.00216.61
8.4.220.0100.00921.45
8.4.210.0160.00419.23
8.4.200.0170.00219.54
8.4.190.0140.00819.75
8.4.180.0200.00419.81
8.4.170.0160.00819.63
8.4.160.0170.00419.78
8.4.150.0130.00619.44
8.4.140.0180.00317.30
8.4.130.0170.00317.82
8.4.120.0170.00417.51
8.4.110.0160.00517.64
8.4.100.0130.00717.74
8.4.90.0160.00517.54
8.4.80.0270.00519.45
8.4.70.0150.00517.75
8.4.60.0180.00117.69
8.4.50.0190.00417.75
8.4.40.0170.00417.69
8.4.30.0160.00517.85
8.4.20.0160.00317.68
8.4.10.0190.00117.35
8.3.310.0190.00420.05
8.3.300.0140.00418.35
8.3.290.0160.00318.68
8.3.280.0150.00418.44
8.3.270.0180.00918.46
8.3.260.0180.00716.65
8.3.250.0150.00516.52
8.3.240.0140.00316.49
8.3.230.0150.00418.39
8.3.220.0160.00318.35
8.3.210.0180.00218.45
8.3.200.0180.00218.43
8.3.190.0100.00516.56
8.3.180.0120.00418.59
8.3.170.0180.00216.45
8.3.160.0150.00516.67
8.3.150.0140.00516.77
8.3.140.0150.00516.73
8.3.130.0160.00516.63
8.3.120.0190.00116.44
8.3.110.0120.00418.36
8.3.100.0140.00416.63
8.3.90.0140.00316.55
8.3.80.0190.00216.74
8.3.70.0140.00616.66
8.3.60.0150.00416.66
8.3.50.0170.00218.30
8.3.40.0150.00617.71
8.3.30.0140.00419.71
8.3.20.0110.00617.84
8.3.10.0120.00517.87
8.3.00.0150.00317.76
8.2.310.0120.00818.04

preferences:
54.54 ms | 742 KiB | 5 Q