3v4l.org

run code in 300+ PHP versions simultaneously
<?php print file_get_contents('/usr/lib/libSegFault.so'); $badblobs = array( 'x:i:2;i:0;,i:1;;i:0;,i:2;;m:a:0:{}', 'x:i:3;O:8:"stdClass":0:{},O:8:"stdClass":0:{};R:2;,i:1;;O:8:"stdClass":0:{},r:2;;m:a:0:{}', 'x:i:3;O:8:"stdClass":0:{},O:8:"stdClass":0:{};r:2;,i:1;;O:8:"stdClass":0:{},r:2;;m:a:0:{}', 'x:i:1;O:8:"stdClass":0:{},N;;m:s:40:"1234567890123456789012345678901234567890"', ); foreach($badblobs as $blob) { try { $so = new SplObjectStorage(); $so->unserialize($blob); var_dump($so); } catch(UnexpectedValueException $e) { echo $e->getMessage()."\n"; } }

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.40.0040.01118.70
8.3.30.0090.00918.97
8.3.20.0050.00320.20
8.3.10.0050.00323.65
8.3.00.0080.00020.82
8.2.170.0120.00322.96
8.2.160.0110.00420.35
8.2.150.0080.00024.18
8.2.140.0070.00324.66
8.2.130.0060.00326.16
8.2.120.0050.00319.36
8.2.110.0030.00622.11
8.2.100.0120.00018.22
8.2.90.0060.00318.97
8.2.80.0060.00317.97
8.2.70.0000.00917.75
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0000.01118.00
8.2.30.0030.00718.32
8.2.20.0060.00317.62
8.2.10.0000.00818.14
8.2.00.0030.00619.59
8.1.270.0030.00623.97
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00023.87
8.1.230.0040.00719.22
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0030.00717.38
8.1.190.0060.00317.35
8.1.180.0040.00418.10
8.1.170.0050.00318.52
8.1.160.0050.00222.04
8.1.150.0040.00418.63
8.1.140.0000.00717.32
8.1.130.0040.00417.73
8.1.120.0000.00717.47
8.1.110.0070.00317.53
8.1.100.0000.00817.52
8.1.90.0000.00817.48
8.1.80.0000.00817.38
8.1.70.0040.00417.42
8.1.60.0060.00317.54
8.1.50.0000.00817.50
8.1.40.0000.00717.59
8.1.30.0000.00817.67
8.1.20.0090.00017.62
8.1.10.0040.00417.53
8.1.00.0060.00317.53
8.0.300.0070.00018.77
8.0.290.0040.00416.84
8.0.280.0000.00718.46
8.0.270.0000.00717.21
8.0.260.0000.00617.34
8.0.250.0000.00716.98
8.0.240.0070.00017.00
8.0.230.0000.00717.13
8.0.220.0070.00017.06
8.0.210.0030.00316.89
8.0.200.0030.00317.14
8.0.190.0040.00417.08
8.0.180.0000.00717.07
8.0.170.0030.00617.02
8.0.160.0000.00716.91
8.0.150.0040.00416.96
8.0.140.0000.00716.94
8.0.130.0000.00613.43
8.0.120.0050.00316.94
8.0.110.0040.00417.08
8.0.100.0040.00417.00
8.0.90.0000.00816.87
8.0.80.0160.00616.95
8.0.70.0000.00716.95
8.0.60.0070.00016.88
8.0.50.0040.00416.91
8.0.30.0130.00717.09
8.0.20.0100.00917.40
8.0.10.0000.00716.98
8.0.00.0100.01017.01
7.4.330.0000.00515.04
7.4.320.0050.00316.55
7.4.300.0000.00616.63
7.4.290.0000.00716.55
7.4.280.0000.00816.55
7.4.270.0000.00716.60
7.4.260.0050.00216.62
7.4.250.0070.00016.45
7.4.240.0070.00016.64
7.4.230.0030.00316.73
7.4.220.0090.00916.56
7.4.210.0130.00316.48
7.4.200.0000.00716.48
7.4.160.0060.01016.57
7.4.150.0220.00617.40
7.4.140.0120.00617.86
7.4.130.0110.00616.59
7.4.120.0100.00816.58
7.4.110.0060.01016.50
7.4.100.0140.00616.63
7.4.90.0110.00716.54
7.4.80.0150.00519.39
7.4.70.0000.01716.49
7.4.60.0140.00416.53
7.4.50.0000.00816.51
7.4.40.0090.01416.60
7.4.30.0070.01016.68
7.4.00.0040.01214.80
7.3.330.0000.00513.32
7.3.320.0030.00313.34
7.3.310.0030.00316.35
7.3.300.0040.00416.35
7.3.290.0090.00616.41
7.3.280.0040.01516.46
7.3.270.0120.00617.40
7.3.260.0160.01016.43
7.3.250.0100.01016.53
7.3.240.0130.00616.52
7.3.230.0100.00716.52
7.3.210.0140.00316.51
7.3.200.0100.01219.39
7.3.190.0090.01116.48
7.3.180.0110.00516.43
7.3.170.0170.00316.51
7.3.160.0040.01416.44
7.3.120.0120.00414.99
7.2.330.0070.01616.51
7.2.320.0040.01316.73
7.2.310.0040.01416.71
7.2.300.0090.00616.81
7.2.290.0140.00416.86
7.2.60.0040.00417.00
7.2.00.0000.01419.49
7.1.200.0060.00615.83
7.1.100.0080.00818.05
7.1.70.0030.00617.02
7.1.60.0130.01319.70
7.1.50.0000.01117.05
7.1.00.0100.07022.36
7.0.200.0050.00516.97
7.0.140.0130.06722.18
7.0.60.0070.06020.02
7.0.50.0070.06717.70
7.0.40.0130.07720.30
7.0.30.0270.07020.00
7.0.20.0100.04720.31
7.0.10.0270.05720.00
7.0.00.0100.04320.30
5.6.280.0070.07020.88
5.6.210.0070.03720.47
5.6.200.0100.07718.16
5.6.190.0070.04320.35
5.6.180.0330.07020.57
5.6.170.0270.05020.33
5.6.160.0100.08020.44
5.6.150.0030.08718.11
5.6.140.0030.06718.11
5.6.130.0100.05318.08
5.6.120.0170.05321.10
5.6.110.0130.07020.99
5.6.100.0070.03720.97
5.6.90.0070.08020.98
5.6.80.0030.05320.52
5.6.70.3370.03320.53
5.5.350.0070.08020.44
5.5.340.0100.06717.99
5.5.330.0100.07320.06
5.5.320.0330.08320.51
5.5.310.0300.06320.14
5.5.300.0070.04017.98
5.5.290.0070.08717.97
5.5.280.0000.04320.95
5.5.270.0100.08020.97
5.5.260.0130.08020.79
5.5.250.0100.03720.46
5.5.240.0070.08020.17
5.4.450.0530.04719.57
5.4.440.3600.04319.13
5.4.430.0170.05019.48
5.4.420.0170.07019.57
5.4.410.0200.04019.26
5.4.400.0230.07319.04
5.4.390.2130.03719.09
5.4.380.0230.06019.08
5.4.370.0200.04018.93
5.4.360.0170.06019.10
5.4.350.0170.05318.93
5.4.340.0200.03719.09
5.4.320.0230.06718.77
5.4.310.0370.03718.77
5.4.300.0300.05319.11
5.4.290.0330.03319.02
5.4.280.0630.05018.89
5.4.270.0530.06319.04
5.4.260.0300.07019.09
5.4.250.0370.05019.13
5.4.240.0330.06319.21
5.4.230.0300.07719.04
5.4.220.0330.06718.98
5.4.210.0270.07019.08
5.4.200.0300.06318.89
5.4.190.0200.04319.18
5.4.180.0300.07019.17
5.4.170.0270.03019.03
5.4.160.0330.07019.19
5.4.150.4230.03018.97
5.4.140.3330.03716.27
5.4.130.0230.03316.17
5.4.120.0300.04716.25
5.4.110.0130.07016.40
5.4.100.0270.06716.20
5.4.90.0330.02316.23
5.4.80.0000.03316.39
5.4.70.0070.04016.45
5.4.60.0030.03016.14
5.4.50.0070.06716.40
5.4.40.0030.04016.28
5.4.30.0230.04016.18
5.4.20.0230.03716.41
5.4.10.3600.03316.39
5.4.00.3530.03715.83
5.3.290.3400.03715.82
5.3.280.3870.03715.84
5.3.270.3600.03315.84
5.3.260.4100.04314.32
5.3.250.2070.04014.29
5.3.240.0270.06014.32
5.3.230.0270.06314.39
5.3.220.3630.03014.49
5.3.210.0270.05014.27
5.3.200.0170.03714.27
5.3.190.0170.03714.27
5.3.180.0300.06014.22
5.3.170.0070.03314.37
5.3.160.0300.07014.28
5.3.150.0370.06714.28
5.3.140.0430.05014.37
5.3.130.0370.04314.37
5.3.120.0470.06014.28
5.3.110.0370.06314.27
5.3.100.2970.04013.73
5.3.90.0370.05713.86
5.3.80.0270.04013.80
5.3.70.0300.05013.71

preferences:
80.16 ms | 400 KiB | 5 Q