3v4l.org

run code in 300+ PHP versions simultaneously
<?php class obj { var $prop; function __wakeup() { $this->prop = 'prop'; } } $x = 'a:4:{i:0;O:9:"exception":1:{s:17:"'."\0".'Exception'."\0".'string";a:1:{i:0;i:1;}}i:1;O:3:"obj":1:{s:4:"prop";R:2;}i:3;N;i:2;R:3;}'; $y = unserialize($x); for($i = 0; $i < 5; $i++) { $v[$i] = 'hi'.$i; } 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.0070.01016.50
8.3.50.0110.00416.34
8.3.40.0070.00718.86
8.3.30.0090.00618.54
8.3.20.0000.00819.91
8.3.10.0000.00721.85
8.3.00.0040.00419.68
8.2.180.0120.00316.63
8.2.170.0150.00022.96
8.2.160.0040.01120.47
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0090.00017.61
8.2.110.0030.00622.08
8.2.100.0060.00617.75
8.2.90.0000.00719.09
8.2.80.0050.00317.97
8.2.70.0080.00017.63
8.2.60.0080.00317.80
8.2.50.0050.00318.07
8.2.40.0000.00819.23
8.2.30.0050.00220.75
8.2.20.0060.00317.61
8.2.10.0040.00418.00
8.2.00.0030.00418.14
8.1.280.0110.00625.92
8.1.270.0040.00421.96
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.54
8.1.230.0090.00317.42
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00617.24
8.1.190.0080.00017.36
8.1.180.0060.00318.10
8.1.170.0040.00418.51
8.1.160.0040.00421.91
8.1.150.0030.00518.79
8.1.140.0000.00917.34
8.1.130.0000.00717.60
8.1.120.0070.00017.43
8.1.110.0000.00817.45
8.1.100.0040.00417.42
8.1.90.0040.00417.37
8.1.80.0030.00617.36
8.1.70.0000.00717.45
8.1.60.0000.00817.53
8.1.50.0060.00317.56
8.1.40.0040.00417.42
8.1.30.0000.00817.59
8.1.20.0030.00517.52
8.1.10.0030.00617.51
8.1.00.0000.00817.46
8.0.300.0000.00818.77
8.0.290.0000.00716.63
8.0.280.0070.00018.48
8.0.270.0050.00316.91
8.0.260.0030.00317.32
8.0.250.0050.00317.06
8.0.240.0000.00717.07
8.0.230.0000.00717.00
8.0.220.0040.00417.02
8.0.210.0070.00016.91
8.0.200.0000.00717.03
8.0.190.0000.00816.96
8.0.180.0040.00416.93
8.0.170.0070.00017.00
8.0.160.0040.00416.95
8.0.150.0050.00216.97
8.0.140.0000.00816.88
8.0.130.0030.00313.37
8.0.120.0040.00416.83
8.0.110.0080.00016.88
8.0.100.0040.00417.00
8.0.90.0030.00516.87
8.0.80.0130.00316.95
8.0.70.0040.00416.95
8.0.60.0040.00416.90
8.0.50.0000.00716.87
8.0.30.0080.00817.07
8.0.20.0120.01017.40
8.0.10.0050.00316.92
8.0.00.0090.01016.85
7.4.330.0050.00015.13
7.4.320.0040.00416.57
7.4.300.0000.00616.62
7.4.290.0050.00216.67
7.4.280.0030.00716.61
7.4.270.0040.00416.54
7.4.260.0030.00316.59
7.4.250.0030.00316.54
7.4.240.0030.00316.49
7.4.230.0070.00016.70
7.4.220.0100.00716.66
7.4.210.0080.01016.58
7.4.200.0030.00616.45
7.4.160.0160.00316.44
7.4.150.0030.01517.40
7.4.140.0130.01017.86
7.4.130.0050.01416.49
7.4.120.0060.01316.62
7.4.110.0080.01516.41
7.4.100.0090.00916.30
7.4.90.0150.00316.45
7.4.80.0140.00319.39
7.4.70.0090.01216.61
7.4.60.0110.00516.66
7.4.50.0030.00616.25
7.4.40.0060.01016.48
7.4.30.0070.01016.76
7.4.00.0030.00715.11
7.3.330.0050.00013.38
7.3.320.0030.00313.37
7.3.310.0040.00416.24
7.3.300.0030.00316.34
7.3.290.0060.00016.27
7.3.280.0080.00816.37
7.3.270.0040.01317.40
7.3.260.0030.02016.58
7.3.250.0110.00716.52
7.3.240.0090.00916.46
7.3.230.0080.00816.39
7.3.210.0090.00916.30
7.3.200.0130.00316.52
7.3.190.0100.01216.39
7.3.180.0170.00516.38
7.3.170.0070.01016.52
7.3.160.0160.00016.50
7.3.10.0170.00016.00
7.3.00.0100.00316.32
7.2.330.0110.00816.41
7.2.320.0030.02316.75
7.2.310.0110.00616.55
7.2.300.0080.00816.42
7.2.290.0070.01016.77
7.2.130.0100.00316.28
7.2.120.0100.00316.56
7.2.110.0090.00916.62
7.2.100.0090.01116.46
7.2.90.0080.01216.52
7.2.80.0190.00916.38
7.2.70.0150.00416.42
7.2.60.0050.01016.94
7.2.50.0040.01616.62
7.2.40.0160.00316.29
7.2.30.0000.01816.24
7.2.20.0130.00416.80
7.2.10.0160.00316.22
7.2.00.0140.00217.97
7.1.250.0180.00615.48
7.1.200.0060.00915.77
7.1.100.0040.00818.07
7.1.70.0110.00017.11
7.1.60.0030.01019.27
7.1.50.0170.02334.87
7.1.00.0100.07022.33
7.0.200.0260.00716.46
7.0.60.0030.04320.01
7.0.50.0000.04317.89
7.0.40.0030.07320.24
7.0.30.0130.06720.21
7.0.20.0270.08720.08
7.0.10.0170.07720.23
7.0.00.0070.06320.30
5.6.280.0000.06321.04
5.6.210.0130.03020.71
5.6.200.0100.07718.15
5.6.190.0130.04720.64
5.6.180.3870.04320.63
5.6.170.0230.06320.44
5.6.160.0030.04020.54
5.6.150.0030.08318.22
5.6.140.0130.04018.14
5.6.130.0030.08018.28
5.6.120.0030.05021.12
5.6.110.0170.06720.98
5.6.100.0070.08320.96
5.6.90.0000.04721.03
5.6.80.0200.07020.36
5.6.70.4630.04020.30
5.5.350.0100.07320.39
5.5.340.0200.06017.99
5.5.330.0030.05020.13
5.5.320.0230.03720.32
5.5.310.0270.07720.33
5.5.300.0170.05717.95
5.5.290.0100.06718.03
5.5.280.0100.06320.95
5.5.270.0100.07720.87
5.5.260.0130.07720.68
5.5.250.0100.08020.59
5.5.240.0170.03020.29
5.4.450.0900.05319.29
5.4.440.0870.06319.62
5.4.430.0730.06019.45
5.4.420.0800.05019.14
5.4.410.0870.04719.32
5.4.400.0930.05019.13
5.4.390.0900.05019.10
5.4.380.0800.05319.32
5.4.370.0830.05318.80
5.4.360.0670.06719.18
5.4.350.0630.06019.18
5.4.340.0670.06318.84
5.4.320.0730.05319.02
5.4.310.0900.05318.84
5.4.300.0870.05719.20
5.4.290.0700.06318.81
5.4.280.0800.05019.29
5.4.270.0770.05019.21
5.4.260.0800.05019.18
5.4.250.0970.05319.12
5.4.240.0670.06319.02
5.4.230.0870.05319.25
5.4.220.0770.05019.10
5.4.210.0730.06319.31
5.4.200.0800.05718.84
5.4.190.0800.04018.83
5.4.180.0630.06019.31
5.4.170.0770.05719.27
5.4.160.0870.06319.29
5.4.150.0900.04719.18
5.4.140.0900.04716.33
5.4.130.1000.05016.32
5.4.120.0800.05716.41
5.4.110.0930.04316.67
5.4.100.0930.05716.59
5.4.90.0800.05016.61
5.4.80.0830.05016.43
5.4.70.0200.06016.40
5.4.60.0300.05316.51
5.4.50.0070.03016.40
5.4.40.0030.07316.40
5.4.30.0070.07016.40
5.4.20.0300.07016.30

preferences:
53 ms | 400 KiB | 5 Q