3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); if(@$_GET['password'] && intval(@$_GET['password'])===1){ $step1=FALSE; $step2=FALSE; $step3=FALSE; include("flag.php"); $db = new SQLite3('access.db'); $result = $db->query('SELECT * FROM USERS WHERE password="'.$_GET['password'].'"'); if($result->fetchArray()) $step1=true; $result = $db->query('SELECT * FROM USERS WHERE password=\''.$_GET['password'].'\''); if($result->fetchArray()) $step2=true; $result = $db->query('SELECT * FROM USERS WHERE password='.$_GET['password']); if($result->fetchArray()) $step3=true; if($step1 && $step1 && $step3) echo "<pre>".$flag."</pre>"; } ?>

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.3.60.0140.00716.63
8.3.50.0070.01018.05
8.3.40.0060.00918.72
8.3.30.0110.00318.84
8.3.20.0080.00018.98
8.3.10.0060.00321.73
8.3.00.0070.00022.34
8.2.180.0150.00018.16
8.2.170.0090.00622.96
8.2.160.0030.01019.29
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00422.08
8.2.120.0040.00426.35
8.2.110.0100.00020.38
8.2.100.0090.00317.78
8.2.90.0040.00419.26
8.2.80.0060.00317.97
8.2.70.0060.00317.75
8.2.60.0040.00418.04
8.2.50.0080.00018.10
8.2.40.0000.00822.20
8.2.30.0000.00819.27
8.2.20.0040.00417.64
8.2.10.0040.00418.18
8.2.00.0040.00417.75
8.1.280.0040.01125.92
8.1.270.0000.00823.96
8.1.260.0040.00428.09
8.1.250.0050.00228.09
8.1.240.0000.00920.94
8.1.230.0080.00419.07
8.1.220.0000.00717.79
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0000.00817.11
8.1.180.0000.00718.10
8.1.170.0080.00018.65
8.1.160.0000.00722.07
8.1.150.0060.00318.78
8.1.140.0000.00719.54
8.1.130.0030.00317.67
8.1.120.0040.00417.42
8.1.110.0040.00417.45
8.1.100.0040.00417.39
8.1.90.0040.00417.45
8.1.80.0000.00817.42
8.1.70.0030.00317.39
8.1.60.0060.00317.57
8.1.50.0030.00617.47
8.1.40.0000.00817.46
8.1.30.0080.00017.52
8.1.20.0000.00817.58
8.1.10.0040.00417.56
8.1.00.0040.00417.50
8.0.300.0000.00818.77
8.0.290.0000.00716.75
8.0.280.0000.00718.45
8.0.270.0070.00017.22
8.0.260.0050.00216.83
8.0.250.0000.00716.91
8.0.240.0000.00716.96
8.0.230.0030.00316.96
8.0.220.0000.00716.85
8.0.210.0000.00616.89
8.0.200.0000.00616.96
8.0.190.0040.00416.86
8.0.180.0040.00416.92
8.0.170.0040.00416.94
8.0.160.0000.00716.76
8.0.150.0000.00716.89
8.0.140.0040.00416.82
8.0.130.0000.00513.37
8.0.120.0000.00816.78
8.0.110.0040.00416.82
8.0.100.0040.00416.87
8.0.90.0000.00716.75
8.0.80.0130.00316.86
8.0.70.0040.00416.76
8.0.60.0040.00416.91
8.0.50.0020.00516.87
8.0.30.0060.01117.10
8.0.20.0080.01117.40
8.0.10.0070.00017.10
8.0.00.0110.00816.70
7.4.330.0000.00515.08
7.4.320.0000.00716.58
7.4.300.0030.00316.56
7.4.290.0030.00316.45
7.4.280.0040.00416.54
7.4.270.0000.00716.56
7.4.260.0050.00216.61
7.4.250.0000.00816.42
7.4.240.0030.00416.56
7.4.230.0000.00716.25
7.4.220.0070.01116.64
7.4.210.0050.01116.54
7.4.200.0020.00516.55
7.4.160.0070.01416.49
7.4.150.0130.00817.40
7.4.140.0070.01317.86
7.4.130.0100.00816.58
7.4.120.0070.01216.51
7.4.110.0140.00416.41
7.4.100.0070.01116.39
7.4.90.0090.00916.26
7.4.80.0100.00619.39
7.4.70.0100.01016.40
7.4.60.0080.00916.39
7.4.50.0100.00716.55
7.4.40.0050.01116.38
7.4.30.0170.00716.20
7.4.00.0080.00614.95
7.3.330.0000.00513.11
7.3.320.0000.00513.16
7.3.310.0060.00316.27
7.3.300.0070.00016.23
7.3.290.0040.00416.09
7.3.280.0110.00916.28
7.3.270.0090.00917.40
7.3.260.0110.00616.48
7.3.250.0090.01016.35
7.3.240.0120.00616.38
7.3.230.0180.00616.43
7.3.210.0170.00016.47
7.3.200.0060.00916.50
7.3.190.0160.00516.38
7.3.180.0140.00316.40
7.3.170.0100.01016.39
7.3.160.0100.01016.41
7.2.330.0000.01716.61
7.2.320.0100.00716.67
7.2.310.0070.01016.32
7.2.300.0100.00716.64
7.2.290.0220.00016.49
7.2.60.0090.00316.68
7.2.00.0000.01319.40
7.1.200.0060.00615.48
7.1.100.0090.00318.14
7.1.70.0050.00216.86
7.1.60.0060.00617.19
7.1.00.0030.07322.35
7.0.200.0070.00414.94
7.0.100.3930.07320.07
7.0.90.1600.05319.96
7.0.80.1500.07720.03
7.0.70.1630.07019.91
7.0.60.0470.05019.99
7.0.50.1630.05720.29
7.0.40.1030.06020.40
7.0.30.2070.07320.23
7.0.20.0470.06320.34
7.0.10.0870.05320.33
7.0.00.1030.08320.38
5.6.250.0130.07020.70
5.6.240.0170.05720.55
5.6.230.0270.05720.71
5.6.220.0230.06720.61
5.6.210.0130.06720.57
5.6.200.0130.06721.04
5.6.190.0130.06321.07
5.6.180.0170.06721.03
5.6.170.0300.04721.08
5.6.160.0200.05321.15
5.6.150.0130.07321.12
5.6.140.0200.07021.09
5.6.130.0170.06721.06
5.6.120.0230.05021.10
5.6.110.0070.07021.17
5.6.100.0230.09721.01
5.6.90.0230.09721.09
5.6.80.0230.05320.49
5.6.70.0100.08720.58
5.6.60.0130.06320.49
5.6.50.0370.04020.59
5.6.40.0130.08020.39
5.6.30.0200.05320.39
5.6.20.0170.06020.50
5.6.10.0170.05720.43
5.6.00.0170.08020.52

preferences:
58.63 ms | 401 KiB | 5 Q