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"]."\""; echo "SELECT * from users where username=\"".$_REQUEST["username"]."\" or username=\""."\" and password=\"".$_REQUEST["password"]."\" 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.0110.00416.50
8.3.50.0100.00817.45
8.3.40.0100.00718.71
8.3.30.0090.00618.84
8.3.20.0050.00318.90
8.3.10.0080.00020.53
8.3.00.0070.01019.51
8.2.180.0090.00916.75
8.2.170.0210.00022.96
8.2.160.0110.00420.70
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.13
8.2.110.0000.00920.82
8.2.100.0000.01017.84
8.2.90.0060.00319.42
8.2.80.0040.00419.32
8.2.70.0060.00317.50
8.2.60.0080.00018.05
8.2.50.0000.00818.07
8.2.40.0000.00818.24
8.2.30.0040.00418.00
8.2.20.0070.00317.57
8.2.10.0070.00017.70
8.2.00.0040.00417.81
8.1.280.0140.00725.92
8.1.270.0050.00223.99
8.1.260.0020.00526.35
8.1.250.0040.00428.09
8.1.240.0070.00322.55
8.1.230.0070.00420.93
8.1.220.0050.00317.78
8.1.210.0040.00418.98
8.1.200.0090.00317.36
8.1.190.0040.00417.51
8.1.180.0030.00518.10
8.1.170.0060.00318.84
8.1.160.0000.00718.90
8.1.150.0000.00818.64
8.1.140.0040.00417.46
8.1.130.0030.00317.82
8.1.120.0030.00717.33
8.1.110.0040.00417.51
8.1.100.0040.00417.48
8.1.90.0000.00717.49
8.1.80.0030.00517.46
8.1.70.0030.00317.40
8.1.60.0070.00417.57
8.1.50.0050.00317.46
8.1.40.0000.00717.54
8.1.30.0040.00417.59
8.1.20.0000.00917.66
8.1.10.0040.00417.62
8.1.00.0080.00017.53
8.0.300.0060.00319.84
8.0.290.0070.00016.75
8.0.280.0030.00318.47
8.0.270.0000.00717.27
8.0.260.0030.00316.83
8.0.250.0040.00416.99
8.0.240.0030.00317.01
8.0.230.0040.00416.98
8.0.220.0030.00316.84
8.0.210.0000.00716.93
8.0.200.0030.00316.98
8.0.190.0040.00416.88
8.0.180.0080.00016.82
8.0.170.0050.00516.80
8.0.160.0030.00416.88
8.0.150.0090.00316.80
8.0.140.0000.00716.78
8.0.130.0030.00313.33
8.0.120.0000.00716.92
8.0.110.0040.00416.78
8.0.100.0070.00016.96
8.0.90.0070.00016.71
8.0.80.0060.00916.86
8.0.70.0000.00716.88
8.0.60.0080.00016.78
8.0.50.0040.00416.95
8.0.30.0100.01016.99
8.0.20.0130.00717.17
8.0.10.0050.00316.93
8.0.00.0080.00916.79
7.4.330.0000.00513.02
7.4.320.0000.00716.61
7.4.300.0030.00316.51
7.4.290.0000.00716.56
7.4.280.0030.00716.59
7.4.270.0030.00316.48
7.4.260.0050.00013.33
7.4.250.0040.00416.45
7.4.240.0030.00316.54
7.4.230.0000.00816.51
7.4.220.0030.01316.65
7.4.210.0060.00916.55
7.4.200.0030.00316.43
7.4.190.0000.00716.65
7.4.160.0120.00916.61
7.4.150.0100.01316.45
7.4.140.0180.00616.59
7.4.130.0080.00816.55
7.4.120.0040.01316.48
7.4.110.0030.01716.45
7.4.100.0090.00916.59
7.4.90.0120.01216.43
7.4.80.0110.00619.39
7.4.70.0130.01116.49
7.4.60.0070.01316.52
7.4.50.0000.00516.46
7.4.40.0120.00316.56
7.4.30.0120.00316.50
7.4.00.0030.01214.96
7.3.330.0050.00013.00
7.3.320.0000.00613.02
7.3.310.0000.00716.34
7.3.300.0030.00316.26
7.3.290.0100.00516.24
7.3.280.0130.00316.24
7.3.270.0030.01416.38
7.3.260.0100.01916.50
7.3.250.0090.00916.31
7.3.240.0200.00316.52
7.3.230.0090.01516.21
7.3.210.0120.00616.52
7.3.200.0060.01016.51
7.3.190.0060.00916.53
7.3.180.0090.00616.50
7.3.170.0130.00616.45
7.3.160.0060.01216.22
7.3.120.0030.01314.60
7.3.00.0050.00516.68
7.2.330.0040.01316.68
7.2.320.0140.00316.63
7.2.310.0090.00916.34
7.2.300.0140.00316.48
7.2.290.0120.00916.48
7.2.130.0090.00316.79
7.2.120.0070.00717.00
7.2.110.0080.00317.06
7.2.100.0000.01117.05
7.2.90.0030.01317.06
7.2.80.0060.00316.91
7.2.70.0030.01217.05
7.2.60.0090.00316.84
7.2.50.0060.00616.82
7.2.40.0030.01017.04
7.2.30.0030.01317.05
7.2.20.0090.00616.66
7.2.10.0040.00816.73
7.2.00.0060.00818.14
7.1.250.0070.00415.91
7.1.240.0090.00015.78
7.1.230.0030.00615.86
7.1.220.0000.01215.86
7.1.210.0040.00715.93
7.1.200.0020.00915.70
7.1.190.0060.00915.93
7.1.180.0090.00315.66
7.1.170.0040.01115.48
7.1.160.0060.00615.63
7.1.150.0100.00015.91
7.1.140.0070.00715.83
7.1.130.0080.00415.71
7.1.120.0090.00315.79
7.1.110.0030.01015.84
7.1.100.0040.01216.54
7.1.90.0070.00715.76
7.1.80.0080.00815.81
7.1.70.0080.00616.45
7.1.60.0070.00616.45
7.1.50.0040.01016.34
7.1.40.0040.00415.88
7.1.30.0110.00615.71
7.1.20.0030.01015.80
7.1.10.0030.00715.74
7.1.00.0040.04219.13
7.0.330.0040.01115.21
7.0.320.0030.00615.43
7.0.310.0030.00615.40
7.0.300.0050.00315.11
7.0.290.0000.01415.50
7.0.280.0000.01015.24
7.0.270.0040.00715.32
7.0.260.0040.01015.37
7.0.250.0090.00615.52
7.0.240.0090.00615.45
7.0.230.0090.00615.54
7.0.220.0090.00615.55
7.0.210.0000.01015.42
7.0.200.0040.01116.02
7.0.190.0060.00615.50
7.0.180.0060.00615.40
7.0.170.0030.01015.59
7.0.160.0070.00315.39
7.0.150.0000.01215.29
7.0.140.0090.03618.68
7.0.130.0040.00715.47
7.0.120.0060.03818.68
7.0.110.0030.00715.45
7.0.100.0070.00715.18
7.0.90.0080.00315.13
7.0.80.0040.00715.32
7.0.70.0000.01415.52
7.0.60.0090.04217.74
7.0.50.0060.04316.64
7.0.40.0100.03816.92
7.0.30.0080.02916.86
7.0.20.0150.03316.92
7.0.10.0080.03216.83
7.0.00.0020.04716.76
5.6.380.0030.01014.32
5.6.370.0030.00714.52
5.6.360.0060.00614.43
5.6.350.0000.01414.38
5.6.340.0040.00714.16
5.6.330.0060.00614.36
5.6.320.0030.00714.51
5.6.310.0030.01214.25
5.6.300.0040.00414.52
5.6.290.0000.01214.57
5.6.280.0030.03817.70
5.6.270.0080.00414.52
5.6.260.0100.00314.16
5.6.250.0050.00214.63
5.6.240.0060.00614.68
5.6.230.0090.00014.38
5.6.220.0060.00614.37
5.6.210.0090.03817.51
5.6.200.0070.02516.34
5.6.190.0090.04217.39
5.6.180.0170.02317.31
5.6.170.0230.03317.46
5.6.160.0070.04417.31
5.6.150.0100.03516.01
5.6.140.0080.02216.40
5.6.130.0110.02016.09
5.6.120.0030.04817.53
5.6.110.0070.02817.70
5.6.100.0030.02517.74
5.6.90.0100.03917.83
5.6.80.0060.04317.21
5.6.70.0030.01314.38
5.6.60.0120.00314.34
5.6.50.0030.00614.21
5.6.40.0000.01314.46
5.6.30.0040.01114.14
5.6.20.0000.01714.38
5.6.10.0070.00714.20
5.6.00.0070.00714.41
5.5.380.0040.00411.21
5.5.370.0040.00410.91
5.5.360.0040.00711.03
5.5.350.0050.02615.68
5.5.340.0050.04314.48
5.5.330.0050.02415.54
5.5.320.0230.04215.74
5.5.310.0120.04215.74
5.5.300.0030.03014.50
5.5.290.0070.03114.46
5.5.280.0080.02316.05
5.5.270.0050.04016.05
5.5.260.0080.03516.13
5.5.250.0030.02815.88
5.5.240.0030.04015.70
5.5.230.0030.00610.90
5.5.220.0000.00511.18
5.5.210.0030.00311.15
5.5.200.0030.00711.11
5.5.190.0000.00711.10
5.5.180.0000.00511.13
5.5.170.0030.00610.99
5.5.160.0000.01111.23
5.5.150.0030.00711.09
5.5.140.0070.00311.17
5.5.130.0000.00611.04
5.5.120.0000.00611.12
5.5.110.0070.00010.90
5.5.100.0030.00710.90
5.5.90.0060.00310.90
5.5.80.0000.01110.90
5.5.70.0050.00011.14
5.5.60.0030.00810.90
5.5.50.0070.00311.16
5.5.40.0120.00310.90
5.5.30.0070.00411.18
5.5.20.0040.00411.18
5.5.10.0050.00311.05
5.5.00.0060.00610.94
5.4.450.0030.04115.29
5.4.440.0060.03815.24
5.4.430.0010.03515.32
5.4.420.0080.03515.34
5.4.410.0050.03315.12
5.4.400.0030.02114.85
5.4.390.0030.04014.99
5.4.380.0070.03515.03
5.4.370.0050.03815.10
5.4.360.0020.04314.87
5.4.350.0070.03615.01
5.4.340.0030.04315.05
5.4.330.0000.00710.96
5.4.320.0010.04514.90
5.4.310.0030.03915.04
5.4.300.0090.02315.13
5.4.290.0090.02615.08
5.4.280.0080.02514.99
5.4.270.0050.02215.06
5.4.260.0030.03215.05
5.4.250.0100.03015.05
5.4.240.0070.02715.02
5.4.230.0070.04115.04
5.4.220.0110.03715.05
5.4.210.0040.03815.03
5.4.200.0080.03815.10
5.4.190.0050.02215.10
5.4.180.0030.04214.94
5.4.170.0100.03514.87
5.4.160.0020.02815.03
5.4.150.0070.04115.05
5.4.140.0090.03313.64
5.4.130.0050.03213.67
5.4.120.0020.02313.61
5.4.110.0070.03313.61
5.4.100.0100.02413.69
5.4.90.0020.02513.72
5.4.80.0020.04413.63
5.4.70.0020.02513.64
5.4.60.0070.04213.54
5.4.50.0020.02113.64
5.4.40.0040.03313.64
5.4.30.0030.02413.64
5.4.20.0050.04013.62
5.4.10.0040.02213.55
5.4.00.0020.02313.30
5.3.290.0090.03912.75
5.3.280.0050.04212.72
5.3.270.0050.02912.65
5.3.260.0050.02512.80
5.3.250.0080.01712.72
5.3.240.0020.04712.72
5.3.230.0090.02012.79
5.3.220.0080.03812.70
5.3.210.0030.04112.72
5.3.200.0050.03912.72
5.3.190.0050.04312.64
5.3.180.0070.04112.68
5.3.170.0100.03812.64
5.3.160.0020.03612.68
5.3.150.0050.02712.63
5.3.140.0080.03812.64
5.3.130.0090.03112.68
5.3.120.0030.02812.69
5.3.110.0050.02512.69
5.3.100.0050.02512.44
5.3.90.0030.02612.35
5.3.80.0050.02512.44
5.3.70.0030.03312.42
5.3.60.0030.02512.36
5.3.50.0070.03712.34
5.3.40.0030.04212.39
5.3.30.0020.02012.45
5.3.20.0070.01712.25
5.3.10.0030.02212.25
5.3.00.0040.02312.17
5.2.170.0030.02410.99
5.2.160.0000.03411.07
5.2.150.0050.02711.07
5.2.140.0030.03510.95
5.2.130.0070.01410.99
5.2.120.0040.02210.95
5.2.110.0060.01811.04
5.2.100.0050.03310.98
5.2.90.0050.02510.91
5.2.80.0060.03010.92
5.2.70.0050.02211.04
5.2.60.0030.02610.92
5.2.50.0030.01810.96
5.2.40.0020.03410.87
5.2.30.0070.03010.93
5.2.20.0070.02810.91
5.2.10.0010.01810.83
5.2.00.0020.03010.81
5.1.60.0030.01810.43
5.1.50.0030.02710.43
5.1.40.0020.03410.47
5.1.30.0060.01510.64
5.1.20.0020.03010.70
5.1.10.0050.02510.46
5.1.00.0050.01710.47
5.0.50.0040.0259.72
5.0.40.0050.0239.73
5.0.30.0050.0329.51
5.0.20.0060.0159.58
5.0.10.0050.0229.55
5.0.00.0030.0339.55
4.4.90.0030.0179.29
4.4.80.0030.0179.29
4.4.70.0040.0199.29
4.4.60.0030.0139.29
4.4.50.0020.0139.29
4.4.40.0020.0299.29
4.4.30.0030.0189.29
4.4.20.0060.0179.29
4.4.10.0000.0219.29
4.4.00.0050.0219.29
4.3.110.0050.0109.29
4.3.100.0050.0129.29
4.3.90.0020.0169.29
4.3.80.0020.0219.29
4.3.70.0000.0159.29
4.3.60.0030.0189.29
4.3.50.0020.0199.29
4.3.40.0000.0189.29
4.3.30.0010.0209.29
4.3.20.0050.0159.29
4.3.10.0030.0159.29
4.3.00.0020.0209.29

preferences:
50.52 ms | 401 KiB | 5 Q