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($username)' AND password='mysql_real_escape_string($password)'"; 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.0080.00816.34
8.3.50.0110.00417.86
8.3.40.0150.00018.64
8.3.30.0120.00318.77
8.3.20.0030.00621.77
8.3.10.0040.00423.53
8.3.00.0080.00019.56
8.2.180.0140.00718.29
8.2.170.0110.00322.96
8.2.160.0040.01120.31
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0110.00426.16
8.2.120.0080.00019.77
8.2.110.0030.00622.11
8.2.100.0060.00617.91
8.2.90.0040.00417.84
8.2.80.0040.00418.16
8.2.70.0030.00517.93
8.2.60.0050.00317.77
8.2.50.0000.00718.10
8.2.40.0000.00720.55
8.2.30.0030.00319.29
8.2.20.0000.00718.11
8.2.10.0030.00518.17
8.2.00.0070.00018.14
8.1.280.0140.00025.92
8.1.270.0080.00023.84
8.1.260.0030.00626.35
8.1.250.0000.00728.09
8.1.240.0000.01019.27
8.1.230.0080.00320.73
8.1.220.0030.00517.91
8.1.210.0040.00418.88
8.1.200.0030.00617.23
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0060.00318.61
8.1.160.0000.00718.88
8.1.150.0070.00019.04
8.1.140.0030.00517.54
8.1.130.0030.00318.95
8.1.120.0000.00717.41
8.1.110.0070.00017.41
8.1.100.0030.00617.43
8.1.90.0020.00517.35
8.1.80.0020.00617.35
8.1.70.0050.00317.39
8.1.60.0070.00017.55
8.1.50.0080.00017.47
8.1.40.0040.00417.40
8.1.30.0050.00217.54
8.1.20.0000.01317.57
8.1.10.0060.00317.49
8.1.00.0030.00617.33
8.0.300.0000.00719.89
8.0.290.0070.00016.75
8.0.280.0030.00318.31
8.0.270.0050.00317.13
8.0.260.0000.00819.05
8.0.250.0070.00016.89
8.0.240.0000.00716.97
8.0.230.0000.00716.97
8.0.220.0050.00516.76
8.0.210.0070.00016.89
8.0.200.0030.00316.85
8.0.190.0040.00416.96
8.0.180.0080.00016.75
8.0.170.0000.00816.96
8.0.160.0070.00016.88
8.0.150.0070.00016.71
8.0.140.0030.00616.85
8.0.130.0030.00313.37
8.0.120.0040.00416.76
8.0.110.0040.00416.73
8.0.100.0070.00016.93
8.0.90.0030.00516.88
8.0.80.0100.00716.81
8.0.70.0000.00716.78
8.0.60.0030.00516.86
8.0.50.0050.00216.66
8.0.30.0120.00517.05
8.0.20.0120.01017.40
8.0.10.0040.00417.04
8.0.00.0110.00716.68
7.4.330.0000.00515.55
7.4.320.0040.00416.45
7.4.300.0060.00016.54
7.4.290.0030.00516.50
7.4.280.0030.00516.48
7.4.270.0070.00016.54
7.4.260.0030.00316.53
7.4.250.0000.00816.48
7.4.240.0030.00316.58
7.4.230.0070.00016.32
7.4.220.0040.00416.63
7.4.210.0100.00716.40
7.4.200.0030.00316.57
7.4.160.0070.01016.50
7.4.140.0070.01217.86
7.4.130.0130.00316.59
7.4.120.0080.00916.40
7.4.110.0100.00716.48
7.4.100.0120.00616.54
7.4.90.0160.00316.46
7.4.80.0040.01419.39
7.4.70.0070.01016.60
7.4.60.0100.00616.54
7.4.50.0070.00716.48
7.4.40.0030.01316.57
7.4.00.0060.00915.07
7.3.330.0000.00513.02
7.3.320.0000.00513.12
7.3.310.0030.00316.09
7.3.300.0030.00316.28
7.3.290.0000.00716.27
7.3.280.0040.01216.29
7.3.260.0120.00616.28
7.3.240.0110.00616.30
7.3.230.0100.00716.17
7.3.210.0030.01316.34
7.3.200.0100.00716.48
7.3.190.0110.00516.30
7.3.180.0040.01216.29
7.3.170.0040.01216.41
7.3.160.0140.00816.43
7.3.120.0120.00614.73
7.3.110.0060.00914.70
7.3.100.0040.01214.55
7.3.90.0060.00614.68
7.3.80.0060.00614.83
7.3.70.0060.00614.53
7.3.60.0030.00714.65
7.3.50.0040.00914.78
7.3.40.0070.00714.57
7.3.30.0060.00614.76
7.3.20.0070.00716.77
7.3.10.0080.00416.47
7.3.00.0100.00316.61
7.2.330.0150.00316.29
7.2.320.0070.01016.29
7.2.310.0190.00316.54
7.2.300.0060.00916.57
7.2.290.0170.00616.33
7.2.240.0040.01115.07
7.2.230.0070.00714.75
7.2.220.0060.00614.65
7.2.210.0060.01014.82
7.2.200.0080.00315.05
7.2.190.0060.00914.82
7.2.180.0060.01015.02
7.2.170.0060.00914.84
7.2.160.0060.00614.88
7.2.150.0070.00716.84
7.2.140.0030.01416.68
7.2.130.0110.00316.63
7.2.120.0030.01016.80
7.2.110.0030.00916.59
7.2.100.0030.01316.80
7.2.90.0040.01116.38
7.2.80.0040.01116.25
7.2.70.0060.00916.84
7.2.60.0060.00716.79
7.2.50.0000.01316.81
7.2.40.0230.01317.17
7.2.30.0250.00517.11
7.2.20.0230.01317.12
7.2.10.0190.01017.36
7.2.00.0240.00717.23
7.1.330.0090.00615.55
7.1.320.0030.01015.78
7.1.310.0040.00915.74
7.1.300.0050.00515.48
7.1.290.0000.01215.79
7.1.280.0140.00015.59
7.1.270.0090.00615.70
7.1.260.0070.00315.50
7.1.250.0040.01115.68
7.1.200.0070.00415.44
7.1.160.0260.00816.15
7.1.150.0340.01416.56
7.1.140.0430.01416.67
7.1.130.0320.01016.81
7.1.120.0250.00916.56
7.1.110.0390.01215.99
7.1.100.0380.01516.02
7.1.90.0350.01615.79
7.1.80.0420.00716.15
7.1.70.0400.00814.87
7.1.60.0610.01732.84
7.1.50.0640.01532.75
7.1.40.0620.01332.52
7.1.30.1210.01232.68
7.1.20.0400.01632.41
7.1.10.0280.00714.55
7.1.00.0310.01014.86

preferences:
61.91 ms | 400 KiB | 5 Q