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:7;}'; $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.0120.00316.75
8.3.50.0070.00716.24
8.3.40.0070.00718.57
8.3.30.0070.00718.83
8.3.20.0050.00220.10
8.3.10.0050.00323.57
8.3.00.0040.00419.79
8.2.180.0160.00618.63
8.2.170.0100.01022.96
8.2.160.0100.00319.26
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0050.00226.16
8.2.120.0030.00617.50
8.2.110.0090.00021.04
8.2.100.0090.00317.75
8.2.90.0060.00319.08
8.2.80.0060.00317.97
8.2.70.0050.00317.36
8.2.60.0050.00317.80
8.2.50.0060.00618.07
8.2.40.0080.00020.91
8.2.30.0090.00019.88
8.2.20.0060.00317.70
8.2.10.0050.00218.12
8.2.00.0040.00418.00
8.1.280.0190.00325.92
8.1.270.0040.00420.20
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00024.00
8.1.230.0030.00820.97
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0030.01017.35
8.1.190.0000.00817.00
8.1.180.0040.00418.10
8.1.170.0000.00818.53
8.1.160.0020.00521.95
8.1.150.0000.00818.79
8.1.140.0000.00817.45
8.1.130.0000.00717.63
8.1.120.0070.00017.40
8.1.110.0040.00417.40
8.1.100.0080.00317.44
8.1.90.0000.00717.39
8.1.80.0070.00017.39
8.1.70.0000.00717.41
8.1.60.0060.00317.50
8.1.50.0040.00417.52
8.1.40.0050.00317.49
8.1.30.0030.00617.73
8.1.20.0000.00717.52
8.1.10.0040.00417.61
8.1.00.0030.00617.49
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0000.00718.45
8.0.270.0000.00717.18
8.0.260.0030.00317.26
8.0.250.0070.00016.99
8.0.240.0080.00017.05
8.0.230.0000.00717.07
8.0.220.0030.00316.98
8.0.210.0030.00516.96
8.0.200.0030.00316.89
8.0.190.0020.00516.98
8.0.180.0030.00616.97
8.0.170.0000.00716.97
8.0.160.0000.00817.00
8.0.150.0000.00717.02
8.0.140.0040.00416.94
8.0.130.0030.00313.39
8.0.120.0030.00516.94
8.0.110.0050.00217.02
8.0.100.0040.00416.86
8.0.90.0050.00216.88
8.0.80.0040.01116.96
8.0.70.0050.00316.68
8.0.60.0000.00816.89
8.0.50.0070.00017.01
8.0.30.0060.01316.84
8.0.20.0080.01017.40
8.0.10.0040.00416.85
8.0.00.0070.01116.95
7.4.330.0030.00315.08
7.4.320.0060.00016.45
7.4.300.0060.00016.57
7.4.290.0040.00416.60
7.4.280.0050.00316.43
7.4.270.0040.00416.51
7.4.260.0070.00016.50
7.4.250.0000.00716.52
7.4.240.0050.00316.43
7.4.230.0000.00716.46
7.4.220.0070.01116.65
7.4.210.0100.00716.51
7.4.200.0050.00216.34
7.4.160.0120.00416.49
7.4.150.0120.00617.40
7.4.140.0080.01217.86
7.4.130.0080.01116.53
7.4.120.0050.01516.59
7.4.110.0090.00916.60
7.4.100.0060.01216.48
7.4.90.0100.00616.44
7.4.80.0080.00819.39
7.4.70.0100.00716.28
7.4.60.0080.00816.43
7.4.50.0040.00416.49
7.4.40.0100.00716.63
7.4.30.0150.00616.56
7.4.00.0090.00915.05
7.3.330.0020.00213.27
7.3.320.0020.00213.33
7.3.310.0040.00416.48
7.3.300.0030.00316.39
7.3.290.0040.00416.43
7.3.280.0100.00616.39
7.3.270.0040.01317.40
7.3.260.0070.01016.66
7.3.250.0110.00816.38
7.3.240.0030.01416.24
7.3.230.0140.00716.39
7.3.210.0100.00716.32
7.3.200.0100.00716.50
7.3.190.0160.00616.53
7.3.180.0130.00316.60
7.3.170.0100.00716.51
7.3.160.0160.00716.59
7.3.10.0080.00816.39
7.3.00.0080.00816.15
7.2.330.0150.00516.63
7.2.320.0060.01516.72
7.2.310.0230.00016.42
7.2.300.0060.01116.53
7.2.290.0120.00516.53
7.2.130.0070.01016.42
7.2.120.0060.00916.40
7.2.110.0120.00416.45
7.2.100.0130.00916.18
7.2.90.0190.00316.18
7.2.80.0000.01416.52
7.2.70.0110.00616.09
7.2.60.0080.01216.49
7.2.50.0090.00916.22
7.2.40.0180.00016.16
7.2.30.0070.01816.29
7.2.20.0110.00816.16
7.2.10.0150.00916.14
7.2.00.0050.01118.10
7.1.250.0100.00315.46
7.1.200.0030.01015.99
7.1.100.0040.00718.05
7.1.70.0060.00317.10
7.1.60.0100.01420.03
7.1.50.0040.00816.96
7.1.00.0070.07322.57
7.0.200.0000.01016.73
7.0.60.0100.03319.97
7.0.50.0000.04317.77
7.0.40.0100.08719.98
7.0.30.0570.07020.21
7.0.20.0200.05720.09
7.0.10.0170.05320.09
7.0.00.0000.05720.12
5.6.280.0030.06020.80
5.6.210.0200.06320.69
5.6.200.0030.05318.19
5.6.190.0130.03720.29
5.6.180.4100.04720.42
5.6.170.0170.06020.41
5.6.160.0070.04720.40
5.6.150.0070.05718.22
5.6.140.0070.06318.18
5.6.130.0130.05018.13
5.6.120.0030.05021.01
5.6.110.0130.08021.14
5.6.100.0070.07321.05
5.6.90.0070.09020.88
5.6.80.0130.07320.50
5.6.70.0330.04320.38
5.5.350.0300.06720.49
5.5.340.0070.03317.88
5.5.330.0030.04320.21
5.5.320.0300.07320.29
5.5.310.0430.07020.34
5.5.300.0030.03717.95
5.5.290.0100.03318.01
5.5.280.0130.07720.68
5.5.270.0030.04020.95
5.5.260.0070.09320.88
5.5.250.0100.03320.46
5.5.240.0230.07320.03
5.4.450.0500.05319.52
5.4.440.0500.05319.21
5.4.430.0430.05319.57
5.4.420.0570.04319.42
5.4.410.0570.05319.34
5.4.400.0400.05719.16
5.4.390.0470.05019.18
5.4.380.0430.06019.15
5.4.370.0430.05319.09
5.4.360.0530.04718.91
5.4.350.0400.05319.08
5.4.340.0500.05318.88
5.4.320.0430.05019.22
5.4.310.0300.06019.10
5.4.300.0400.05019.09
5.4.290.0470.04019.09
5.4.280.0370.05319.23
5.4.270.0430.04319.09
5.4.260.0370.05019.21
5.4.250.0400.05019.25
5.4.240.0370.05019.19
5.4.230.0370.05319.09
5.4.220.0330.06018.98
5.4.210.0470.04719.23
5.4.200.0370.06019.23
5.4.190.0470.06318.87
5.4.180.0430.05319.23
5.4.170.0370.05718.88
5.4.160.0400.05718.86
5.4.150.0430.04718.73
5.4.140.0470.04716.46
5.4.130.0330.04716.27
5.4.120.0430.04716.37
5.4.110.0430.04716.45
5.4.100.0400.05016.21
5.4.90.0400.05316.47
5.4.80.0470.04316.52
5.4.70.0230.03716.41
5.4.60.0200.04016.17
5.4.50.0030.07716.31
5.4.40.0070.06716.18
5.4.30.0070.05716.21
5.4.20.0200.04016.36

preferences:
47.48 ms | 400 KiB | 5 Q