3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Enter your code here, enjoy! $resultCode = ''; $args = array('0x27bla', 'bla1'); $resultCode .= "'".mysql_escape_string(array_shift($args))."'"; print_r($resultCode);

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.40.0100.00718.80
8.3.30.0070.00718.66
8.3.20.0070.00020.26
8.3.10.0090.00023.53
8.3.00.0080.00019.79
8.2.170.0090.00622.96
8.2.160.0070.01020.57
8.2.150.0000.00824.18
8.2.140.0050.00224.66
8.2.130.0080.00019.33
8.2.120.0040.00426.35
8.2.110.0100.00020.82
8.2.100.0040.00817.66
8.2.90.0040.00417.99
8.2.80.0080.00019.12
8.2.70.0000.00917.50
8.2.60.0040.00417.50
8.2.50.0060.00317.68
8.2.40.0000.00818.04
8.2.30.0000.00820.71
8.2.20.0000.00717.59
8.2.10.0030.00618.06
8.2.00.0040.00418.04
8.1.270.0090.00020.20
8.1.260.0070.00028.09
8.1.250.0000.00728.09
8.1.240.0030.00621.98
8.1.230.0040.00720.89
8.1.220.0050.00317.74
8.1.210.0080.00418.77
8.1.200.0030.00617.35
8.1.190.0030.00517.11
8.1.180.0030.00718.10
8.1.170.0000.00717.62
8.1.160.0000.00720.61
8.1.150.0020.00518.73
8.1.140.0000.00819.50
8.1.130.0030.00317.64
8.1.120.0000.00717.29
8.1.110.0000.00717.39
8.1.100.0040.00417.25
8.1.90.0040.00417.27
8.1.80.0090.00017.36
8.1.70.0000.00717.38
8.1.60.0040.00417.49
8.1.50.0000.00817.52
8.1.40.0040.00417.52
8.1.30.0030.00617.65
8.1.20.0080.00017.53
8.1.10.0000.00717.52
8.1.00.0030.00617.42
8.0.300.0040.00419.98
8.0.290.0000.00816.63
8.0.280.0000.00718.47
8.0.270.0030.00317.18
8.0.260.0000.00717.25
8.0.250.0030.00316.86
8.0.240.0030.00316.84
8.0.230.0030.00316.81
8.0.220.0030.00516.78
8.0.210.0030.00516.93
8.0.200.0000.00616.95
8.0.190.0090.00017.00
8.0.180.0000.00716.92
8.0.170.0040.00416.89
8.0.160.0000.00716.77
8.0.150.0030.00316.74
8.0.140.0000.00716.81
8.0.130.0000.00613.27
8.0.120.0050.00216.77
8.0.110.0070.00016.81
8.0.100.0040.00416.77
8.0.90.0000.00716.76
8.0.80.0090.00616.84
8.0.70.0070.00016.75
8.0.60.0040.00416.79
8.0.50.0040.00416.80
8.0.30.0070.01316.98
8.0.20.0100.00917.40
8.0.10.0040.00417.12
8.0.00.0100.00816.74
7.4.330.0000.00516.71
7.4.320.0030.00316.47
7.4.300.0000.00616.43
7.4.290.0070.00016.49
7.4.280.0040.00416.64
7.4.270.0000.00816.51
7.4.260.0070.00016.47
7.4.250.0000.00716.54
7.4.240.0050.00216.49
7.4.230.0000.00716.59
7.4.220.0040.01416.41
7.4.210.0100.00516.55
7.4.200.0070.00016.33
7.4.160.0040.01116.64
7.4.150.0170.00017.40
7.4.140.0120.01217.86
7.4.130.0060.01016.37
7.4.120.0080.01116.59
7.4.110.0110.00716.62
7.4.100.0110.00716.43
7.4.90.0060.01516.43
7.4.80.0140.00319.39
7.4.70.0120.00416.50
7.4.60.0110.00716.39
7.4.50.0000.01216.54
7.4.40.0060.01116.65
7.4.30.0070.01116.43
7.4.00.0060.00714.96
7.3.330.0000.00512.98
7.3.320.0000.00512.98
7.3.310.0070.00016.09
7.3.300.0070.00016.27
7.3.290.0030.00316.28
7.3.280.0080.01016.23
7.3.270.0120.00617.40
7.3.260.0030.01316.47
7.3.250.0130.00616.35
7.3.240.0120.00816.30
7.3.230.0130.00316.39
7.3.210.0090.01616.21
7.3.200.0120.00616.49
7.3.190.0090.00616.27
7.3.180.0080.00816.39
7.3.170.0140.00716.31
7.3.160.0070.00716.32
7.3.120.0080.00814.69
7.3.110.0110.00714.51
7.3.100.0120.00614.92
7.3.90.0000.01614.50
7.3.80.0070.01014.79
7.3.70.0050.00514.55
7.3.60.0000.00814.41
7.3.50.0070.01014.61
7.3.40.0030.00614.40
7.3.30.0070.00714.80
7.3.20.0000.01116.72
7.3.10.0060.01116.08
7.3.00.0100.00516.37
7.2.330.0150.00316.57
7.2.320.0030.01316.50
7.2.310.0100.01116.43
7.2.300.0080.01016.37
7.2.290.0100.01316.45
7.2.250.0100.01014.84
7.2.240.0130.00715.05
7.2.230.0090.00315.03
7.2.220.0040.01114.98
7.2.210.0000.01114.53
7.2.200.0040.01214.61
7.2.190.0040.01114.73
7.2.180.0040.01114.81
7.2.170.0060.00914.82
7.2.130.0160.00916.31
7.2.120.0180.00716.37
7.2.110.0260.00616.63
7.2.100.0150.00915.93
7.2.90.0170.00716.68
7.2.80.0050.01216.33
7.2.70.0190.00615.92
7.2.60.0190.01016.40
7.2.50.0180.00716.03
7.2.40.0140.00616.23
7.2.30.0160.00615.93
7.2.20.0110.01116.10
7.2.10.0090.00916.23
7.2.00.0050.00817.86
7.1.330.0070.00715.69
7.1.320.0000.01115.58
7.1.310.0100.00315.32
7.1.300.0030.01015.66
7.1.290.0030.01315.49
7.1.280.0030.01015.48
7.1.270.0030.00915.49
7.1.260.0110.00415.73
7.1.250.0140.00815.27
7.1.200.0030.00915.66
7.1.100.0230.00617.64
7.1.70.0100.00716.79
7.1.60.0070.01319.52
7.1.50.0100.01316.53
7.1.00.0070.07022.49
7.0.200.0040.00716.74
7.0.60.0230.07319.88
7.0.50.0100.05717.85
7.0.40.0000.04719.90
7.0.30.0300.07020.01
7.0.20.0330.06720.18
7.0.10.0100.07720.15
7.0.00.0000.08020.01
5.6.280.0030.06021.07
5.6.210.0130.06720.74
5.6.200.0000.04318.15
5.6.190.0130.07020.57
5.6.180.0200.04320.64
5.6.170.0200.03720.45
5.6.160.0070.09320.38
5.6.150.0030.08018.12
5.6.140.0070.03718.22
5.6.130.0030.09018.11
5.6.120.0100.06721.03
5.6.110.0030.04321.00
5.6.100.0070.08320.88
5.6.90.0000.09320.97
5.6.80.0070.08320.50
5.5.350.0370.07020.43
5.5.340.0130.07717.94
5.5.330.0000.04320.37
5.5.320.0470.04320.32
5.5.310.0270.08020.26
5.5.300.0030.08717.91
5.5.290.0130.05017.88
5.5.280.0000.08720.79
5.5.270.0030.04020.86
5.5.260.0130.07720.83
5.5.250.0030.08020.70
5.5.240.4130.03020.07

preferences:
40.65 ms | 400 KiB | 5 Q