3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo mysql_real_escape_string("http://forum.xda-developers.com/showthread.php?t=3034811");

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.0100.00716.49
8.3.50.0100.00617.86
8.3.40.0120.00318.71
8.3.30.0110.00418.72
8.3.20.0050.00220.17
8.3.10.0050.00323.52
8.3.00.0040.00419.79
8.2.180.0070.00725.92
8.2.170.0070.00718.94
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0050.00319.24
8.2.120.0030.00526.35
8.2.110.0000.00922.18
8.2.100.0080.00617.91
8.2.90.0050.00517.63
8.2.80.0060.00318.73
8.2.70.0000.00817.80
8.2.60.0040.00417.63
8.2.50.0050.00317.80
8.2.40.0050.00219.17
8.2.30.0040.00420.50
8.2.20.0050.00317.59
8.2.10.0030.00417.91
8.2.00.0080.00018.03
8.1.280.0070.01025.92
8.1.270.0040.00424.66
8.1.260.0030.00628.09
8.1.250.0030.01028.09
8.1.240.0090.00022.34
8.1.230.0070.00419.14
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0080.00017.34
8.1.190.0000.00817.35
8.1.180.0040.00918.10
8.1.170.0040.00417.62
8.1.160.0040.00420.58
8.1.150.0040.00418.65
8.1.140.0050.00319.34
8.1.130.0030.00317.56
8.1.120.0040.00417.34
8.1.110.0040.00417.36
8.1.100.0040.00417.20
8.1.90.0030.00617.32
8.1.80.0000.00817.36
8.1.70.0000.00717.19
8.1.60.0050.00317.43
8.1.50.0030.00517.35
8.1.40.0000.00817.41
8.1.30.0000.00817.64
8.1.20.0050.00317.50
8.1.10.0000.00717.54
8.1.00.0070.00017.45
8.0.300.0060.00321.55
8.0.290.0030.00616.63
8.0.280.0030.00318.42
8.0.270.0070.00017.20
8.0.260.0030.00317.06
8.0.250.0030.00316.96
8.0.240.0000.00716.88
8.0.230.0070.00016.81
8.0.220.0050.00316.88
8.0.210.0040.00416.93
8.0.200.0030.00316.91
8.0.190.0040.00416.83
8.0.180.0000.00716.92
8.0.170.0030.00616.91
8.0.160.0030.00316.87
8.0.150.0040.00416.81
8.0.140.0070.00016.89
8.0.130.0000.00613.27
8.0.120.0040.00416.74
8.0.110.0000.00716.86
8.0.100.0040.00416.68
8.0.90.0070.00016.69
8.0.80.0070.00716.84
8.0.70.0080.00016.93
8.0.60.0040.00416.93
8.0.50.0060.00316.86
8.0.30.0120.00816.94
8.0.20.0090.01017.40
8.0.10.0080.00016.97
8.0.00.0130.00716.56
7.4.330.0050.00016.84
7.4.320.0060.00016.46
7.4.300.0000.00616.50
7.4.290.0070.00016.32
7.4.280.0070.00016.53
7.4.270.0070.00016.36
7.4.260.0040.00416.50
7.4.250.0070.00016.50
7.4.240.0040.00416.46
7.4.230.0000.00716.34
7.4.220.0130.00916.44
7.4.210.0100.00416.56
7.4.200.0050.00216.43
7.4.160.0090.00616.39
7.4.150.0070.01117.40
7.4.140.0090.01517.86
7.4.130.0080.00816.52
7.4.120.0090.01116.29
7.4.110.0130.00316.40
7.4.100.0060.01216.55
7.4.90.0080.01116.45
7.4.80.0060.01219.39
7.4.70.0140.00316.59
7.4.60.0100.00716.65
7.4.50.0080.00316.38
7.4.40.0100.00716.42
7.4.30.0070.01016.46
7.4.00.0060.00615.23
7.3.330.0050.00013.13
7.3.320.0060.00013.14
7.3.310.0050.00216.24
7.3.300.0030.00316.24
7.3.290.0100.00716.25
7.3.280.0100.00916.24
7.3.270.0100.01317.40
7.3.260.0130.00616.25
7.3.250.0090.00916.30
7.3.240.0060.01116.31
7.3.230.0100.00716.51
7.3.210.0090.00716.57
7.3.200.0140.00716.41
7.3.190.0120.00316.27
7.3.180.0080.00816.36
7.3.170.0140.00316.54
7.3.160.0100.00716.28
7.2.330.0060.01116.29
7.2.320.0110.01016.43
7.2.310.0100.00616.25
7.2.300.0100.01016.40
7.2.290.0140.00416.67
7.2.60.0000.01416.63
7.2.00.0090.00619.20
7.1.200.0130.00315.31
7.1.100.0060.00618.01
7.1.70.0030.00316.80
7.1.60.0100.01319.52
7.1.50.0060.01516.86
7.1.00.0000.07722.54
7.0.200.0000.01016.39
7.0.60.0130.06720.00
7.0.50.0030.06317.84
7.0.40.0130.04720.30
7.0.30.0200.05319.99
7.0.20.0270.07020.17
7.0.10.0070.04020.03
7.0.00.0070.04320.30
5.6.280.0030.03320.88
5.6.210.0100.07720.53
5.6.200.0130.07318.12
5.6.190.0170.07320.41
5.6.180.0100.04720.60
5.6.170.0300.08020.41
5.6.160.0030.04020.52
5.6.150.0070.04718.14
5.6.140.0070.05318.14
5.6.130.0030.06318.07
5.6.120.0030.04321.00
5.6.110.0070.08020.97
5.6.100.0100.07320.98
5.6.90.0100.08021.03
5.6.80.0070.07720.46
5.5.350.0270.07720.42
5.5.340.0100.07717.98
5.5.330.0030.06720.23
5.5.320.0430.06320.29
5.5.310.0200.03720.34
5.5.300.0070.08718.02
5.5.290.0130.07718.00
5.5.280.0070.04020.64
5.5.270.0130.04320.64
5.5.260.0130.05320.86
5.5.250.0130.06020.75
5.5.240.4200.04020.18

preferences:
40.21 ms | 400 KiB | 5 Q