3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Person { public $name; public function __wakeup() { if( property_exists( $this, 'n1ame' ) ) { throw new Exception('oh no this data is bad'); } } } try { unserialize('O:6:"Person":1:{s:5:"n1ame";s:4:"mark";}'); } catch( Exception $e ) { echo 'nope cant unserialize it: ' . $e->getMessage(); }

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.4.130.0140.00818.76
8.4.120.0080.01023.96
8.4.110.0110.00920.65
8.4.100.0080.00218.73
8.4.90.0090.01120.58
8.4.80.0100.01018.94
8.4.70.0080.00618.13
8.4.60.0120.00917.72
8.4.50.0130.00719.73
8.4.40.0120.00917.88
8.4.30.0080.00017.91
8.4.20.0070.01417.73
8.4.10.0160.00319.72
8.3.260.0120.00716.82
8.3.250.0090.00519.16
8.3.240.0110.00816.95
8.3.230.0120.00816.59
8.3.220.0090.00519.00
8.3.210.0090.00518.51
8.3.200.0090.00916.42
8.3.190.0030.00416.83
8.3.180.0100.00516.51
8.3.170.0060.01219.00
8.3.160.0060.00316.43
8.3.150.0100.01016.86
8.3.140.0140.00316.92
8.3.130.0080.00018.77
8.3.120.0040.00419.01
8.3.110.0110.00420.94
8.3.100.0060.00324.06
8.3.90.0180.00026.77
8.3.80.0060.00318.30
8.3.70.0130.00616.75
8.3.60.0070.01118.52
8.3.50.0100.01018.00
8.3.40.0090.00618.89
8.3.30.0150.00418.55
8.3.20.0030.00519.08
8.3.10.0040.00421.95
8.3.00.0000.00823.63
8.2.290.0110.00820.32
8.2.280.0030.00518.69
8.2.270.0130.00617.31
8.2.260.0040.00417.11
8.2.250.0030.01418.35
8.2.240.0160.00318.79
8.2.230.0060.00322.58
8.2.220.0040.00437.54
8.2.210.0040.00426.77
8.2.200.0110.00017.00
8.2.190.0160.00317.00
8.2.180.0100.01016.50
8.2.170.0040.01122.96
8.2.160.0070.00718.89
8.2.150.0000.00824.18
8.2.140.0040.00724.66
8.2.130.0040.00426.16
8.2.120.0060.00319.31
8.2.110.0030.00619.16
8.2.100.0090.00317.89
8.2.90.0040.00417.75
8.2.80.0040.00418.94
8.2.70.0000.00817.50
8.2.60.0040.00417.63
8.2.50.0040.00418.05
8.2.40.0080.00017.63
8.2.30.0080.00017.77
8.2.20.0000.00818.12
8.2.10.0000.00717.93
8.2.00.0040.00419.31
8.1.330.0130.00522.18
8.1.320.0120.00818.20
8.1.310.0060.00818.43
8.1.300.0030.00618.49
8.1.290.0030.00630.84
8.1.280.0110.00725.92
8.1.270.0080.00022.13
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.80
8.1.230.0040.00717.70
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0000.00817.48
8.1.190.0000.00817.13
8.1.180.0000.00818.10
8.1.170.0040.00417.62
8.1.160.0040.00419.07
8.1.150.0070.00018.61
8.1.140.0050.00319.03
8.1.130.0000.00719.03
8.1.120.0000.00717.50
8.1.110.0000.00717.36
8.1.100.0000.00817.48
8.1.90.0080.00017.47
8.1.80.0050.00317.47
8.1.70.0000.00717.46
8.1.60.0000.00817.58
8.1.50.0040.00417.39
8.1.40.0040.00417.57
8.1.30.0100.00017.66
8.1.20.0030.00517.56
8.1.10.0070.00317.58
8.1.00.0040.00417.52
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0050.00218.62
8.0.270.0000.00717.14
8.0.260.0030.00317.26
8.0.250.0030.00317.07
8.0.240.0040.00416.92
8.0.230.0040.00416.99
8.0.220.0000.00716.86
8.0.210.0030.00316.95
8.0.200.0000.00816.94
8.0.190.0040.00416.98
8.0.180.0000.00816.92
8.0.170.0040.00417.01
8.0.160.0070.00016.99
8.0.150.0000.00716.93
8.0.140.0040.00416.95
8.0.130.0030.00313.40
8.0.120.0070.00016.88
8.0.110.0000.00816.91
8.0.100.0000.00716.91
8.0.90.0000.00716.93
8.0.80.0090.00916.93
8.0.70.0040.00416.84
8.0.60.0050.00316.79
8.0.50.0040.00416.86
8.0.30.0110.00917.19
8.0.20.0140.00417.40
8.0.10.0050.00317.20
8.0.00.0100.01016.71
7.4.330.0000.00515.55
7.4.320.0000.00616.63
7.4.300.0060.00016.38
7.4.290.0060.00016.60
7.4.280.0030.00616.46
7.4.270.0000.00716.62
7.4.260.0050.00316.43
7.4.250.0040.00416.50
7.4.240.0030.00316.59
7.4.230.0030.00516.56
7.4.220.0000.00716.35
7.4.210.0080.00816.60
7.4.200.0000.00716.56
7.4.160.0110.00716.51
7.4.140.0120.00717.86
7.4.130.0030.01316.77
7.4.120.0060.01416.59
7.4.110.0100.00716.52
7.4.100.0090.00916.43
7.4.90.0060.01316.58
7.4.80.0040.01419.39
7.4.70.0030.01416.66
7.4.60.0030.01216.51
7.4.50.0110.00716.25
7.4.40.0220.00016.46
7.4.00.0140.00415.05
7.3.330.0070.00013.37
7.3.320.0050.00013.36
7.3.310.0000.00716.24
7.3.300.0070.00016.39
7.3.290.0050.00316.31
7.3.280.0110.00516.38
7.3.260.0110.00916.49
7.3.240.0110.01016.40
7.3.230.0160.00016.61
7.3.210.0070.01016.41
7.3.200.0080.00816.51
7.3.190.0030.01316.58
7.3.180.0110.00716.51
7.3.170.0180.00516.39
7.3.160.0090.00616.44
7.2.330.0000.02016.77
7.2.320.0110.00716.34
7.2.310.0100.00716.76
7.2.300.0100.00716.77
7.2.290.0100.01316.56
7.2.80.1500.00614.76
7.2.70.1120.01015.03
7.2.60.1100.01014.89
7.2.50.1140.01014.53
7.2.40.1130.01014.74
7.2.30.1000.01014.77
7.2.20.1160.00614.52
7.2.10.1040.00714.70
7.2.00.0950.01015.06
7.1.200.0100.00315.75
7.1.190.1320.01013.56
7.1.180.1170.00613.60
7.1.170.1120.00713.69
7.1.160.1040.00613.74
7.1.150.1040.00313.72
7.1.140.0990.01413.68
7.1.130.1170.00313.67
7.1.120.1100.01013.84
7.1.110.1080.00013.78
7.1.100.1050.00313.86
7.1.90.1290.00713.91
7.1.80.1190.01013.82
7.1.70.1270.00013.68
7.1.60.1860.00331.96
7.1.50.1860.00331.50
7.1.40.1960.01331.75
7.1.30.1910.00331.46
7.1.20.1890.00731.38
7.1.10.0610.01013.30
7.1.00.1170.01013.79

preferences:
27.97 ms | 403 KiB | 5 Q