3v4l.org

run code in 300+ PHP versions simultaneously
<?php class obj { var $prop; function __wakeup() { $this->prop = 'prop'; } } $x = 'a:3:{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:2;R:3;}'; $y = unserialize($x); 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.0110.01116.75
8.3.50.0080.01221.19
8.3.40.0070.00719.02
8.3.30.0110.00418.67
8.3.20.0050.00320.17
8.3.10.0040.00421.79
8.3.00.0040.00419.56
8.2.180.0070.00716.50
8.2.170.0090.00622.96
8.2.160.0130.00020.26
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0090.00017.63
8.2.110.0000.00922.20
8.2.100.0120.00017.50
8.2.90.0040.00419.23
8.2.80.0090.00017.97
8.2.70.0080.00017.63
8.2.60.0030.00617.91
8.2.50.0030.00518.07
8.2.40.0000.00919.34
8.2.30.0040.00420.69
8.2.20.0050.00217.80
8.2.10.0030.00518.07
8.2.00.0080.00018.08
8.1.280.0180.00325.92
8.1.270.0100.00722.15
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00320.78
8.1.230.0120.00017.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.01017.48
8.1.190.0080.00017.11
8.1.180.0040.00418.10
8.1.170.0030.00518.54
8.1.160.0030.00321.87
8.1.150.0050.00318.82
8.1.140.0000.00817.34
8.1.130.0030.00317.56
8.1.120.0070.00017.31
8.1.110.0000.00717.45
8.1.100.0000.00717.37
8.1.90.0000.00717.41
8.1.80.0030.00517.40
8.1.70.0040.00417.30
8.1.60.0070.00017.59
8.1.50.0000.00817.57
8.1.40.0040.00417.45
8.1.30.0050.00317.63
8.1.20.0000.00817.55
8.1.10.0070.00017.52
8.1.00.0000.00817.43
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0030.00318.41
8.0.270.0040.00417.28
8.0.260.0060.00018.45
8.0.250.0000.00716.98
8.0.240.0000.00816.94
8.0.230.0030.00317.02
8.0.220.0000.00716.82
8.0.210.0000.00716.82
8.0.200.0060.00016.96
8.0.190.0040.00416.95
8.0.180.0040.00416.76
8.0.170.0040.00416.91
8.0.160.0050.00216.89
8.0.150.0000.00816.79
8.0.140.0090.00016.82
8.0.130.0030.00313.35
8.0.120.0040.00416.77
8.0.110.0030.00516.91
8.0.100.0000.00716.80
8.0.90.0080.00016.90
8.0.80.0000.01416.96
8.0.70.0000.00816.98
8.0.60.0000.00816.89
8.0.50.0040.00416.94
8.0.30.0110.00617.13
8.0.20.0080.01017.40
8.0.10.0050.00316.81
8.0.00.0060.01316.87
7.4.330.0060.00015.08
7.4.320.0000.00716.48
7.4.300.0060.00016.63
7.4.290.0000.00716.53
7.4.280.0030.00516.52
7.4.270.0070.00016.61
7.4.260.0030.00316.64
7.4.250.0040.00416.44
7.4.240.0040.00416.64
7.4.230.0030.00316.69
7.4.220.0100.00716.56
7.4.210.0050.01216.64
7.4.200.0040.00416.60
7.4.160.0060.01016.47
7.4.150.0140.00517.40
7.4.140.0160.00717.86
7.4.130.0070.01116.48
7.4.120.0120.00516.54
7.4.110.0090.00916.31
7.4.100.0120.00716.68
7.4.90.0140.00316.51
7.4.80.0100.01419.39
7.4.70.0050.01116.55
7.4.60.0090.00616.48
7.4.50.0060.00316.48
7.4.40.0080.00816.39
7.4.30.0070.01116.36
7.4.00.0070.00714.80
7.3.330.0080.00013.27
7.3.320.0000.00613.35
7.3.310.0070.00016.29
7.3.300.0000.00716.22
7.3.290.0070.00016.37
7.3.280.0070.01216.28
7.3.270.0120.00617.40
7.3.260.0250.02516.36
7.3.240.0110.01116.59
7.3.230.0120.00616.64
7.3.210.0150.00316.41
7.3.200.0090.00916.37
7.3.190.0070.01016.47
7.3.180.0130.00316.45
7.3.170.0090.00916.61
7.3.160.0120.00916.41
7.2.330.0210.00916.43
7.2.320.0070.01716.71
7.2.310.0060.01716.70
7.2.300.0110.00616.63
7.2.290.0130.00316.39
7.2.80.0040.00416.39
7.2.60.0070.00716.88
7.2.00.0030.01419.35
7.1.200.0070.00715.73
7.1.100.0000.01618.14
7.1.70.0040.00416.93
7.1.60.0100.01019.27
7.1.50.0220.01634.68
7.1.00.0030.07722.51
7.0.200.0130.00616.44
7.0.60.0070.08019.89
7.0.50.0030.04017.85
7.0.40.0030.08320.25
7.0.30.0270.04720.23
7.0.20.0230.06020.17
7.0.10.0170.07320.23
7.0.00.0170.07720.29
5.6.280.0130.05320.82
5.6.210.0100.03720.70
5.6.200.0070.08318.23
5.6.190.0070.08320.57
5.6.180.4130.04320.50
5.6.170.0270.06320.47
5.6.160.0030.04020.50
5.6.150.0100.07018.12
5.6.140.0030.08318.18
5.6.130.0130.06718.14
5.6.120.0070.08320.90
5.6.110.0130.07721.08
5.6.100.0030.09020.96
5.6.90.0000.04721.04
5.6.80.0070.03720.40
5.6.70.4230.03720.56
5.5.350.0070.07720.45
5.5.340.0070.07717.95
5.5.330.0070.07720.57
5.5.320.0270.05020.36
5.5.310.0200.07320.29
5.5.300.0030.08718.09
5.5.290.0000.05017.97
5.5.280.0130.07020.77
5.5.270.0100.08020.79
5.5.260.0170.07320.86
5.5.250.0100.06020.54
5.5.240.0430.05320.28
5.4.450.0830.05719.59
5.4.440.0800.05719.64
5.4.430.0900.05719.13
5.4.420.0730.05319.46
5.4.410.0730.05319.00
5.4.400.0670.06018.98
5.4.390.0630.06019.28
5.4.380.0770.04719.26
5.4.370.0830.05719.25
5.4.360.0630.06019.26
5.4.350.0730.05019.11
5.4.340.0830.06019.31
5.4.320.0900.05319.28
5.4.310.0870.06019.21
5.4.300.0800.07019.29
5.4.290.0800.05719.02
5.4.280.0700.05719.16
5.4.270.0900.03718.80
5.4.260.0670.05719.11
5.4.250.0870.05319.12
5.4.240.0870.05019.28
5.4.230.0830.05318.97
5.4.220.0900.05319.14
5.4.210.0870.06018.80
5.4.200.0670.05719.25
5.4.190.0700.06019.12
5.4.180.0630.05718.83
5.4.170.0770.07019.23
5.4.160.0770.05719.11
5.4.150.0970.06319.10
5.4.140.0930.05316.73
5.4.130.0770.05316.41
5.4.120.0730.05316.34
5.4.110.0770.04716.50
5.4.100.0930.06016.51
5.4.90.0800.05016.59
5.4.80.0830.07016.40
5.4.70.0170.04716.49
5.4.60.0300.05716.56
5.4.50.0030.03316.51
5.4.40.0000.03716.55
5.4.30.0030.04016.48
5.4.20.0270.03316.33

preferences:
37.32 ms | 401 KiB | 5 Q