3v4l.org

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

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.70.0130.00918.56
8.3.60.0060.00916.75
8.3.50.0120.00621.25
8.3.40.0070.00718.74
8.3.30.0090.00618.86
8.3.20.0040.01420.30
8.3.10.0080.00023.66
8.3.00.0000.00919.56
8.2.180.0110.01118.29
8.2.170.0100.00322.96
8.2.160.0090.00620.52
8.2.150.0040.00425.66
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00417.75
8.2.110.0040.00722.12
8.2.100.0100.00017.91
8.2.90.0060.00318.99
8.2.80.0000.00817.97
8.2.70.0090.00017.63
8.2.60.0000.01017.80
8.2.50.0050.00318.07
8.2.40.0060.00321.16
8.2.30.0040.00419.71
8.2.20.0040.00417.70
8.2.10.0090.00018.12
8.2.00.0000.00817.93
8.1.280.0170.00325.92
8.1.270.0110.00720.29
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00621.15
8.1.230.0040.00817.52
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0050.00517.13
8.1.190.0090.00017.35
8.1.180.0050.00318.10
8.1.170.0030.00618.65
8.1.160.0000.00721.85
8.1.150.0040.00318.73
8.1.140.0080.00017.31
8.1.130.0080.00017.55
8.1.120.0070.00017.37
8.1.110.0000.00717.35
8.1.100.0040.00417.27
8.1.90.0000.00717.47
8.1.80.0070.00017.38
8.1.70.0020.00517.41
8.1.60.0000.00817.60
8.1.50.0080.00017.42
8.1.40.0080.00017.56
8.1.30.0000.00917.61
8.1.20.0000.00717.60
8.1.10.0040.00417.51
8.1.00.0040.00417.40
8.0.300.0000.00718.77
8.0.290.0050.00316.75
8.0.280.0070.00018.43
8.0.270.0000.00717.17
8.0.260.0070.00017.19
8.0.250.0000.00716.94
8.0.240.0080.00016.98
8.0.230.0070.00016.96
8.0.220.0030.00316.84
8.0.210.0070.00016.86
8.0.200.0060.00016.93
8.0.190.0040.00416.89
8.0.180.0050.00216.98
8.0.170.0040.00417.00
8.0.160.0000.00716.92
8.0.150.0040.00416.87
8.0.140.0040.00316.87
8.0.130.0030.00313.43
8.0.120.0030.00316.96
8.0.110.0070.00016.82
8.0.100.0040.00416.84
8.0.90.0040.00417.07
8.0.80.0060.00916.91
8.0.70.0070.00017.00
8.0.60.0000.00816.99
8.0.50.0000.00716.85
8.0.30.0150.00417.10
8.0.20.0130.00517.40
8.0.10.0040.00417.07
8.0.00.0080.00916.80
7.4.330.0050.00015.20
7.4.320.0060.00016.55
7.4.300.0020.00516.58
7.4.290.0040.00416.41
7.4.280.0050.00216.52
7.4.270.0030.00316.59
7.4.260.0030.00316.48
7.4.250.0030.00316.46
7.4.240.0040.00416.61
7.4.230.0000.00716.54
7.4.220.0000.01416.54
7.4.210.0090.00616.58
7.4.200.0000.00716.58
7.4.160.0070.00716.45
7.4.150.0070.01017.40
7.4.140.0150.00817.86
7.4.130.0100.00816.46
7.4.120.0120.00616.46
7.4.110.0060.01216.57
7.4.100.0160.00616.50
7.4.90.0140.00316.49
7.4.80.0130.01019.39
7.4.70.0060.01016.57
7.4.60.0110.00516.33
7.4.50.0000.00816.46
7.4.40.0030.01316.38
7.4.30.0060.01716.55
7.4.00.0080.00814.86
7.3.330.0070.00013.17
7.3.320.0060.00013.19
7.3.310.0070.00016.21
7.3.300.0030.00316.32
7.3.290.0040.01516.18
7.3.280.0090.00616.21
7.3.270.0140.01017.40
7.3.260.0060.01216.46
7.3.250.0070.01016.52
7.3.240.0100.00716.43
7.3.230.0070.01016.40
7.3.210.0130.00316.38
7.3.200.0150.00616.26
7.3.190.0090.00916.41
7.3.180.0080.00816.34
7.3.170.0060.01416.53
7.3.160.0090.00616.21
7.2.330.0110.00816.61
7.2.320.0150.00916.63
7.2.310.0170.00016.48
7.2.300.0000.01616.70
7.2.290.0140.00316.64
7.2.60.0030.00716.91
7.2.00.0030.00919.28
7.1.200.0060.00615.82
7.1.100.0000.01017.86
7.1.70.0000.00917.28
7.1.60.0090.01620.03
7.1.50.0100.01016.88
7.1.00.0070.07322.37
7.0.200.0000.01116.66
7.0.60.0030.05319.95
7.0.50.0170.06717.83
7.0.40.0070.07319.98
7.0.30.0270.08320.16
7.0.20.0170.05020.09
7.0.10.0030.09020.01
7.0.00.0100.06020.20
5.6.280.0070.06321.09
5.6.210.0000.06720.46
5.6.200.0100.05318.18
5.6.190.0030.05020.60
5.6.180.0200.07020.35
5.6.170.0200.07320.47
5.6.160.0030.04020.54
5.6.150.0030.07018.12
5.6.140.0000.04318.09
5.6.130.0030.07018.21
5.6.120.0000.07321.01
5.6.110.0030.05320.99
5.6.100.0070.06721.13
5.6.90.0130.07020.99
5.6.80.0030.06320.47
5.5.350.2230.04020.28
5.5.340.0100.05017.95
5.5.330.0130.07020.43
5.5.320.0300.04720.29
5.5.310.0200.05320.27
5.5.300.0000.06018.02
5.5.290.0070.08317.97
5.5.280.0070.08020.86
5.5.270.0030.04320.87
5.5.260.0130.08320.79
5.5.250.0000.06720.65
5.5.240.0130.07020.28
5.4.450.0300.04019.30
5.4.440.0130.06019.25
5.4.430.0100.06019.24
5.4.420.0270.04319.41
5.4.410.0130.05719.38
5.4.400.0230.04319.18
5.4.390.0070.06018.79
5.4.380.0170.07018.92
5.4.370.0200.04718.97
5.4.360.0100.06018.75
5.4.350.0170.05019.21
5.4.340.0200.05019.04
5.4.320.0130.05318.92
5.4.310.0270.04019.07
5.4.300.0130.05719.22
5.4.290.0200.05019.24
5.4.280.0130.05318.75
5.4.270.0230.04318.75
5.4.260.0170.05018.97
5.4.250.0070.06018.76
5.4.240.0170.05318.77
5.4.230.0170.05019.23
5.4.220.0170.05319.07
5.4.210.0170.05018.75
5.4.200.0200.04719.09
5.4.190.0270.04319.12
5.4.180.0230.04719.15
5.4.170.0100.05718.91
5.4.160.0130.05318.95
5.4.150.0170.05318.86
5.4.140.0170.05016.43
5.4.130.0100.05016.60
5.4.120.0070.06016.32
5.4.110.0170.05016.54
5.4.100.0200.04316.51
5.4.90.0230.04316.46
5.4.80.0170.05016.54
5.4.70.0200.04016.18
5.4.60.0200.07016.06
5.4.50.0230.07316.16
5.4.40.0270.06016.41
5.4.30.0030.07716.19
5.4.20.0030.06716.37
5.4.10.0330.05716.27

preferences:
45.11 ms | 401 KiB | 5 Q