3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); ?> <!DOCTYPE html> <html> <head> <title>Turk4a</title> <style> .main{ width: 600px; height: 450px; margin: auto; } #ans{ padding: 20px; border: 1px solid red; border-radius: 10px; margin-top: 5px; font-size: 18px; } .quest{ font-size: 20px; margin-left: 20px; } #subm{ padding: 5px 25px; margin-top: 5px; margin-left: 0px; border-radius: 6px; border: 1px solid black; background-color: #fff; } </style> </head> <body> <?php if($_SESSION['qnum'] == 1){ qst = "Tohal kto?"; ans1 = "Gudok"; ans2 = "Sirena"; ans3 = "Svistok"; ans4 = "Manok"; } ?> <div class="main"> <div class="quest"><p>Tohal kto?</p></div> <div class="ans"> <form action="index.php" method="post"> <div id="ans"><input name="1" type="radio" value="1"> Gudok</div> <div id="ans"><input name="1" type="radio" value="2"> Sirena </div> <div id="ans"><input name="1" type="radio" value="3"> Svistok </div> <div id="ans"><input name="1" type="radio" value="3"> Manok </div> <input type="submit" value="GO!!" id="subm"> </form> </div> </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)
5.4.270.0080.03312.36
5.4.260.0100.03312.36
5.4.250.0090.03412.36
5.4.240.0040.03812.36
5.4.230.0080.03512.36
5.4.220.0150.03112.35
5.4.210.0060.03512.36
5.4.200.0060.03812.36
5.4.190.0060.03812.35
5.4.180.0080.03812.35
5.4.170.0050.03712.36
5.4.160.0050.03812.35
5.4.150.0050.03712.35
5.4.140.0080.03412.04
5.4.130.0120.03212.02
5.4.120.0030.03811.98
5.4.110.0060.03511.98
5.4.100.0060.03511.98
5.4.90.0070.03511.98
5.4.80.0040.03811.98
5.4.70.0050.03911.98
5.4.60.0020.03811.98
5.4.50.0090.04411.97
5.4.40.0060.04611.96
5.4.30.0040.03911.96
5.4.20.0070.05011.96
5.4.10.0090.04811.96
5.4.00.0040.04311.45
5.3.280.0070.04012.70
5.3.270.0060.03912.72
5.3.260.0040.04212.72
5.3.250.0090.03712.72
5.3.240.0050.03712.71
5.3.230.0090.04112.71
5.3.220.0090.04412.68
5.3.210.0080.03812.68
5.3.200.0100.03712.68
5.3.190.0070.03812.68
5.3.180.0090.03812.67
5.3.170.0060.04012.66
5.3.160.0090.03712.68
5.3.150.0050.04512.68
5.3.140.0060.04412.66
5.3.130.0080.04212.66
5.3.120.0090.05012.66
5.3.110.0080.05112.66
5.3.100.0110.04612.12
5.3.90.0060.05212.08
5.3.80.0070.04912.08
5.3.70.0060.05012.07
5.3.60.0110.04412.06
5.3.50.0130.04212.00
5.3.40.0090.04312.00
5.3.30.0050.04511.94
5.3.20.0080.03711.70
5.3.10.0070.03711.67
5.3.00.0090.04111.64

preferences:
137.37 ms | 1394 KiB | 7 Q