3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo mysql_real_escape_string("xxx");

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.4.20.0150.00617.91
8.4.10.0070.00417.57
8.3.140.0150.00016.78
8.3.130.0030.00616.50
8.3.120.0070.00318.89
8.3.110.0080.00016.66
8.3.100.0060.00324.06
8.3.90.0040.00726.77
8.3.80.0040.00419.36
8.3.70.0060.00918.43
8.3.60.0030.01718.55
8.3.50.0090.01121.97
8.3.40.0060.00918.68
8.3.30.0080.00618.92
8.3.20.0000.00720.27
8.3.10.0100.00722.18
8.3.00.0000.00822.52
8.2.260.0050.00316.79
8.2.250.0060.00318.29
8.2.240.0040.00716.89
8.2.230.0050.00520.94
8.2.220.0040.00437.54
8.2.210.0050.00326.77
8.2.200.0030.00718.88
8.2.190.0090.00618.29
8.2.180.0140.00716.75
8.2.170.0110.00318.96
8.2.160.0070.00722.96
8.2.150.0050.00325.66
8.2.140.0030.00724.66
8.2.130.0040.00426.16
8.2.120.0080.00019.24
8.2.110.0060.00322.30
8.2.100.0060.00617.78
8.2.90.0000.00919.12
8.2.80.0050.00317.97
8.2.70.0040.00817.63
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0070.00018.04
8.2.20.0040.00417.67
8.2.10.0000.00817.68
8.2.00.0000.00817.54
8.1.310.0140.00316.41
8.1.300.0040.00420.18
8.1.290.0060.00330.84
8.1.280.0000.01425.92
8.1.270.0050.00322.11
8.1.260.0040.00426.35
8.1.250.0080.00828.09
8.1.240.0040.00423.80
8.1.230.0040.00719.16
8.1.220.0050.00217.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0040.00417.40
8.1.180.0080.00018.10
8.1.170.0030.00618.36
8.1.160.0070.00021.85
8.1.150.0000.00718.51
8.1.140.0020.00517.25
8.1.130.0080.00017.16
8.1.120.0040.00417.32
8.1.110.0000.00817.21
8.1.100.0070.00017.33
8.1.90.0000.00717.34
8.1.80.0000.00817.28
8.1.70.0030.00317.32
8.1.60.0000.00917.43
8.1.50.0030.00617.43
8.1.40.0000.00717.43
8.1.30.0050.00317.53
8.1.20.0030.00617.53
8.1.10.0060.00317.52
8.1.00.0080.00017.45
8.0.300.0040.00418.77
8.0.290.0000.00717.05
8.0.280.0040.00418.30
8.0.270.0070.00017.18
8.0.260.0070.00316.80
8.0.250.0030.00316.98
8.0.240.0000.01016.92
8.0.230.0030.00316.96
8.0.220.0070.00016.91
8.0.210.0030.00416.79
8.0.200.0040.00416.90
8.0.190.0030.00316.91
8.0.180.0050.00316.80
8.0.170.0030.00616.86
8.0.160.0060.00316.76
8.0.150.0030.00316.86
8.0.140.0000.00716.73
8.0.130.0060.00013.27
8.0.120.0000.00816.85
8.0.110.0000.00816.70
8.0.100.0080.00016.85
8.0.90.0040.00416.68
8.0.80.0090.00916.89
8.0.70.0030.00516.82
8.0.60.0000.00716.94
8.0.50.0080.00016.93
8.0.30.0120.00816.84
8.0.20.0110.00817.40
8.0.10.0050.00217.00
8.0.00.0120.00716.66
7.4.330.0050.00015.00
7.4.320.0000.00716.38
7.4.300.0030.00316.53
7.4.290.0070.00016.41
7.4.280.0030.00316.38
7.4.270.0030.00316.53
7.4.260.0070.00016.53
7.4.250.0000.00716.47
7.4.240.0030.00416.52
7.4.230.0030.00316.30
7.4.220.0070.01116.38
7.4.210.0090.00616.39
7.4.200.0000.00716.17
7.4.190.0070.00016.60
7.4.160.0100.00716.48
7.4.150.0150.00417.40
7.4.140.0100.00817.86
7.4.130.0070.01316.56
7.4.120.0070.01016.40
7.4.110.0100.00716.32
7.4.100.0110.00616.49
7.4.90.0120.00616.34
7.4.80.0120.00616.60
7.4.70.0070.01016.43
7.4.60.0090.00916.43
7.4.50.0000.00916.49
7.4.40.0040.00822.77
7.4.30.0080.00716.59
7.4.00.0070.01014.66
7.3.330.0060.00013.23
7.3.320.0000.00513.23
7.3.310.0030.00316.10
7.3.300.0000.00716.23
7.3.290.0110.00416.35
7.3.280.0100.00716.26
7.3.270.0130.00917.40
7.3.260.0090.00916.36
7.3.250.0130.00516.39
7.3.240.0140.00316.31
7.3.230.0100.00716.39
7.3.210.0100.01316.47
7.3.200.0100.01019.39
7.3.190.0100.00716.44
7.3.180.0130.00316.31
7.3.170.0130.00316.34
7.3.160.0130.00616.29
7.3.120.0080.00814.86
7.3.110.0070.01014.79
7.3.100.0090.00014.73
7.3.90.0070.01014.82
7.3.80.0060.00314.95
7.3.70.0030.00614.86
7.3.60.0070.00714.95
7.3.50.0090.00314.72
7.3.40.0060.00314.71
7.3.30.0060.00914.48
7.3.20.0130.00016.64
7.3.10.0060.00316.22
7.3.00.0030.00916.21
7.2.330.0120.00616.47
7.2.320.0070.01016.48
7.2.310.0100.00616.49
7.2.300.0100.00716.30
7.2.290.0040.01216.35
7.2.250.0030.01014.54
7.2.240.0030.01615.14
7.2.230.0030.00614.92
7.2.220.0000.01114.80
7.2.210.0030.00714.88
7.2.200.0070.00714.98
7.2.190.0130.00014.71
7.2.180.0110.00414.97
7.2.170.0050.00514.75
7.2.110.0070.01116.31
7.2.60.0100.00616.82
7.2.00.0060.00619.34
7.1.330.0080.00815.69
7.1.320.0070.00415.71
7.1.310.0040.00715.73
7.1.300.0030.00615.44
7.1.290.0030.00915.61
7.1.280.0040.00815.59
7.1.270.0090.00315.38
7.1.260.0030.01015.52
7.1.200.0090.00615.59
7.1.100.0040.00717.79
7.1.70.0000.00716.68
7.1.60.0000.02019.82
7.1.50.0030.01716.83
7.1.00.0100.06722.32
7.0.200.0110.00016.49
7.0.140.0100.06721.97
7.0.70.0000.04021.70
7.0.60.0100.03321.69
7.0.50.0030.04021.97
7.0.40.0030.07020.04
7.0.30.0030.04020.12
7.0.20.0030.04320.14
7.0.10.0030.04320.13
7.0.00.0030.04319.99
5.6.280.0000.07720.98
5.6.220.0100.05020.66
5.6.210.0030.04020.57
5.6.200.0030.04021.08
5.6.190.0000.04721.17
5.6.180.0000.04721.00
5.6.170.0100.04321.16
5.6.160.0030.04021.09
5.6.150.0000.04321.17
5.6.140.0070.03721.02
5.6.130.0030.05321.10
5.6.120.0000.03720.94
5.6.110.0030.04321.02
5.6.100.0070.03721.05
5.6.90.0030.07021.05
5.6.80.0030.05720.41
5.6.70.0070.07720.40
5.6.60.0030.07020.41
5.6.50.0070.06320.33
5.6.40.0030.08320.46
5.6.30.0130.07020.30
5.6.20.0000.07020.42
5.6.10.0070.07320.39
5.6.00.0070.07720.39
5.5.360.0100.04020.41
5.5.350.0000.04320.37
5.5.340.0000.04320.79
5.5.330.0070.04720.80
5.5.320.0000.04320.79
5.5.310.0070.04020.89
5.5.300.0100.04720.79
5.5.290.0030.04020.88
5.5.280.0070.03720.77
5.5.270.0070.03720.80
5.5.260.0070.03720.73
5.5.250.0030.07720.64
5.5.240.0030.05320.28
5.5.230.0000.06720.10
5.5.220.0030.06320.23
5.5.210.0100.03720.16
5.5.200.0100.07720.23
5.5.190.0030.06320.17
5.5.180.0000.08720.27
5.5.160.0130.03720.18
5.5.150.0100.08020.23
5.5.140.0130.07720.07
5.5.130.0130.05320.28
5.5.120.0070.04020.14
5.5.110.0130.06320.25
5.5.100.0030.08720.05
5.5.90.0130.07720.00
5.5.80.0070.08020.12
5.5.70.0030.08020.14
5.5.60.0030.08020.13
5.5.50.0030.08020.08
5.5.40.0100.08720.09
5.5.30.0070.07020.02
5.5.20.0000.08720.03
5.5.10.0130.07720.02
5.5.00.0000.08719.96
5.4.450.0000.03719.38
5.4.440.0070.03719.45
5.4.430.0030.04319.44
5.4.420.0030.03019.38
5.4.410.0000.05319.44
5.4.400.0000.04719.12
5.4.390.0100.07719.04
5.4.380.0070.07718.79
5.4.370.0070.08019.09
5.4.360.0070.06018.90
5.4.350.0030.05019.07
5.4.340.0000.04318.96
5.4.320.0070.06319.07
5.4.310.0030.08319.06
5.4.300.0070.07719.02
5.4.290.0070.07318.78
5.4.280.0070.05319.05
5.4.270.0070.07719.04
5.4.260.0030.06018.78
5.4.250.0000.08718.97
5.4.240.0000.08019.24
5.4.230.0100.08019.06
5.4.220.0070.05318.96
5.4.210.0070.07318.80
5.4.200.0070.07019.04
5.4.190.0000.08019.04
5.4.180.0170.06318.82
5.4.170.0030.07719.08
5.4.160.0100.07718.92
5.4.150.0030.08319.11
5.4.140.0000.08316.36
5.4.130.0070.06016.32
5.4.120.0170.07016.26
5.4.110.0100.06716.22
5.4.100.0100.06016.42
5.4.90.0070.07316.30
5.4.80.0070.05716.34
5.4.70.0070.07316.29
5.4.60.0100.05316.43
5.4.50.0070.07316.40
5.4.40.0030.08016.33
5.4.30.0100.06716.39
5.4.20.0100.04316.21
5.4.10.0070.07716.41
5.4.00.0070.05015.81
5.3.290.0100.07314.66
5.3.280.0030.07714.60
5.3.270.0070.07714.61
5.3.260.0030.08014.58
5.3.250.0000.06714.59
5.3.240.0000.08314.60
5.3.230.0000.07714.55
5.3.220.0100.06714.54
5.3.210.0030.05314.39
5.3.200.0070.06314.50
5.3.190.0030.08014.47
5.3.180.0030.05714.50
5.3.170.0070.07714.53
5.3.160.0070.06314.41
5.3.150.0030.08314.55
5.3.140.0100.07314.37
5.3.130.0030.07014.42
5.3.120.0070.05314.53
5.3.110.0030.04314.50
5.3.100.0000.08314.00
5.3.90.0000.08013.84
5.3.80.0070.07013.92
5.3.70.0030.06713.96
5.3.60.0070.04313.95
5.3.50.0170.06013.93
5.3.40.0100.07013.89
5.3.30.0070.07013.84
5.3.20.0030.07713.64
5.3.10.0030.07713.42
5.3.00.0000.08013.58
5.2.170.0000.06312.20
5.2.160.0130.03312.20
5.2.150.0000.06712.20
5.2.140.0070.06312.20
5.2.130.0070.04312.20
5.2.120.0000.04012.20
5.2.110.0000.06312.20
5.2.100.0030.04012.20
5.2.90.0000.04012.20
5.2.80.0070.06312.20
5.2.70.0030.06712.20
5.2.60.0030.06012.20
5.2.50.0100.05312.20
5.2.40.0030.04312.20
5.2.30.0070.05712.20
5.2.20.0100.05712.20
5.2.10.0000.05312.20
5.2.00.0030.06012.20
5.1.60.0030.05012.20
5.1.50.0030.04712.20
5.1.40.0000.05712.20
5.1.30.0030.05712.20
5.1.20.0030.05312.20
5.1.10.0000.05712.20
5.1.00.0030.05712.20
5.0.50.0070.04012.20
5.0.40.0000.04012.20
5.0.30.0000.06712.20
5.0.20.0070.04012.20
5.0.10.0030.04312.20
5.0.00.0070.06012.20
4.4.90.0030.03312.20
4.4.80.0030.03312.20
4.4.70.0000.03712.20
4.4.60.0000.02712.20
4.4.50.0030.02712.20
4.4.40.0000.05712.20
4.4.30.0000.03712.20
4.4.20.0000.04012.20
4.4.10.0000.03712.20
4.4.00.0000.05312.20
4.3.110.0030.03312.20
4.3.100.0000.03712.20
4.3.90.0030.03312.20
4.3.80.0030.03312.20
4.3.70.0030.03312.20
4.3.60.0000.03712.20
4.3.50.0030.02712.20
4.3.40.0000.05312.20
4.3.30.0000.04012.20
4.3.20.0000.03712.20
4.3.10.0030.03712.20
4.3.00.0000.03712.20

preferences:
41.51 ms | 406 KiB | 6 Q