3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_REQUEST=array(); $_REQUEST["username"]=""; $_REQUEST["password"]=""; echo "SELECT * from users where username=\"".$_REQUEST["username"]."\" and password=\"".$_REQUEST["password"]."\""; ?>

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.0030.01416.50
8.3.50.0050.01716.59
8.3.40.0110.00418.64
8.3.30.0090.00918.54
8.3.20.0040.00418.80
8.3.10.0060.00320.65
8.3.00.0050.00319.25
8.2.180.0150.00016.63
8.2.170.0110.00422.96
8.2.160.0130.00321.07
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0110.00320.83
8.2.110.0000.01021.00
8.2.100.0070.00417.91
8.2.90.0040.00421.07
8.2.80.0000.00719.41
8.2.70.0030.00517.49
8.2.60.0040.00418.03
8.2.50.0050.00318.07
8.2.40.0090.00318.28
8.2.30.0030.00718.12
8.2.20.0040.00417.57
8.2.10.0000.00717.60
8.2.00.0080.00017.77
8.1.280.0080.00825.92
8.1.270.0040.00424.66
8.1.260.0110.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00720.72
8.1.230.0070.00320.88
8.1.220.0000.00817.76
8.1.210.0000.00918.77
8.1.200.0030.00617.24
8.1.190.0070.00017.52
8.1.180.0050.00318.10
8.1.170.0060.00318.70
8.1.160.0040.00418.88
8.1.150.0000.00818.70
8.1.140.0040.00417.45
8.1.130.0070.00017.78
8.1.120.0040.00417.37
8.1.110.0030.00517.37
8.1.100.0080.00017.36
8.1.90.0030.00617.43
8.1.80.0040.00417.47
8.1.70.0000.00617.38
8.1.60.0030.00617.46
8.1.50.0050.00217.46
8.1.40.0060.00317.52
8.1.30.0060.00317.65
8.1.20.0040.00417.54
8.1.10.0000.00817.44
8.1.00.0090.00017.53
8.0.300.0040.00419.86
8.0.290.0040.00416.63
8.0.280.0030.00318.46
8.0.270.0030.00317.26
8.0.260.0040.00416.81
8.0.250.0040.00716.90
8.0.240.0040.00716.94
8.0.230.0040.00416.80
8.0.220.0000.00716.93
8.0.210.0040.00416.80
8.0.200.0060.00016.94
8.0.190.0040.00416.90
8.0.180.0000.00716.82
8.0.170.0040.00416.75
8.0.160.0000.00716.88
8.0.150.0000.00816.81
8.0.140.0070.00016.71
8.0.130.0030.00313.32
8.0.120.0000.00716.76
8.0.110.0000.00716.88
8.0.100.0070.00016.93
8.0.90.0050.00316.93
8.0.80.0070.00816.96
8.0.70.0040.00416.92
8.0.60.0040.00416.94
8.0.50.0000.00716.77
8.0.30.0070.01517.10
8.0.20.0130.01017.05
8.0.10.0000.00816.88
8.0.00.0100.00916.80
7.4.330.0030.00212.98
7.4.320.0060.00016.50
7.4.300.0000.00716.60
7.4.290.0000.00716.51
7.4.280.0000.00716.51
7.4.270.0070.00016.59
7.4.260.0060.00013.27
7.4.250.0030.00616.57
7.4.240.0020.00516.48
7.4.230.0000.00716.67
7.4.220.0030.01316.62
7.4.210.0050.00916.54
7.4.200.0040.00416.29
7.4.190.0030.00316.45
7.4.160.0100.00616.56
7.4.150.0180.00616.45
7.4.140.0130.00716.52
7.4.130.0120.00916.42
7.4.120.0120.00516.41
7.4.110.0140.00316.37
7.4.100.0100.00716.27
7.4.90.0070.01016.46
7.4.80.0100.00719.39
7.4.70.0030.01616.34
7.4.60.0130.00316.51
7.4.50.0060.00616.65
7.4.40.0030.01416.54
7.4.30.0170.00016.64
7.4.00.0030.01014.96
7.3.330.0000.00713.19
7.3.320.0030.00313.19
7.3.310.0000.00716.26
7.3.300.0000.00616.27
7.3.290.0070.00816.23
7.3.280.0090.00916.26
7.3.270.0150.00916.26
7.3.260.0120.00916.26
7.3.250.0130.00716.32
7.3.240.0130.00616.50
7.3.230.0030.01616.49
7.3.210.0080.00816.42
7.3.200.0060.01316.31
7.3.190.0040.01116.36
7.3.180.0180.00316.29
7.3.170.0060.01216.59
7.3.160.0030.01316.51
7.3.120.0030.01214.63
7.3.10.0130.00016.52
7.3.00.0030.00616.61
7.2.330.0100.01016.34
7.2.320.0100.00716.66
7.2.310.0110.00716.76
7.2.300.0090.01216.76
7.2.290.0060.01216.77
7.2.130.0030.00616.93
7.2.120.0090.00916.74
7.2.110.0070.00416.74
7.2.100.0120.00316.83
7.2.90.0140.00416.70
7.2.80.0040.00616.72
7.2.70.0030.01016.75
7.2.60.0060.01116.71
7.2.50.0050.00716.88
7.2.40.0060.01317.00
7.2.30.0060.00916.77
7.2.20.0070.01116.89
7.2.10.0060.00616.94
7.2.00.0000.01018.08
7.1.250.0070.00315.78
7.1.200.0070.00715.93
7.1.100.0060.00617.69
7.1.70.0060.00616.73
7.1.60.0070.01719.40
7.1.50.0040.01816.96
7.1.00.0030.03322.40
7.0.200.0000.00816.76
7.0.140.0030.07321.92
7.0.120.0000.07722.16
7.0.60.0100.06019.85
7.0.50.0070.08017.80
7.0.40.0070.04319.90
7.0.30.0530.07020.13
7.0.20.0200.05320.04
7.0.10.0070.06320.18
7.0.00.0130.05720.00
5.6.280.0070.06720.80
5.6.210.0000.04320.68
5.6.200.0130.07318.20
5.6.190.0070.05320.60
5.6.180.0270.04020.59
5.6.170.0300.07320.52
5.6.160.0100.08320.54
5.6.150.0030.04018.12
5.6.140.0030.04718.09
5.6.130.0170.03718.09
5.6.120.0100.08320.97
5.6.110.0100.08020.98
5.6.100.0170.06721.07
5.6.90.0000.04320.93
5.6.80.0070.03720.36
5.6.70.2900.03720.38
5.5.350.0130.07720.29
5.5.340.0100.06318.02
5.5.330.0030.04320.40
5.5.320.0100.08720.30
5.5.310.0370.06020.23
5.5.300.0030.04318.00
5.5.290.0170.06718.00
5.5.280.0170.05320.87
5.5.270.0070.08720.63
5.5.260.0100.08720.80
5.5.250.0130.07020.55
5.5.240.0200.06720.14
5.4.450.0000.04019.14
5.4.440.0000.04719.50
5.4.430.0070.03319.46
5.4.420.0030.04019.32
5.4.410.0070.03319.34
5.4.400.0100.03019.09
5.4.390.0070.05719.12
5.4.380.0100.04018.91
5.4.370.0070.07318.80
5.4.360.0230.05719.08
5.4.350.0030.08319.08
5.4.340.0070.07718.93
5.4.320.0030.05019.19
5.4.310.0070.07719.14
5.4.300.0070.07719.00
5.4.290.0000.06019.11
5.4.280.0100.08019.12
5.4.270.0070.04319.17
5.4.260.0130.04319.00
5.4.250.0030.04719.17
5.4.240.0070.05718.87
5.4.230.0030.06319.15
5.4.220.0000.05319.00
5.4.210.0070.07718.78
5.4.200.0130.04018.99
5.4.190.0100.04718.90
5.4.180.0070.05318.80
5.4.170.0030.06018.77
5.4.160.0070.04319.12
5.4.150.0100.07318.79
5.4.140.0070.07316.29
5.4.130.0030.06316.36
5.4.120.0100.03316.29
5.4.110.0030.07716.40
5.4.100.0100.06016.27
5.4.90.0070.04316.40
5.4.80.0100.07716.38
5.4.70.0170.07016.13
5.4.60.0070.07316.22
5.4.50.0030.07016.58
5.4.40.0100.06316.32
5.4.30.0070.04316.38
5.4.20.0030.04316.32
5.4.10.0100.03716.30
5.4.00.0130.06015.61
5.3.290.0100.05714.60
5.3.280.0130.07014.54
5.3.270.0230.05014.54
5.3.260.0130.07014.53
5.3.250.0070.06314.69
5.3.240.0030.05714.55
5.3.230.0070.05314.52
5.3.220.0070.04314.58
5.3.210.0130.07014.40
5.3.200.0100.07014.48
5.3.190.0170.06014.35
5.3.180.0100.07014.52
5.3.170.0100.06314.48
5.3.160.0070.07714.50
5.3.150.0000.05014.50
5.3.140.0000.04714.48
5.3.130.0070.07714.50
5.3.120.0000.08714.63
5.3.110.0030.04714.46
5.3.100.0000.07013.96
5.3.90.0070.04313.94
5.3.80.0070.06013.94
5.3.70.0030.06314.11
5.3.60.0070.03313.93
5.3.50.0130.06713.92
5.3.40.0130.06313.88
5.3.30.0000.04013.83
5.3.20.0070.06313.65
5.3.10.0100.05013.63
5.3.00.0070.07713.56
5.2.170.0000.04311.13
5.2.160.0030.03011.05
5.2.150.0030.03010.97
5.2.140.0070.04311.07
5.2.130.0100.04311.27
5.2.120.0100.05710.93
5.2.110.0100.03711.02
5.2.100.0030.05711.07
5.2.90.0070.04011.18
5.2.80.0030.06710.95
5.2.70.0030.03310.93
5.2.60.0000.04711.05
5.2.50.0000.03310.91
5.2.40.0030.04310.98
5.2.30.0030.04310.79
5.2.20.0130.05310.89
5.2.10.0100.05310.85
5.2.00.0030.03310.74
5.1.60.0030.0539.95
5.1.50.0100.04710.05
5.1.40.0130.0439.87
5.1.30.0100.04710.22
5.1.20.0030.04010.40
5.1.10.0030.05010.21
5.1.00.0070.0379.97
5.0.50.0030.0478.52
5.0.40.0030.0378.48
5.0.30.0000.0678.06
5.0.20.0030.0378.26
5.0.10.0100.0238.18
5.0.00.0070.0638.16
4.4.90.0070.0308.04
4.4.80.0070.0338.04
4.4.70.0000.0378.04
4.4.60.0030.0238.04
4.4.50.0070.0238.04
4.4.40.0070.0338.04
4.4.30.0030.0308.04
4.4.20.0000.0378.04
4.4.10.0070.0238.04
4.4.00.0000.0478.04
4.3.110.0030.0338.04
4.3.100.0030.0378.04
4.3.90.0000.0308.04
4.3.80.0000.0578.04
4.3.70.0030.0338.04
4.3.60.0030.0278.04
4.3.50.0030.0208.04
4.3.40.0000.0308.04
4.3.30.0000.0208.04
4.3.20.0000.0378.04
4.3.10.0000.0378.04
4.3.00.0030.0238.04

preferences:
37.42 ms | 401 KiB | 5 Q