3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo mysqli_real_escape_string("SELECT _%asdf from user where user=_");

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.0090.00916.63
8.3.50.0040.01417.81
8.3.40.0100.00718.80
8.3.30.0100.00318.72
8.3.20.0070.00020.35
8.3.10.0080.00021.82
8.3.00.0030.00617.38
8.2.180.0070.00718.54
8.2.170.0070.00722.96
8.2.160.0140.00022.24
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0080.00017.50
8.2.110.0000.01021.02
8.2.100.0040.00817.72
8.2.90.0040.00419.23
8.2.80.0030.00517.97
8.2.70.0060.00317.38
8.2.60.0000.00817.93
8.2.50.0030.00518.07
8.2.40.0000.00719.34
8.2.30.0040.00420.71
8.2.20.0080.00017.59
8.2.10.0040.00417.86
8.2.00.0040.00417.86
8.1.280.0130.00325.92
8.1.270.0080.00023.84
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0100.00021.30
8.1.230.0040.00817.42
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0060.00617.00
8.1.180.0050.00218.10
8.1.170.0050.00219.02
8.1.160.0040.00421.86
8.1.150.0070.00018.79
8.1.140.0090.00019.50
8.1.130.0000.00717.44
8.1.120.0000.00717.21
8.1.110.0000.00717.39
8.1.100.0000.00817.27
8.1.90.0000.00717.34
8.1.80.0040.00417.31
8.1.70.0000.00717.22
8.1.60.0040.00417.42
8.1.50.0040.00417.43
8.1.40.0050.00317.46
8.1.30.0000.00817.55
8.1.20.0060.00317.51
8.1.10.0020.00517.55
8.1.00.0090.00017.45
8.0.300.0070.00018.77
8.0.290.0060.00316.63
8.0.280.0000.00718.42
8.0.270.0000.00717.10
8.0.260.0030.00317.09
8.0.250.0000.00716.83
8.0.240.0030.00316.77
8.0.230.0000.00716.93
8.0.220.0030.00316.85
8.0.210.0000.00716.89
8.0.200.0030.00316.87
8.0.190.0000.00716.94
8.0.180.0070.00016.98
8.0.170.0030.00516.78
8.0.160.0000.00716.86
8.0.150.0000.00716.75
8.0.140.0070.00016.79
8.0.130.0000.00613.27
8.0.120.0050.00216.75
8.0.110.0000.00916.83
8.0.100.0030.00316.70
8.0.90.0070.00016.82
8.0.80.0110.00416.77
8.0.70.0040.00416.94
8.0.60.0040.00416.79
8.0.50.0050.00216.94
8.0.30.0080.01316.92
8.0.20.0130.00617.40
8.0.10.0050.00316.91
8.0.00.0150.00316.78
7.4.330.0030.00315.08
7.4.320.0030.00316.46
7.4.300.0000.00716.36
7.4.290.0030.00316.33
7.4.280.0040.00416.35
7.4.270.0070.00016.47
7.4.260.0070.00016.34
7.4.250.0070.00016.41
7.4.240.0030.00516.54
7.4.230.0000.00716.59
7.4.220.0130.00616.27
7.4.210.0050.01216.47
7.4.200.0000.00816.55
7.4.160.0110.00416.34
7.4.150.0100.00717.40
7.4.140.0130.00617.86
7.4.130.0180.00416.40
7.4.120.0080.01016.54
7.4.110.0120.01216.53
7.4.100.0120.01216.45
7.4.90.0130.00616.47
7.4.80.0030.01319.39
7.4.70.0090.01116.47
7.4.60.0100.00616.31
7.4.50.0050.00316.35
7.4.40.0100.00616.24
7.4.30.0070.01416.33
7.4.00.0070.00714.69
7.3.330.0000.00512.94
7.3.320.0000.00513.11
7.3.310.0070.00016.09
7.3.300.0070.00016.20
7.3.290.0000.00616.29
7.3.280.0100.00516.26
7.3.270.0120.00617.40
7.3.260.0170.00516.50
7.3.240.0110.00916.23
7.3.230.0090.00916.43
7.3.210.0000.01516.32
7.3.200.0100.00616.33
7.3.190.0220.02516.18
7.3.180.0070.01416.28
7.3.170.0070.01016.27
7.3.160.0090.00616.53
7.2.330.0130.00916.52
7.2.320.0030.01416.25
7.2.310.0150.00316.14
7.2.300.0110.01116.31
7.2.290.0130.00316.24
7.2.60.0060.00916.74
7.2.00.0100.00319.02
7.1.200.0000.01015.63
7.1.100.0000.01217.75
7.1.70.0000.00716.73
7.1.60.0100.01319.43
7.1.50.0070.00316.76
7.1.00.0100.06722.48
7.0.200.0040.00814.45
7.0.100.0070.05319.89
7.0.90.0330.08319.87
7.0.80.0070.08319.91
7.0.70.0070.08019.91
7.0.60.0230.07019.91
7.0.50.0030.06720.25
7.0.40.0030.08020.03
7.0.30.0070.05020.05
7.0.20.0100.08720.11
7.0.10.0230.06720.10
7.0.00.0130.08020.13
5.6.250.0100.07020.59
5.6.240.0070.08720.67
5.6.230.0070.04320.62
5.6.220.0170.07020.73
5.6.210.0030.08020.61
5.6.200.0130.07720.89
5.6.190.0100.05021.03
5.6.180.0130.08021.00
5.6.170.0070.09021.17
5.6.160.0130.07721.01
5.6.150.0200.07021.01
5.6.140.0070.05720.95
5.6.130.0070.08321.00
5.6.120.0100.04321.03
5.6.110.0100.08021.01
5.6.100.0200.07021.07
5.6.90.0030.04721.00
5.6.80.0070.07720.56
5.6.70.0070.08320.43
5.6.60.0130.07320.38
5.6.50.0070.08020.34
5.6.40.0130.07720.41
5.6.30.0030.08020.38
5.6.20.0100.06320.31
5.6.10.0130.07020.43
5.6.00.0070.08020.35
5.5.380.0070.04720.35
5.5.370.0100.06720.38
5.5.360.0030.08720.55
5.5.350.0170.07720.45
5.5.340.0100.08320.92
5.5.330.0030.07020.83
5.5.320.0170.06320.89
5.5.310.0070.08020.75
5.5.300.0100.07020.75
5.5.290.0070.08720.92
5.5.280.0200.07320.82
5.5.270.0100.05720.82
5.5.260.0070.06320.82
5.5.250.0070.06720.60
5.5.240.0070.07020.26
5.5.230.0100.08720.30
5.5.220.0070.07020.17
5.5.210.0070.07720.31
5.5.200.0070.08020.18
5.5.190.0000.08719.99
5.5.180.0100.07020.17
5.5.160.0100.07320.18
5.5.150.0070.07720.16
5.5.140.0030.08020.27
5.5.130.0070.08020.25
5.5.120.0130.08020.18
5.5.110.0100.06720.25
5.5.100.0100.04320.10
5.5.90.0130.06320.01
5.5.80.0000.08020.00
5.5.70.0100.04020.09
5.5.60.0070.07020.15
5.5.50.0070.05319.95
5.5.40.0070.04719.99
5.5.30.0130.07320.04
5.5.20.0070.08019.99
5.5.10.0100.07320.03
5.5.00.0070.07720.07
5.4.450.0100.07719.14
5.4.440.0100.08019.36
5.4.430.0030.06319.40
5.4.420.0130.07019.37
5.4.410.0030.07719.14
5.4.400.0130.03719.08
5.4.390.0170.04319.07
5.4.380.0100.05019.25
5.4.370.0070.07019.05
5.4.360.0070.08019.05
5.4.350.0100.06719.13
5.4.340.0130.07019.23
5.4.320.0130.06319.00
5.4.310.0100.03719.23
5.4.300.0070.07019.10
5.4.290.0130.06319.07
5.4.280.0100.07318.81
5.4.270.0130.06018.90
5.4.260.0000.07018.89
5.4.250.0100.07319.06
5.4.240.0100.07019.13
5.4.230.0000.08019.11
5.4.220.0100.07019.02
5.4.210.0130.03319.06
5.4.200.0100.07719.12
5.4.190.0070.04718.80
5.4.180.0130.06019.11
5.4.170.0100.07319.07
5.4.160.0070.06319.11
5.4.150.0000.08019.04
5.4.140.0070.07716.26
5.4.130.0100.03716.34
5.4.120.0100.06316.34
5.4.110.0070.07016.33
5.4.100.0030.03716.21
5.4.90.0070.07316.26
5.4.80.0030.07316.42
5.4.70.0070.07016.42
5.4.60.0100.03716.21
5.4.50.0100.07016.38
5.4.40.0130.06716.25
5.4.30.0070.06316.42
5.4.20.0070.05016.18
5.4.10.0070.07016.28
5.4.00.0000.07715.81

preferences:
46.85 ms | 400 KiB | 5 Q