3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 'url' => 'кириллица.html', 'pagetitle' => 'Cyrillic - AJAX SEO', 'title' => 'Cyrillic', 'content' => "<h1>Кириллический URL</h1>\n<p>This is Cyrillic URL example. Try <a class=js-as dir=rtl href=עברית>RTL עברית</a>.</p>\n" ); if (version_compare(PHP_VERSION, '5.4', '>=')) { $data = json_encode($array, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); } else { $data = str_replace('\\/', '/', json_encode($array)); }

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.0070.00718.71
8.3.30.0070.00719.04
8.3.20.0040.00420.34
8.3.10.0070.00023.71
8.3.00.0090.00020.64
8.2.170.0120.00322.96
8.2.160.0070.00722.25
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00422.27
8.2.110.0090.00021.02
8.2.100.0110.00017.78
8.2.90.0000.00919.08
8.2.80.0060.00317.97
8.2.70.0040.00417.50
8.2.60.0030.00617.91
8.2.50.0050.00318.07
8.2.40.0030.00519.59
8.2.30.0040.00417.92
8.2.20.0030.00517.50
8.2.10.0080.00019.34
8.2.00.0030.00617.67
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0100.00022.46
8.1.230.0040.00721.02
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.13
8.1.190.0040.00417.39
8.1.180.0090.00018.10
8.1.170.0040.00418.57
8.1.160.0030.00521.85
8.1.150.0080.00018.58
8.1.140.0000.00717.31
8.1.130.0040.00417.83
8.1.120.0070.00017.33
8.1.110.0000.00717.42
8.1.100.0040.00417.39
8.1.90.0000.00717.30
8.1.80.0040.00417.29
8.1.70.0000.00617.33
8.1.60.0000.00917.41
8.1.50.0000.00717.47
8.1.40.0000.00717.50
8.1.30.0080.00017.39
8.1.20.0000.00817.61
8.1.10.0040.00417.30
8.1.00.0050.00317.23
8.0.300.0000.00718.77
8.0.290.0050.00217.18
8.0.280.0040.00418.39
8.0.270.0030.00317.25
8.0.260.0030.00318.37
8.0.250.0000.00716.87
8.0.240.0000.00816.85
8.0.230.0070.00016.79
8.0.220.0030.00316.81
8.0.210.0030.00316.82
8.0.200.0000.00616.90
8.0.190.0030.00316.89
8.0.180.0000.00716.82
8.0.170.0030.00516.83
8.0.160.0000.00716.83
8.0.150.0070.00016.67
8.0.140.0000.00716.73
8.0.130.0030.00313.23
8.0.120.0000.00816.82
8.0.110.0040.00416.72
8.0.100.0040.00416.81
8.0.90.0000.00716.88
8.0.80.0090.00916.84
8.0.70.0040.00416.86
8.0.60.0000.00816.72
8.0.50.0050.00216.88
8.0.30.0060.01316.86
8.0.20.0130.00817.40
8.0.10.0070.00016.90
8.0.00.0120.00716.81
7.4.330.0050.00015.08
7.4.320.0030.00316.43
7.4.300.0030.00316.57
7.4.290.0030.00316.34
7.4.280.0060.00016.43
7.4.270.0060.00016.49
7.4.260.0030.00316.50
7.4.250.0050.00216.32
7.4.240.0000.00716.47
7.4.230.0000.00716.43
7.4.220.0100.01616.53
7.4.210.0080.01016.53
7.4.200.0000.00716.47
7.4.190.0070.00016.57
7.4.160.0090.00616.28
7.4.150.0090.00917.40
7.4.140.0150.00517.86
7.4.130.0070.01016.42
7.4.120.0120.00916.36
7.4.110.0100.00616.39
7.4.100.0140.01016.34
7.4.90.0110.01116.29
7.4.80.0060.01016.31
7.4.70.0120.00616.43
7.4.60.0090.00916.34
7.4.50.0040.00416.46
7.4.40.0120.00322.77
7.4.30.0120.00416.36
7.4.00.0040.01114.96
7.3.330.0020.00213.05
7.3.320.0050.00013.13
7.3.310.0030.00316.23
7.3.300.0050.00216.18
7.3.290.0120.00316.16
7.3.280.0070.01016.17
7.3.270.0140.00717.40
7.3.260.0180.00016.54
7.3.250.0080.00916.28
7.3.240.0100.00716.16
7.3.230.0120.00316.39
7.3.210.0070.01016.24
7.3.200.0130.01119.39
7.3.190.0110.00716.10
7.3.180.0100.00716.09
7.3.170.0090.00616.27
7.3.160.0140.00316.19
7.3.120.0060.00914.67
7.3.110.0040.01214.55
7.3.100.0000.01014.64
7.3.90.0070.00714.75
7.3.80.0120.00314.41
7.3.70.0070.01114.45
7.3.60.0060.00614.50
7.3.50.0070.00714.70
7.3.40.0070.00714.78
7.3.30.0040.01414.41
7.3.20.0150.00316.18
7.3.10.0100.00316.29
7.3.00.0030.01416.59
7.2.330.0040.01516.56
7.2.320.0150.00616.38
7.2.310.0110.00616.62
7.2.300.0060.01616.29
7.2.290.0070.01516.53
7.2.240.0040.01115.09
7.2.230.0000.01614.83
7.2.220.0060.00914.77
7.2.210.0090.00614.85
7.2.200.0100.00714.68
7.2.190.0130.00314.88
7.2.180.0060.00915.05
7.2.170.0060.00914.95
7.2.160.0030.00814.81
7.2.150.0030.01016.89
7.2.140.0030.01016.80
7.2.130.0150.00016.77
7.2.120.0100.00716.73
7.2.110.0060.00916.80
7.2.100.0030.01616.71
7.2.90.0030.01316.93
7.2.80.0090.00917.00
7.2.70.0000.01317.04
7.2.60.0120.00316.86
7.2.50.0060.00616.51
7.2.40.0030.01216.86
7.2.30.0110.00716.71
7.2.20.0030.00916.70
7.2.10.0060.01016.87
7.2.00.0090.00517.96
7.1.330.0000.01115.98
7.1.320.0030.01015.69
7.1.310.0030.01515.80
7.1.300.0060.00915.60
7.1.290.0030.01315.48
7.1.280.0000.01415.48
7.1.270.0100.00615.70
7.1.260.0000.01115.59
7.1.250.0060.00615.79
7.1.200.0000.00715.68
7.1.100.0030.00918.06
7.1.70.0030.00617.10
7.1.60.0130.00019.22
7.1.50.0040.01116.99
7.1.00.0030.07322.29
7.0.200.0030.00616.71
7.0.140.0070.07021.96
7.0.90.0030.05019.94
7.0.80.0170.03019.86
7.0.70.0070.08719.95
7.0.60.0100.08320.07
7.0.50.0130.08020.38
7.0.40.0130.07720.10
7.0.30.0070.08320.05
7.0.20.0070.07720.10
7.0.10.0100.07720.10
7.0.00.0130.04320.10
5.6.280.0030.09321.00
5.6.240.0230.06320.57
5.6.230.0130.07720.63
5.6.220.0030.05020.48
5.6.210.0000.06720.68
5.6.200.0170.06721.03
5.6.190.0230.07320.96
5.6.180.0030.04721.16
5.6.170.0070.08721.13
5.6.160.0100.07321.11
5.6.150.0070.07721.10
5.6.140.0030.04321.01
5.6.130.0070.06320.93
5.6.120.0100.08321.01
5.6.110.0030.08021.09
5.6.100.0170.07020.94
5.6.90.0200.04720.92
5.6.80.0070.05020.43
5.6.70.0070.05720.49
5.6.60.0130.05020.47
5.6.50.0200.06020.33
5.6.40.0200.06720.37
5.6.30.0130.05020.43
5.6.20.0130.05320.41
5.6.10.0130.06320.39
5.6.00.0070.08320.40
5.5.380.0030.08720.48
5.5.370.0070.04320.35
5.5.360.0130.07020.39
5.5.350.0100.08020.38
5.5.340.0000.05020.89
5.5.330.0030.08020.85
5.5.320.0030.08320.93
5.5.310.0130.07720.73
5.5.300.0100.04320.88
5.5.290.0100.07320.77
5.5.280.0170.07020.64
5.5.270.0100.07720.63
5.5.260.0100.05320.82
5.5.250.0130.06020.57
5.5.240.0170.06720.31
5.5.230.0000.06720.11
5.5.220.0070.06020.30
5.5.210.0070.06020.21
5.5.200.0200.06720.21
5.5.190.0130.07320.21
5.5.180.0200.05320.15
5.5.160.0170.06320.28
5.5.150.0130.07020.09
5.5.140.0130.06720.14
5.5.130.0130.07720.11
5.5.120.0100.07720.12
5.5.110.0170.07720.20
5.5.100.0070.05720.12
5.5.90.0070.05020.09
5.5.80.0230.04020.17
5.5.70.0070.05319.92
5.5.60.0030.08020.16
5.5.50.0070.04320.00
5.5.40.0030.08320.09
5.5.30.0100.07720.10
5.5.20.0170.06019.95
5.5.10.0130.07320.03
5.5.00.0170.07020.00
5.4.450.0130.07019.14
5.4.440.0100.07019.45
5.4.430.0100.03719.22
5.4.420.0030.07319.15
5.4.410.0070.06019.31
5.4.400.0100.06718.82
5.4.390.0070.07319.23
5.4.380.0170.06318.94
5.4.370.0030.07319.01
5.4.360.0070.04719.04
5.4.350.0000.08018.96
5.4.340.0100.07319.13
5.4.320.0070.07319.05
5.4.310.0070.07018.95
5.4.300.0100.03319.11
5.4.290.0000.08719.02
5.4.280.0170.07318.96
5.4.270.0130.07019.04
5.4.260.0130.06019.11
5.4.250.0030.07318.89
5.4.240.0030.04318.97
5.4.230.0030.06319.06
5.4.220.0070.04318.89
5.4.210.0100.04018.94
5.4.200.0100.06719.14
5.4.190.0130.07019.02
5.4.180.0130.07319.11
5.4.170.0000.04718.97
5.4.160.0070.04318.81
5.4.150.0070.07719.01
5.4.140.0170.05316.28
5.4.130.0070.07316.41
5.4.120.0070.06716.31
5.4.110.0000.06316.36
5.4.100.0070.04016.32
5.4.90.0070.03316.43
5.4.80.0030.03716.42
5.4.70.0070.03316.22
5.4.60.0000.04316.32
5.4.50.0000.03716.27
5.4.40.0030.03716.39
5.4.30.0030.03716.43
5.4.20.0000.03716.18
5.4.10.0030.03716.41
5.4.00.0000.03715.77
5.3.290.0100.07314.66
5.3.280.0100.06014.58
5.3.270.0100.07314.44
5.3.260.0100.04014.55
5.3.250.0100.07314.59
5.3.240.0070.07714.58
5.3.230.0030.04314.53
5.3.220.0070.06714.57
5.3.210.0070.04314.53
5.3.200.0000.04714.42
5.3.190.0070.03714.42
5.3.180.0070.05014.43
5.3.170.0030.03714.52
5.3.160.0000.04314.42
5.3.150.0000.04714.47
5.3.140.0000.05314.51
5.3.130.0000.03714.40
5.3.120.0070.04014.41
5.3.110.0030.03714.50
5.3.100.0070.03314.00
5.3.90.0030.03713.87
5.3.80.0070.04313.98
5.3.70.0030.05014.01
5.3.60.0170.05313.95
5.3.50.0030.03013.93
5.3.40.0070.05713.93
5.3.30.0000.03713.84
5.3.20.0070.03313.65
5.3.10.0070.06013.61
5.3.00.0030.03313.39
5.2.170.0070.05011.10
5.2.160.0030.02710.97
5.2.150.0000.03311.00
5.2.140.0100.02311.14
5.2.130.0070.03011.14
5.2.120.0000.05311.05
5.2.110.0070.05711.02
5.2.100.0030.02711.02
5.2.90.0000.03011.09
5.2.80.0030.04310.91
5.2.70.0030.02711.16
5.2.60.0030.02710.87
5.2.50.0100.02010.94
5.2.40.0000.03710.95
5.2.30.0030.06010.99
5.2.20.0000.03010.98
5.2.10.0000.03010.86
5.2.00.0030.02710.71
5.1.60.0030.02310.05
5.1.50.0030.02310.06
5.1.40.0100.0179.96
5.1.30.0030.02310.27
5.1.20.0030.02310.29
5.1.10.0000.03010.07
5.1.00.0000.02710.09
5.0.50.0000.0478.59
5.0.40.0070.0178.24
5.0.30.0030.0238.27
5.0.20.0070.0208.24
5.0.10.0000.0208.21
5.0.00.0000.0608.27
4.4.90.0030.0137.17
4.4.80.0030.0207.17
4.4.70.0030.0137.17
4.4.60.0030.0237.17
4.4.50.0000.0137.17
4.4.40.0000.0237.17
4.4.30.0000.0377.17
4.4.20.0000.0177.17
4.4.10.0000.0277.17
4.4.00.0000.0307.17
4.3.110.0030.0137.17
4.3.100.0000.0137.17
4.3.90.0000.0207.17
4.3.80.0000.0277.17
4.3.70.0000.0177.17
4.3.60.0000.0137.17
4.3.50.0000.0137.17
4.3.40.0030.0207.17
4.3.30.0000.0137.17
4.3.20.0030.0237.17
4.3.10.0030.0137.17
4.3.00.0000.0307.17

preferences:
45.3 ms | 400 KiB | 5 Q