3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = "Juan Antonio"; $password = "' OR ''='"; $consulta = "SELECT * FROM users WHERE user='mysql_real_escape_string($usuario)' AND password='mysql_real_escape_string($usuario)'"; echo $consulta;

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.0070.00716.49
8.3.50.0070.01018.02
8.3.40.0090.00918.64
8.3.30.0090.00618.84
8.3.20.0000.00921.77
8.3.10.0050.00323.65
8.3.00.0060.00319.56
8.2.180.0180.00318.34
8.2.170.0150.00322.96
8.2.160.0030.01020.18
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0090.00019.29
8.2.120.0080.00026.35
8.2.110.0060.00320.53
8.2.100.0070.00417.84
8.2.90.0040.00417.78
8.2.80.0040.00418.03
8.2.70.0040.00417.93
8.2.60.0080.00018.04
8.2.50.0080.00018.22
8.2.40.0040.00420.47
8.2.30.0040.00419.42
8.2.20.0040.00418.05
8.2.10.0050.00318.11
8.2.00.0070.00017.99
8.1.280.0140.00725.92
8.1.270.0040.00423.71
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00623.75
8.1.230.0000.01120.94
8.1.220.0000.00817.74
8.1.210.0040.00419.00
8.1.200.0080.00017.35
8.1.190.0050.00317.22
8.1.180.0080.00018.10
8.1.170.0040.00418.84
8.1.160.0000.00718.84
8.1.150.0000.00719.00
8.1.140.0050.00217.50
8.1.130.0030.00319.00
8.1.120.0000.00717.39
8.1.110.0040.00417.31
8.1.100.0030.00617.38
8.1.90.0030.00617.39
8.1.80.0000.00917.38
8.1.70.0030.00517.23
8.1.60.0040.00417.54
8.1.50.0030.00617.41
8.1.40.0000.00717.34
8.1.30.0030.00517.56
8.1.20.0000.01117.41
8.1.10.0060.00317.41
8.1.00.0030.00517.45
8.0.300.0000.00819.88
8.0.290.0030.00616.75
8.0.280.0030.00318.43
8.0.270.0030.00317.25
8.0.260.0070.00019.06
8.0.250.0050.00317.06
8.0.240.0000.00717.07
8.0.230.0000.00716.98
8.0.220.0090.00016.96
8.0.210.0040.00416.91
8.0.200.0000.00616.91
8.0.190.0080.00017.06
8.0.180.0000.00816.96
8.0.170.0090.00016.96
8.0.160.0040.00416.85
8.0.150.0000.00716.80
8.0.140.0000.01116.79
8.0.130.0000.00613.41
8.0.120.0050.00416.79
8.0.110.0000.00716.88
8.0.100.0040.00416.90
8.0.90.0000.00716.88
8.0.80.0090.00616.93
8.0.70.0030.00616.80
8.0.60.0050.00216.98
8.0.50.0040.00416.79
8.0.30.0080.01017.11
8.0.20.0130.00817.40
8.0.10.0000.00717.06
8.0.00.0090.00916.83
7.4.330.0000.00515.55
7.4.320.0030.00316.51
7.4.300.0030.00316.29
7.4.290.0070.00016.44
7.4.280.0070.00016.55
7.4.270.0030.00316.39
7.4.260.0030.00316.36
7.4.250.0070.00016.49
7.4.240.0030.00316.43
7.4.230.0030.00316.51
7.4.220.0000.00716.60
7.4.210.0110.00916.53
7.4.200.0050.00216.23
7.4.160.0060.01116.51
7.4.140.0100.00717.86
7.4.130.0060.01116.54
7.4.120.0120.00716.50
7.4.110.0120.00416.57
7.4.100.0100.00516.41
7.4.90.0090.00816.30
7.4.80.0150.00719.39
7.4.70.0100.00616.57
7.4.60.0060.00916.45
7.4.50.0050.00516.68
7.4.40.0120.00616.56
7.4.00.0090.00915.09
7.3.330.0030.00313.16
7.3.320.0050.00013.21
7.3.310.0000.00716.18
7.3.300.0000.00616.37
7.3.290.0070.00016.27
7.3.280.0090.00516.33
7.3.260.0130.00716.28
7.3.240.0060.01016.30
7.3.230.0100.01416.59
7.3.210.0100.00716.27
7.3.200.0070.01016.18
7.3.190.0070.01016.40
7.3.180.0070.01016.66
7.3.170.0130.00316.32
7.3.160.0100.01216.15
7.3.120.0070.01014.56
7.3.110.0030.01514.78
7.3.100.0090.00614.97
7.3.90.0060.00914.99
7.3.80.0060.00914.86
7.3.70.0060.00914.65
7.3.60.0070.01114.52
7.3.50.0060.01214.61
7.3.40.0140.00314.79
7.3.30.0000.01114.64
7.3.20.0100.00316.64
7.3.10.0040.01216.51
7.3.00.0100.00716.55
7.2.330.0130.00316.39
7.2.320.0060.01316.53
7.2.310.0180.00016.61
7.2.300.0060.01016.57
7.2.290.0080.00916.47
7.2.250.0030.01414.98
7.2.240.0100.01014.88
7.2.230.0030.00714.75
7.2.220.0090.00914.94
7.2.210.0030.00814.78
7.2.200.0040.01114.90
7.2.190.0040.00814.81
7.2.180.0070.00714.91
7.2.170.0000.00914.82
7.2.80.0060.00616.48
7.2.60.0070.00316.61
7.2.50.0100.00316.58
7.2.40.0280.01117.60
7.2.30.0420.01017.64
7.2.20.0380.01317.44
7.2.10.0330.01617.54
7.2.00.0310.01517.43
7.1.330.0030.01015.81
7.1.320.0080.00415.57
7.1.310.0030.00815.71
7.1.300.0090.00615.45
7.1.290.0060.01215.36
7.1.280.0000.01315.40
7.1.270.0030.01015.39
7.1.260.0100.00315.48
7.1.200.0110.00315.53
7.1.160.0270.00716.41
7.1.150.0220.01316.57
7.1.140.0410.01016.69
7.1.130.0330.01316.37
7.1.120.0210.01216.27
7.1.110.0240.00716.08
7.1.100.1200.01115.82
7.1.90.0350.01015.83
7.1.80.0440.01216.10
7.1.70.0470.01415.10
7.1.60.0630.01833.05
7.1.50.0530.01532.75
7.1.40.0550.01732.58
7.1.30.0680.02032.64
7.1.20.0620.01432.65
7.1.10.0340.01114.69
7.1.00.0630.02014.64

preferences:
31.62 ms | 400 KiB | 5 Q