3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fucker = "asd"; $test = mysql_real_escape_string($fucker); print $test; ?>

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.0160.00617.68
8.4.10.0090.00619.72
8.3.140.0090.00916.75
8.3.130.0000.00818.46
8.3.120.0000.01520.68
8.3.110.0060.00316.84
8.3.100.0070.00724.06
8.3.90.0040.00426.77
8.3.80.0060.00316.63
8.3.70.0140.00416.50
8.3.60.0070.00718.43
8.3.50.0100.00817.37
8.3.40.0150.00018.55
8.3.30.0040.01118.73
8.3.20.0060.00320.04
8.3.10.0150.00021.02
8.3.00.0040.00419.05
8.2.260.0040.00416.60
8.2.250.0040.00418.55
8.2.240.0120.00417.26
8.2.230.0080.00020.94
8.2.220.0060.00337.54
8.2.210.0030.00526.77
8.2.200.0090.00018.41
8.2.190.0170.00316.63
8.2.180.0130.00616.50
8.2.170.0100.00322.96
8.2.160.0070.00722.12
8.2.150.0000.01424.18
8.2.140.0080.00024.66
8.2.130.0040.00419.26
8.2.120.0070.00026.35
8.2.110.0030.00620.92
8.2.100.0080.00417.78
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0040.00418.04
8.2.30.0030.00618.00
8.2.20.0000.00717.80
8.2.10.0070.00017.93
8.2.00.0050.00317.92
8.1.310.0090.00016.55
8.1.300.0060.00318.53
8.1.290.0060.00330.84
8.1.280.0140.00325.92
8.1.270.0070.00722.05
8.1.260.0000.01426.35
8.1.250.0040.00428.09
8.1.240.0100.00319.52
8.1.230.0030.01017.60
8.1.220.0050.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00517.36
8.1.190.0000.00817.10
8.1.180.0050.00318.10
8.1.170.0070.00318.30
8.1.160.0000.00918.73
8.1.150.0000.00818.88
8.1.140.0070.00019.38
8.1.130.0040.00418.82
8.1.120.0000.00717.39
8.1.110.0000.00717.29
8.1.100.0000.00817.38
8.1.90.0000.00817.38
8.1.80.0000.00717.41
8.1.70.0030.00317.36
8.1.60.0000.00817.54
8.1.50.0080.00017.41
8.1.40.0030.00517.31
8.1.30.0040.00417.62
8.1.20.0030.00617.57
8.1.10.0000.00717.55
8.1.00.0040.00417.35
8.0.300.0070.00018.77
8.0.290.0070.00016.75
8.0.280.0050.00318.35
8.0.270.0000.00717.05
8.0.260.0000.00719.00
8.0.250.0060.00016.93
8.0.240.0000.00716.94
8.0.230.0040.00416.89
8.0.220.0030.00316.94
8.0.210.0030.00316.91
8.0.200.0030.00316.93
8.0.190.0030.00516.81
8.0.180.0000.00716.79
8.0.170.0000.00716.89
8.0.160.0040.00416.88
8.0.150.0000.00716.89
8.0.140.0020.00516.83
8.0.130.0050.00013.27
8.0.120.0000.00716.76
8.0.110.0030.00516.70
8.0.100.0000.00716.76
8.0.90.0000.00716.99
8.0.80.0060.00916.77
8.0.70.0040.00416.70
8.0.60.0000.00716.90
8.0.50.0050.00316.84
8.0.30.0130.00517.00
8.0.20.0110.01517.40
8.0.10.0050.00216.99
8.0.00.0070.01016.60
7.4.330.0050.00015.55
7.4.320.0000.00616.45
7.4.300.0070.00016.48
7.4.290.0030.00316.50
7.4.280.0070.00016.60
7.4.270.0040.00416.59
7.4.260.0030.00716.61
7.4.250.0030.00316.56
7.4.240.0000.00816.60
7.4.230.0040.00416.69
7.4.220.0060.01216.55
7.4.210.0100.01016.46
7.4.200.0000.00716.67
7.4.160.0080.00716.54
7.4.150.0140.01017.40
7.4.140.0110.00817.86
7.4.130.0070.01016.39
7.4.120.0090.01116.46
7.4.110.0100.00716.53
7.4.100.0070.01016.58
7.4.90.0080.00816.53
7.4.80.0110.01119.39
7.4.70.0070.01716.49
7.4.60.0100.01316.73
7.4.50.0060.00616.70
7.4.40.0080.00816.52
7.4.30.0060.01216.59
7.4.00.0050.01215.01
7.3.330.0030.00313.00
7.3.320.0030.00313.03
7.3.310.0000.00716.34
7.3.300.0000.00616.23
7.3.290.0060.00816.23
7.3.280.0090.00816.23
7.3.270.0040.01317.40
7.3.260.0120.00416.40
7.3.250.0070.00916.27
7.3.240.0060.01216.30
7.3.230.0110.01416.34
7.3.210.0140.00616.35
7.3.200.0030.01316.39
7.3.190.0100.00716.52
7.3.180.0040.01216.46
7.3.170.0160.00316.18
7.3.160.0160.00616.24
7.3.120.0060.00914.75
7.3.110.0030.01014.80
7.3.100.0070.01014.82
7.3.90.0070.00714.80
7.3.80.0070.00414.87
7.3.70.0030.00714.81
7.3.60.0120.00614.66
7.3.50.0040.00814.52
7.3.40.0040.01114.83
7.3.30.0100.00714.78
7.3.20.0040.01116.66
7.3.10.0040.01416.75
7.3.00.0050.00516.75
7.2.330.0060.01116.43
7.2.320.0160.00616.62
7.2.310.0090.00616.38
7.2.300.0060.00916.33
7.2.290.0080.01516.31
7.2.250.0070.01414.64
7.2.240.0060.01214.92
7.2.230.0000.01414.78
7.2.220.0040.00814.80
7.2.210.0070.01014.77
7.2.200.0030.01014.82
7.2.190.0120.00314.91
7.2.180.0030.01014.94
7.2.170.0000.01314.91
7.2.60.0080.00816.52
7.1.330.0040.01115.43
7.1.320.0090.00015.32
7.1.310.0060.00915.89
7.1.300.0070.00715.41
7.1.290.0000.01215.74
7.1.280.0100.00315.63
7.1.270.0070.00715.45
7.1.260.0060.00915.27
7.1.200.0060.00315.63
7.1.70.0040.00716.98
7.1.60.0150.01035.07
7.1.50.0180.00934.67
7.1.40.0140.01134.35
7.1.30.0170.00834.33
7.1.20.0170.00834.49
7.1.10.0010.01016.44
7.1.00.0040.00716.36
7.0.200.0030.00816.66
7.0.190.0050.00616.64
7.0.180.0030.00916.21
7.0.170.0080.00816.07
7.0.160.0060.00616.10
7.0.150.0090.00316.24
7.0.140.0040.00716.28
7.0.130.0020.01016.56
7.0.120.0050.00916.47
7.0.110.0040.00716.26
7.0.100.0020.00916.15
7.0.90.0030.01116.13
7.0.80.0060.00616.31
7.0.70.0050.00716.28
7.0.60.0030.00815.79
7.0.50.0030.00816.23
7.0.40.0010.01016.28
7.0.30.0060.00516.23
7.0.20.0050.00716.18
7.0.10.0080.00516.21
7.0.00.0020.01016.21

preferences:
34.9 ms | 403 KiB | 5 Q