3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*echo serialize(array(0 => array("AU" => 347, "AT" => 609, "SI" => 1083, "IE" => 942, "RO" => 941, "DE" => 550, "CH" => 337, "FR" => 340, "PL" => 615, "GB" => 341, "ES" => 583, "NL" => 612, "BE" => 610, "IT" => 548, "SE" => 616, "NO" => 613, "FI" => 339, "CZ" => 342, "IL" => 343, "CA" => 345, "NZ" => 614, "LU" => 611, "HU" => 346, "GR" => 344), 1 => array('AT' => 'german', 'DE' => 'german', 'LU' => 'german','ES' => 'spanish','PL' => 'polish','FR' => 'french',0 => 'english')));*/ echo var_dump(strlen('a:2:{i:0;a:24:{s:2:"AU";i:347;s:2:"AT";i:609;s:2:"SI";i:1083;s:2:"IE";i:942;s:2:"RO";i:941;s:2:"DE";i:550;s:2:"CH";i:337;s:2:"FR";i:340;s:2:"PL";i:615;s:2:"GB";i:341;s:2:"ES";i:583;s:2:"NL";i:612;s:2:"BE";i:610;s:2:"IT";i:548;s:2:"SE";i:616;s:2:"NO";i:613;s:2:"FI";i:339;s:2:"CZ";i:342;s:2:"IL";i:343;s:2:"CA";i:345;s:2:"NZ";i:614;s:2:"LU";i:611;s:2:"HU";i:346;s:2:"GR";i:344;}i:1;a:7:{s:2:"AT";s:6:"german";s:2:"DE";s:6:"german";s:2:"LU";s:6:"german";s:2:"ES";s:7:"spanish";s:2:"PL";s:6:"polish";s:2:"FR";s:6:"french";i:0;s:7:"english";}}'));

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.01018.30
8.3.50.0140.00720.95
8.3.40.0110.00318.54
8.3.30.0100.01020.21
8.3.20.0040.00420.42
8.3.10.0040.00421.10
8.3.00.0070.00022.44
8.2.180.0110.00716.32
8.2.170.0140.00322.96
8.2.160.0030.01020.52
8.2.150.0050.00324.18
8.2.140.0110.00024.66
8.2.130.0000.00826.16
8.2.120.0000.00721.13
8.2.110.0060.00319.21
8.2.100.0120.00017.91
8.2.90.0000.00719.05
8.2.80.0040.00417.97
8.2.70.0030.00517.50
8.2.60.0030.00517.80
8.2.50.0060.00318.07
8.2.40.0080.00017.91
8.2.30.0040.00419.47
8.2.20.0040.00417.62
8.2.10.0000.00817.60
8.2.00.0000.00817.44
8.1.280.0060.01225.92
8.1.270.0080.00023.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00624.00
8.1.230.0040.00720.85
8.1.220.0000.00818.77
8.1.210.0050.00318.97
8.1.200.0080.00017.23
8.1.190.0000.00717.30
8.1.180.0070.00018.10
8.1.170.0000.00818.43
8.1.160.0070.00018.79
8.1.150.0030.00518.37
8.1.140.0030.00517.25
8.1.130.0000.00817.73
8.1.120.0000.00817.36
8.1.110.0040.00417.32
8.1.100.0000.00717.34
8.1.90.0030.00317.25
8.1.80.0080.00017.14
8.1.70.0030.00317.24
8.1.60.0030.00617.35
8.1.50.0000.00817.26
8.1.40.0030.00517.40
8.1.30.0000.00717.38
8.1.20.0050.00317.52
8.1.10.0050.00217.36
8.1.00.0000.00817.25
8.0.300.0000.00719.82
8.0.290.0030.00517.05
8.0.280.0000.00718.23
8.0.270.0070.00017.08
8.0.260.0030.00316.59
8.0.250.0060.00316.82
8.0.240.0040.00716.74
8.0.230.0030.00316.69
8.0.220.0070.00016.76
8.0.210.0030.00316.68
8.0.200.0030.00316.72
8.0.190.0040.00416.75
8.0.180.0050.00316.67
8.0.170.0040.00416.79
8.0.160.0030.00516.73
8.0.150.0070.00016.71
8.0.140.0040.00416.68
8.0.130.0070.00013.08
8.0.120.0040.00416.77
8.0.110.0050.00216.60
8.0.100.0030.00316.81
8.0.90.0070.00016.57
8.0.80.0070.00816.70
8.0.70.0050.00216.60
8.0.60.0070.00016.79
8.0.50.0040.00416.58
8.0.30.0060.01516.91
8.0.20.0110.00817.40
8.0.10.0000.00816.75
8.0.00.0080.00916.61
7.4.330.0030.00316.91
7.4.320.0000.00616.45
7.4.300.0060.00016.37
7.4.290.0070.00016.34
7.4.280.0000.00716.45
7.4.270.0000.00716.45
7.4.260.0030.00313.11
7.4.250.0070.00016.37
7.4.240.0000.00716.38
7.4.230.0000.00716.27
7.4.220.0090.01516.54
7.4.210.0060.00916.41
7.4.200.0000.00716.55
7.4.190.0000.00716.31
7.4.160.0110.00416.34
7.4.150.0070.01117.40
7.4.140.0090.00917.86
7.4.130.0100.00616.35
7.4.120.0050.01216.46
7.4.110.0130.00316.24
7.4.100.0150.00316.20
7.4.90.0160.00316.31
7.4.80.0070.01019.39
7.4.70.0130.00316.30
7.4.60.0070.01016.40
7.4.50.0000.00916.08
7.4.40.0060.00622.77
7.4.30.0060.00916.47
7.4.00.0050.01014.84
7.3.330.0000.00512.96
7.3.320.0050.00012.79
7.3.310.0000.00716.05
7.3.300.0070.00016.10
7.3.290.0080.00816.14
7.3.280.0060.01016.11
7.3.270.0200.00317.40
7.3.260.0120.00918.24
7.3.250.0100.01116.09
7.3.240.0100.00716.22
7.3.230.0130.00616.39
7.3.210.0100.00716.17
7.3.200.0140.00819.39
7.3.190.0090.00616.22
7.3.180.0080.00816.35
7.3.170.0060.00916.27
7.3.160.0090.01216.27
7.3.120.0050.01214.78
7.3.110.0000.01714.72
7.3.100.0040.00415.04
7.3.90.0100.00314.48
7.3.80.0080.00414.45
7.3.70.0100.00014.68
7.3.60.0060.00614.80
7.3.50.0000.01514.75
7.3.40.0060.00914.53
7.3.30.0110.00314.59
7.3.20.0050.00516.46
7.3.10.0100.00316.50
7.3.00.0070.01016.36
7.2.330.0070.01416.57
7.2.320.0110.00516.43
7.2.310.0100.01316.48
7.2.300.0130.00316.64
7.2.290.0060.01016.50
7.2.250.0060.01314.84
7.2.240.0070.01314.69
7.2.230.0060.01214.74
7.2.220.0060.01214.69
7.2.210.0060.00314.83
7.2.200.0070.00715.02
7.2.190.0050.00514.87
7.2.180.0000.01515.09
7.2.170.0130.00314.76
7.2.00.0080.00819.31
7.1.330.0030.01015.63
7.1.320.0130.00315.59
7.1.310.0060.00915.77
7.1.300.0030.01215.58
7.1.290.0060.00615.74
7.1.280.0060.00915.67
7.1.270.0070.01115.71
7.1.260.0100.00315.47
7.1.100.0100.00018.02
7.1.70.0000.00816.69
7.1.60.0040.01919.17
7.1.50.0030.01316.58
7.1.00.0100.06022.24
7.0.200.0000.00916.51
7.0.140.0000.07722.19
7.0.100.0070.04319.92
7.0.90.0030.06719.96
7.0.80.0230.05019.88
7.0.70.0100.07019.98
7.0.60.0100.06019.86
7.0.50.0070.04320.38
7.0.40.0100.07719.95
7.0.30.0200.07020.04
7.0.20.0070.08320.08
7.0.10.0130.07320.02
7.0.00.0070.04720.14
5.6.280.0030.07320.90
5.6.250.0070.07720.77
5.6.240.0130.07720.68
5.6.230.0100.08320.59
5.6.220.0070.04020.61
5.6.210.0030.06720.54
5.6.200.0100.07721.07
5.6.190.0030.04321.08
5.6.180.0070.04321.04
5.6.170.0030.06320.95
5.6.160.0170.07020.93
5.6.150.0000.05720.93
5.6.140.0100.04321.07
5.6.130.0130.07021.16
5.6.120.0030.05321.00
5.6.110.0070.03721.00
5.6.100.0070.07721.01
5.6.90.0070.07720.98
5.6.80.0070.07320.39
5.6.70.0100.06720.36
5.6.60.0100.07020.53
5.6.50.0070.03720.42
5.6.40.0030.04320.32
5.6.30.0000.05020.50
5.6.20.0070.03720.39
5.6.10.0070.04020.38
5.6.00.0070.03720.41
5.5.380.0230.03320.40
5.5.370.0100.08020.39
5.5.360.0000.07320.55
5.5.350.0000.09020.46
5.5.340.0070.04720.77
5.5.330.0070.06320.90
5.5.320.0100.06720.75
5.5.310.0100.07320.60
5.5.300.0130.07320.90
5.5.290.0130.04020.77
5.5.280.0230.06720.92
5.5.270.0030.04020.62
5.5.260.0070.04720.71
5.5.250.0100.07320.54
5.5.240.0100.06020.24
5.5.230.0030.05020.20
5.5.220.0170.05720.30
5.5.210.0070.03720.29
5.5.200.0070.03720.10
5.5.190.0030.04020.22
5.5.180.0070.03720.20
5.5.160.0000.04320.22
5.5.150.0070.03720.07
5.5.140.0070.03720.10
5.5.130.0030.03720.07
5.5.120.0070.04020.09
5.5.110.0030.08020.16
5.5.100.0030.03720.16
5.5.90.0000.04720.06
5.5.80.0000.04020.07
5.5.70.0030.04320.03
5.5.60.0070.03720.03
5.5.50.0100.06719.99
5.5.40.0070.03719.92
5.5.30.0030.04320.12
5.5.20.0000.04320.09
5.5.10.0030.04019.99
5.5.00.0030.04720.12
5.4.450.0130.04319.44
5.4.440.0130.07319.40
5.4.430.0030.07019.31
5.4.420.0130.03319.41
5.4.410.0130.05719.25
5.4.400.0100.07718.84
5.4.390.0170.05319.07
5.4.380.0000.03719.07
5.4.370.0030.03719.23
5.4.360.0030.04019.10
5.4.350.0070.03718.95
5.4.340.0000.05319.05
5.4.320.0070.03719.05
5.4.310.0030.03019.01
5.4.300.0000.04319.08
5.4.290.0070.04019.03
5.4.280.0030.06019.14
5.4.270.0100.02718.80
5.4.260.0030.03719.07
5.4.250.0130.07318.80
5.4.240.0030.03719.04
5.4.230.0070.03319.07
5.4.220.0030.04018.97
5.4.210.0070.04318.95
5.4.200.0030.04018.90
5.4.190.0100.03018.77
5.4.180.0000.04318.77
5.4.170.0000.04018.91
5.4.160.0000.04018.76
5.4.150.0030.03719.03
5.4.140.0100.03016.35
5.4.130.0000.03716.26
5.4.120.0030.03716.37
5.4.110.0130.03316.42
5.4.100.0000.04016.30
5.4.90.0100.03316.22
5.4.80.0130.03016.31
5.4.70.0030.04016.39
5.4.60.0000.04016.21
5.4.50.0000.03716.19
5.4.40.0070.03316.24
5.4.30.0070.03316.20
5.4.20.0030.03716.26
5.4.10.0000.04016.20
5.4.00.0030.04015.73
5.3.290.0030.03714.63
5.3.280.0030.04714.60
5.3.270.0100.03314.61
5.3.260.0070.04014.58
5.3.250.0100.03014.51
5.3.240.0100.03314.46
5.3.230.0000.04014.54
5.3.220.0070.03014.52
5.3.210.0030.03714.54
5.3.200.0000.04714.41
5.3.190.0030.03714.56
5.3.180.0030.03714.41
5.3.170.0070.03714.56
5.3.160.0030.03714.41
5.3.150.0030.04314.50
5.3.140.0000.04014.41
5.3.130.0000.04014.54
5.3.120.0070.03314.40
5.3.110.0170.03014.52
5.3.100.0000.04313.87
5.3.90.0000.04013.93
5.3.80.0000.03713.87
5.3.70.0000.03313.77
5.3.60.0000.04013.77
5.3.50.0000.04713.92
5.3.40.0100.07013.71
5.3.30.0000.06013.88
5.3.20.0200.05713.62
5.3.10.0030.07313.66
5.3.00.0100.06013.59
5.2.170.0100.06012.29
5.2.160.0000.05012.29
5.2.150.0130.06012.29
5.2.140.0030.03012.29
5.2.130.0070.03712.29
5.2.120.0000.04312.29
5.2.110.0070.05312.29
5.2.100.0030.06012.29
5.2.90.0070.04312.29
5.2.80.0070.06012.29
5.2.70.0000.06312.29
5.2.60.0070.04312.29
5.2.50.0030.05312.29
5.2.40.0030.05712.29
5.2.30.0070.03712.29
5.2.20.0100.05012.29
5.2.10.0030.05312.29
5.2.00.0070.04312.29
5.1.60.0070.04712.29
5.1.50.0000.03712.29
5.1.40.0100.05012.29
5.1.30.0070.03712.29
5.1.20.0100.06012.29
5.1.10.0000.05712.29
5.1.00.0100.05012.29
5.0.50.0070.04312.29
5.0.40.0030.02712.29
5.0.30.0000.05012.29
5.0.20.0000.03012.29
5.0.10.0070.03712.29
5.0.00.0000.05312.29
4.4.90.0030.02312.29
4.4.80.0070.02712.29
4.4.70.0000.04012.29
4.4.60.0000.03312.29
4.4.50.0000.03012.29
4.4.40.0030.05712.29
4.4.30.0000.01712.29
4.4.20.0000.03712.29
4.4.10.0030.02312.29
4.4.00.0000.05712.29
4.3.110.0030.01712.29
4.3.100.0000.02312.29
4.3.90.0030.03312.29
4.3.80.0000.05312.29
4.3.70.0000.03012.29
4.3.60.0030.01712.29
4.3.50.0000.02012.29
4.3.40.0000.02312.29
4.3.30.0000.01712.29
4.3.20.0030.01712.29
4.3.10.0030.03312.29
4.3.00.0070.02312.29

preferences:
30.74 ms | 401 KiB | 5 Q