3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 'a:3:{i:0;O:9:"exception":1:{s:17:"'."\0".'Exception'."\0".'string";a:1:{i:0;i:1;}}i:1;O:9:"exception":1:{s:17:"'."\0".'Exception'."\0".'string";a:1:{i:0;R:3;}}i:2;R:6;}'; $x = unserialize($x); for ($i = 0; $i < 5; $i++) { $v[$i] = 'hi'.$i; } var_dump($x);

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.0060.00916.50
8.3.50.0130.00520.96
8.3.40.0040.01118.67
8.3.30.0090.00618.64
8.3.20.0070.00020.39
8.3.10.0080.00023.66
8.3.00.0050.00319.66
8.2.180.0130.01018.34
8.2.170.0040.01122.96
8.2.160.0070.00719.18
8.2.150.0030.00624.18
8.2.140.0180.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00917.50
8.2.110.0040.00422.14
8.2.100.0060.00617.50
8.2.90.0050.00319.22
8.2.80.0000.00917.97
8.2.70.0080.00017.63
8.2.60.0040.00417.91
8.2.50.0100.00018.07
8.2.40.0000.00821.09
8.2.30.0000.00819.64
8.2.20.0040.00417.73
8.2.10.0070.00017.99
8.2.00.0020.00518.07
8.1.280.0140.00725.92
8.1.270.0020.00520.23
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00622.29
8.1.230.0130.00317.42
8.1.220.0050.00317.79
8.1.210.0000.00818.77
8.1.200.0090.00317.10
8.1.190.0050.00317.13
8.1.180.0000.00818.10
8.1.170.0000.00818.52
8.1.160.0060.00323.79
8.1.150.0040.00418.74
8.1.140.0030.00517.30
8.1.130.0070.00017.65
8.1.120.0000.00717.41
8.1.110.0040.00417.39
8.1.100.0030.00717.43
8.1.90.0000.00717.41
8.1.80.0080.00017.44
8.1.70.0000.00717.41
8.1.60.0080.00017.47
8.1.50.0040.00417.52
8.1.40.0050.00317.52
8.1.30.0040.00417.68
8.1.20.0050.00317.66
8.1.10.0040.00417.50
8.1.00.0040.00417.55
8.0.300.0000.00918.77
8.0.290.0000.00716.75
8.0.280.0040.00418.33
8.0.270.0000.00817.23
8.0.260.0040.00417.27
8.0.250.0040.00417.01
8.0.240.0030.00617.02
8.0.230.0030.00316.99
8.0.220.0040.00417.00
8.0.210.0040.00417.00
8.0.200.0030.00317.03
8.0.190.0000.00817.07
8.0.180.0060.00316.88
8.0.170.0050.00316.87
8.0.160.0000.00716.97
8.0.150.0000.00816.87
8.0.140.0040.00416.91
8.0.130.0000.00513.43
8.0.120.0040.00416.80
8.0.110.0080.00017.02
8.0.100.0040.00416.93
8.0.90.0030.00516.82
8.0.80.0070.01016.86
8.0.70.0030.00516.88
8.0.60.0040.00416.74
8.0.50.0000.00816.73
8.0.30.0110.00917.16
8.0.20.0140.00617.40
8.0.10.0000.00817.09
8.0.00.0130.00716.84
7.4.330.0020.00215.08
7.4.320.0000.00716.51
7.4.300.0030.00316.59
7.4.290.0030.00516.45
7.4.280.0040.00416.52
7.4.270.0030.00316.42
7.4.260.0040.00416.53
7.4.250.0070.00016.50
7.4.240.0020.00616.46
7.4.230.0000.00716.34
7.4.220.0120.00616.40
7.4.210.0050.01416.49
7.4.200.0000.00716.38
7.4.160.0170.00016.66
7.4.150.0060.01217.40
7.4.140.0150.00817.86
7.4.130.0160.00916.63
7.4.120.0120.00916.48
7.4.110.0110.00816.63
7.4.100.0220.00316.60
7.4.90.0160.00816.61
7.4.80.0070.01119.39
7.4.70.0030.01316.40
7.4.60.0100.00616.50
7.4.50.0050.00316.53
7.4.40.0090.00916.44
7.4.30.0100.01016.30
7.4.00.0030.01315.11
7.3.330.0000.00513.24
7.3.320.0030.00313.22
7.3.310.0000.00716.26
7.3.300.0000.00716.30
7.3.290.0030.00316.33
7.3.280.0080.01016.32
7.3.270.0120.01217.40
7.3.260.0060.01316.60
7.3.250.0130.00616.48
7.3.240.0100.01316.40
7.3.230.0130.00716.56
7.3.210.0030.01316.44
7.3.200.0060.01216.61
7.3.190.0100.01016.59
7.3.180.0100.01316.41
7.3.170.0070.01116.59
7.3.160.0070.01616.22
7.3.120.0000.01214.82
7.3.110.0060.01014.87
7.3.100.0040.00815.13
7.3.90.0040.00814.87
7.3.80.0030.00914.71
7.3.70.0000.01714.95
7.3.60.0110.00314.82
7.3.50.0030.01014.80
7.3.40.0130.00314.97
7.3.30.0030.01314.68
7.3.20.0100.00716.70
7.3.10.0000.01416.67
7.3.00.0000.01616.70
7.2.330.0140.00916.60
7.2.320.0040.01816.75
7.2.310.0090.00816.37
7.2.300.0060.01116.74
7.2.290.0040.01416.48
7.2.240.0070.01014.95
7.2.230.0070.00714.80
7.2.220.0070.00415.15
7.2.210.0070.00714.98
7.2.200.0060.00915.26
7.2.190.0060.00915.09
7.2.180.0030.01314.97
7.2.170.0090.00614.68
7.2.160.0030.00815.13
7.2.150.0040.01116.83
7.2.140.0040.01116.89
7.2.130.0050.01016.80
7.2.120.0070.01116.83
7.2.110.0060.00916.79
7.2.100.0110.00416.93
7.2.90.0110.00716.86
7.2.80.0060.00616.84
7.2.70.0080.00416.94
7.2.60.0070.01016.86
7.2.50.0110.00417.00
7.2.40.0070.01016.89
7.2.30.0000.01716.96
7.2.20.0100.00716.89
7.2.10.0120.00616.95
7.2.00.0060.00918.26
7.1.330.0040.01115.68
7.1.320.0040.00815.88
7.1.310.0030.00715.92
7.1.300.0090.00415.92
7.1.290.0070.00715.74
7.1.280.0090.00315.59
7.1.270.0060.00915.77
7.1.260.0030.01015.87
7.1.250.0060.00616.02
7.1.200.0040.00415.90
7.1.100.0030.00818.15
7.1.70.0000.01117.23
7.1.60.0110.01420.03
7.1.50.0000.01117.03
7.1.00.0070.07322.34
7.0.200.0080.00016.73
7.0.60.0100.08319.86
7.0.50.0200.06717.89
7.0.40.0200.07320.30
7.0.30.0330.07020.18
7.0.20.0230.06720.09
7.0.10.0100.04020.09
7.0.00.0070.09320.16
5.6.280.0000.03720.92
5.6.210.0070.06020.60
5.6.200.0100.06718.15
5.6.190.0030.06720.77
5.6.180.0270.08020.36
5.6.170.0370.05020.51
5.6.160.0030.04020.41
5.6.150.0200.05718.19
5.6.140.0030.04018.20
5.6.130.0000.05018.12
5.6.120.0030.05020.99
5.6.110.0100.04721.00
5.6.100.0030.04020.86
5.6.90.0170.06721.12
5.6.80.0130.07320.35
5.5.350.4100.03720.41
5.5.340.0000.06017.95
5.5.330.0100.03720.36
5.5.320.0270.05020.50
5.5.310.0200.05020.28
5.5.300.0070.03717.91
5.5.290.0030.05317.98
5.5.280.0100.08320.64
5.5.270.0030.04020.76
5.5.260.0030.06020.76
5.5.250.0170.04320.54
5.5.240.0000.08020.11
5.4.450.0130.08019.25
5.4.440.0230.08019.57
5.4.430.0170.06719.13
5.4.420.0330.06719.37
5.4.410.0170.04719.27
5.4.400.0230.07018.89
5.4.390.0200.07319.13
5.4.380.0270.05018.79
5.4.370.0200.06318.91
5.4.360.0270.07019.16
5.4.350.0170.04319.13
5.4.340.0200.05018.93
5.4.320.0200.08018.91
5.4.310.0230.05018.81
5.4.300.0400.03719.07
5.4.290.0270.06719.23
5.4.280.0300.07019.09
5.4.270.0130.04319.14
5.4.260.0130.04718.91
5.4.250.0170.05019.07
5.4.240.0170.04018.92
5.4.230.0300.06719.07
5.4.220.0230.04719.14
5.4.210.0230.04319.23
5.4.200.0200.03719.13
5.4.190.0170.04019.23
5.4.180.0230.03719.24
5.4.170.0170.04018.87
5.4.160.0170.04019.04
5.4.150.0200.03719.14
5.4.140.0200.04316.29
5.4.130.0200.03316.44
5.4.120.0200.03316.43
5.4.110.0230.03716.39
5.4.100.0230.03016.39
5.4.90.0200.03316.41
5.4.80.0200.03316.37

preferences:
42.85 ms | 401 KiB | 5 Q