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";a:0:{}}i:1;R:3;}'; $y = unserialize($x); //for($i = 0; $i < 5; $i++) { // $v[$i] = 'hi'.$i; //} unset($y[1]); var_dump($y);

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.0140.00718.41
8.3.50.0180.00921.92
8.3.40.0210.00018.80
8.3.30.0070.00718.67
8.3.20.0090.00620.21
8.3.10.0060.00323.48
8.3.00.0090.00019.38
8.2.180.0060.00918.29
8.2.170.0060.00922.96
8.2.160.0070.00720.35
8.2.150.0070.00424.18
8.2.140.0180.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0040.00421.04
8.2.100.0080.00317.80
8.2.90.0050.00319.07
8.2.80.0080.00017.97
8.2.70.0000.00817.62
8.2.60.0000.00817.54
8.2.50.0090.00018.07
8.2.40.0040.00419.11
8.2.30.0070.00020.63
8.2.20.0000.00817.56
8.2.10.0000.00718.11
8.2.00.0030.00517.98
8.1.280.0070.00725.92
8.1.270.0030.00623.96
8.1.260.0120.00626.35
8.1.250.0120.00628.09
8.1.240.0040.00422.48
8.1.230.0080.00417.66
8.1.220.0060.00317.79
8.1.210.0000.00918.77
8.1.200.0030.00617.12
8.1.190.0060.00317.00
8.1.180.0040.00418.10
8.1.170.0040.00418.28
8.1.160.0000.00721.87
8.1.150.0000.00720.54
8.1.140.0040.00419.56
8.1.130.0050.00217.59
8.1.120.0000.00717.28
8.1.110.0040.00417.27
8.1.100.0040.00417.30
8.1.90.0040.00317.31
8.1.80.0040.00417.46
8.1.70.0070.00017.28
8.1.60.0050.00317.43
8.1.50.0030.00617.44
8.1.40.0080.00017.49
8.1.30.0040.00417.57
8.1.20.0030.00517.70
8.1.10.0050.00217.61
8.1.00.0050.00317.53
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0030.00318.43
8.0.270.0000.00717.20
8.0.260.0030.00318.34
8.0.250.0060.00317.01
8.0.240.0030.00317.01
8.0.230.0000.01016.86
8.0.220.0030.00716.97
8.0.210.0040.00416.81
8.0.200.0080.00016.98
8.0.190.0050.00316.88
8.0.180.0070.00016.93
8.0.170.0040.00416.88
8.0.160.0070.00016.91
8.0.150.0050.00216.93
8.0.140.0000.00716.82
8.0.130.0060.00013.34
8.0.120.0040.00416.91
8.0.110.0070.00016.90
8.0.100.0070.00016.88
8.0.90.0000.00716.70
8.0.80.0080.00816.94
8.0.70.0000.00817.02
8.0.60.0020.00516.93
8.0.50.0070.00016.95
8.0.30.0140.00317.05
8.0.20.0130.00817.40
8.0.10.0040.00417.09
8.0.00.0130.00716.71
7.4.330.0030.00315.08
7.4.320.0000.00616.60
7.4.300.0090.00016.49
7.4.290.0030.00316.67
7.4.280.0000.00716.41
7.4.270.0070.00016.65
7.4.260.0070.00016.36
7.4.250.0040.00416.62
7.4.240.0050.00216.52
7.4.230.0040.00416.41
7.4.220.0070.02116.63
7.4.210.0060.00916.57
7.4.200.0050.00216.55
7.4.160.0070.01016.38
7.4.150.0080.01217.40
7.4.140.0240.01317.86
7.4.130.0060.01116.49
7.4.120.0110.00816.62
7.4.110.0130.01116.53
7.4.100.0110.00816.29
7.4.90.0130.01016.47
7.4.80.0000.01719.39
7.4.70.0110.00816.57
7.4.60.0060.01216.58
7.4.50.0040.00416.61
7.4.40.0120.00616.50
7.4.30.0150.00616.45
7.4.00.0060.00614.54
7.3.330.0030.00313.13
7.3.320.0030.00313.04
7.3.310.0070.00016.27
7.3.300.0040.00416.00
7.3.290.0130.00416.21
7.3.280.0080.00916.22
7.3.270.0090.00917.40
7.3.260.0150.00816.23
7.3.250.0110.00816.29
7.3.240.0080.00916.45
7.3.230.0070.01016.39
7.3.210.0100.01016.33
7.3.200.0090.01316.52
7.3.190.0080.00816.32
7.3.180.0120.00916.57
7.3.170.0140.00416.47
7.3.160.0130.01016.22
7.3.10.0030.00716.50
7.3.00.0040.00716.49
7.2.330.0150.00816.30
7.2.320.0130.00316.17
7.2.310.0030.01316.57
7.2.300.0160.00616.54
7.2.290.0090.00916.66
7.2.130.0030.00616.38
7.2.120.0060.00316.57
7.2.110.0080.00316.49
7.2.100.0030.00916.70
7.2.90.0070.00316.44
7.2.80.0070.00316.52
7.2.70.0040.01116.42
7.2.60.0040.00716.79
7.2.50.0110.00316.59
7.2.40.0060.00616.77
7.2.30.0070.00716.89
7.2.20.0030.01016.30
7.2.10.0000.01216.65
7.2.00.0070.00818.02
7.1.250.0080.00815.63
7.1.200.0070.00715.50
7.1.100.0000.00918.10
7.1.70.0000.00716.97
7.1.60.0100.01419.48
7.1.50.0070.01416.64
7.1.00.0100.07022.48
7.0.200.0360.00014.39
7.0.60.0230.06319.87
7.0.50.0030.04717.88
7.0.40.0030.08720.21
7.0.30.0330.05020.17
7.0.20.0200.05019.99
7.0.10.0070.08720.13
7.0.00.0030.04720.00
5.6.280.0070.06320.91
5.6.210.0200.07320.66
5.6.200.0130.07718.22
5.6.190.0170.07320.39
5.6.180.0300.07320.60
5.6.170.0330.07020.55
5.6.160.0100.04720.40
5.6.150.0030.06318.19
5.6.140.0070.06018.12
5.6.130.0030.05318.17
5.6.120.0170.08020.98
5.6.110.0130.07320.90
5.6.100.0100.06720.96
5.6.90.0130.07320.96
5.6.80.0100.06320.43
5.5.350.3130.03320.45
5.5.340.0170.05718.02
5.5.330.0130.05320.43
5.5.320.0270.07320.29
5.5.310.0370.07720.21
5.5.300.0030.08317.93
5.5.290.0100.08017.93
5.5.280.0000.08720.83
5.5.270.0030.07320.86
5.5.260.0100.08020.87
5.5.250.0070.04020.68
5.5.240.0170.04320.27

preferences:
53.62 ms | 401 KiB | 5 Q