3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Kelunik { public function __wakeup(Coffee $coffee = null) { if ($coffee === null) { $coffee = `brew new coffee`; } } } unserialize(serialize(new Kelunik));

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.80.0090.00018.31
8.3.70.0070.00716.63
8.3.60.0120.00616.50
8.3.50.0070.01221.07
8.3.40.0090.00918.54
8.3.30.0080.00818.79
8.3.20.0040.00420.16
8.3.10.0040.00423.72
8.3.00.0040.00423.66
8.2.200.0060.00316.75
8.2.190.0100.00316.63
8.2.180.0110.01118.14
8.2.170.0110.00422.96
8.2.160.0100.00321.86
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0090.00017.25
8.2.110.0030.00721.08
8.2.100.0110.00017.50
8.2.90.0020.00519.28
8.2.80.0000.00817.97
8.2.70.0000.00817.38
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0040.00421.13
8.2.30.0030.00617.80
8.2.20.0040.00417.60
8.2.10.0000.00817.93
8.2.00.0040.00417.80
8.1.290.0060.00330.84
8.1.280.0140.00025.92
8.1.270.0030.00620.38
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0000.00924.02
8.1.230.0080.00419.15
8.1.220.0080.00017.74
8.1.210.0000.00718.77
8.1.200.0060.00317.23
8.1.190.0000.00816.98
8.1.180.0000.00718.10
8.1.170.0030.00618.50
8.1.160.0080.00021.86
8.1.150.0070.00018.75
8.1.140.0030.01017.27
8.1.130.0080.00017.67
8.1.120.0000.00717.39
8.1.110.0040.00417.32
8.1.100.0040.00417.39
8.1.90.0020.00517.18
8.1.80.0070.00017.36
8.1.70.0030.00317.20
8.1.60.0000.00817.44
8.1.50.0040.00417.26
8.1.40.0040.00417.17
8.1.30.0050.00317.34
8.1.20.0070.00017.48
8.1.10.0060.00317.43
8.1.00.0000.00817.30
8.0.300.0040.00418.77
8.0.290.0040.00416.62
8.0.280.0030.00518.30
8.0.270.0030.00317.12
8.0.260.0000.00617.08
8.0.250.0030.00316.78
8.0.240.0030.00316.83
8.0.230.0000.00716.86
8.0.220.0030.00316.83
8.0.210.0050.00316.84
8.0.200.0040.00416.78
8.0.190.0000.00716.93
8.0.180.0030.00516.85
8.0.170.0060.00316.88
8.0.160.0050.00316.86
8.0.150.0070.00016.67
8.0.140.0070.00016.77
8.0.130.0000.00513.23
8.0.120.0020.00516.79
8.0.110.0000.00716.78
8.0.100.0000.00716.80
8.0.90.0030.00316.72
8.0.80.0110.00316.86
8.0.70.0040.00416.61
8.0.60.0000.00816.68
8.0.50.0080.00016.93
8.0.30.0090.01216.89
8.0.20.0140.00617.40
8.0.10.0000.00716.81
8.0.00.0110.00616.69
7.4.330.0000.00515.22
7.4.320.0060.00016.60
7.4.300.0030.00316.58
7.4.290.0100.00016.48
7.4.280.0060.00316.59
7.4.270.0030.00416.59
7.4.260.0100.00016.59
7.4.250.0040.00416.48
7.4.240.0020.00516.62
7.4.230.0040.00416.59
7.4.220.0110.00816.64
7.4.210.0090.01216.59
7.4.200.0000.00716.50
7.4.160.0110.00516.53
7.4.150.0070.01217.40
7.4.140.0130.00717.86
7.4.130.0120.00816.48
7.4.120.0110.00816.59
7.4.110.0130.00416.43
7.4.100.0060.01216.43
7.4.90.0100.00716.43
7.4.80.0140.00619.39
7.4.70.0070.01016.21
7.4.60.0060.01016.56
7.4.50.0060.00316.17
7.4.40.0160.00016.51
7.4.30.0060.01616.65
7.4.00.0030.01214.85
7.3.330.0050.00013.44
7.3.320.0000.00613.31
7.3.310.0000.00816.42
7.3.300.0070.00016.36
7.3.290.0070.00816.36
7.3.280.0120.01016.40
7.3.270.0030.01417.40
7.3.260.0110.00616.54
7.3.250.0140.00716.35
7.3.240.0030.01516.36
7.3.230.0090.00916.41
7.3.210.0060.01616.41
7.3.200.0060.01516.45
7.3.190.0330.00816.40
7.3.180.0050.01116.47
7.3.170.0150.00516.42
7.3.160.0080.01216.38
7.2.330.0140.00416.46
7.2.320.0130.00416.59
7.2.310.0120.00616.54
7.2.300.0090.00816.40
7.2.290.0090.00916.59
7.2.110.0190.01616.28
7.2.60.0080.00816.71
7.2.00.0040.00919.16
7.1.200.0070.00415.76
7.1.100.0850.00017.93
7.1.70.0000.00917.18
7.1.60.0150.01219.42
7.1.50.0130.01416.93
7.1.00.0000.08022.44
7.0.200.0060.00316.69
7.0.60.0070.07719.96
7.0.50.0100.05017.95
7.0.40.0070.06720.39
7.0.30.0470.06020.16
7.0.20.0200.09020.33
7.0.10.0070.06020.10
7.0.00.0130.05720.20
5.6.280.0070.04721.14
5.6.210.0100.08320.73
5.6.200.0100.08318.20
5.6.190.0100.08720.42
5.6.180.0330.04020.60
5.6.170.0370.03720.39
5.6.160.0070.04020.54
5.6.150.0000.05318.22
5.6.140.0130.07318.20
5.6.130.0100.03318.24
5.6.120.0030.05721.01
5.6.110.0100.08021.00
5.6.100.0070.03720.97
5.6.90.0130.06720.94
5.6.80.0030.08020.41
5.5.350.0200.07720.36
5.5.340.0070.05317.99
5.5.330.0070.08320.37
5.5.320.0400.06720.41
5.5.310.0270.07720.27
5.5.300.0000.04318.02
5.5.290.0130.07718.13
5.5.280.0030.09020.63
5.5.270.0100.04020.90
5.5.260.0030.08720.88
5.5.250.0130.03320.55
5.5.240.0000.05320.17
5.4.450.0200.03719.33
5.4.440.0270.04319.32
5.4.430.0170.03719.32
5.4.420.0300.03719.17
5.4.410.0130.04019.29
5.4.400.0230.03019.07
5.4.390.0170.04019.13
5.4.380.0230.03318.85
5.4.370.0170.03718.88
5.4.360.0130.04319.09
5.4.350.0130.04318.85
5.4.340.0200.04019.00
5.4.320.0230.03319.13
5.4.310.0170.03719.12
5.4.300.0170.03319.09
5.4.290.0170.03319.09
5.4.280.0100.04718.88
5.4.270.0170.03719.21
5.4.260.0170.03319.13
5.4.250.0200.03318.88
5.4.240.0200.03718.88
5.4.230.0270.03318.85
5.4.220.0230.04719.08
5.4.210.0200.04019.25
5.4.200.0100.04019.31
5.4.190.0130.03719.15
5.4.180.0170.03719.17
5.4.170.0130.04019.26
5.4.160.0230.03019.17
5.4.150.0230.03319.10
5.4.140.0170.04016.42
5.4.130.0100.04016.40
5.4.120.0230.03716.57
5.4.110.0200.03316.35
5.4.100.0130.03716.54
5.4.90.0230.03716.36
5.4.80.0170.04716.61
5.4.70.0200.03016.57
5.4.60.0130.04016.36
5.4.50.0230.04016.56
5.4.40.0200.03316.31
5.4.30.0170.03716.29
5.4.20.0170.03316.21
5.4.10.0200.03316.32
5.4.00.0230.03015.84
5.3.290.0200.04014.64
5.3.280.0170.04314.71
5.3.270.0130.04014.70
5.3.260.0200.04014.53
5.3.250.0200.03014.52
5.3.240.0130.03714.72
5.3.230.0130.04714.53
5.3.220.0130.04014.71
5.3.210.0200.04014.54
5.3.200.0170.03314.65
5.3.190.0200.04314.48
5.3.180.0200.03314.47
5.3.170.0300.03014.58
5.3.160.0270.02714.56
5.3.150.0200.04314.71
5.3.140.0230.03014.46
5.3.130.0270.02714.46
5.3.120.0300.03714.70
5.3.110.0230.07314.53
5.3.100.0270.03313.96
5.3.90.0230.06014.25
5.3.80.0300.05713.93
5.3.70.0130.04714.05
5.3.60.0200.03314.16
5.3.50.0300.03713.96
5.3.40.0200.06013.98
5.3.30.0170.03713.97
5.3.20.0100.05013.86
5.3.10.0130.03713.86
5.3.00.0200.03313.86
5.2.170.0200.02313.86
5.2.160.0170.02713.86
5.2.150.0200.03013.86
5.2.140.0130.03313.86
5.2.130.0130.03013.86
5.2.120.0170.02713.86
5.2.110.0200.02313.86
5.2.100.0200.06013.86
5.2.90.0170.03713.86
5.2.80.0200.03013.86
5.2.70.0230.04013.86
5.2.60.0170.03313.86
5.2.50.0170.03013.86
5.2.40.0130.06013.86
5.2.30.0100.03313.86
5.2.20.0130.04013.86
5.2.10.0100.03313.86
5.2.00.0270.02013.86
5.1.60.0200.02713.86
5.1.50.0130.04713.86
5.1.40.0170.05313.86
5.1.30.0170.02713.86
5.1.20.0130.02713.86
5.1.10.0170.03313.86
5.1.00.0170.02713.86
5.0.50.0100.01713.86
5.0.40.0100.01713.86
5.0.30.0100.04713.86
5.0.20.0070.03013.86
5.0.10.0130.01713.86
5.0.00.0130.02313.86
4.4.90.0070.01313.86
4.4.80.0030.01713.86
4.4.70.0030.01713.86
4.4.60.0030.01713.86
4.4.50.0000.01713.86
4.4.40.0030.02713.86
4.4.30.0030.02313.86
4.4.20.0070.01313.86
4.4.10.0100.01313.86
4.4.00.0030.02713.86
4.3.110.0100.01313.86
4.3.100.0030.01713.86
4.3.90.0030.01713.86
4.3.80.0070.02313.86
4.3.70.0030.01713.86
4.3.60.0100.01013.86
4.3.50.0030.02013.86
4.3.40.0070.04713.86
4.3.30.0070.02013.86
4.3.20.0070.03013.86
4.3.10.0030.02313.86
4.3.00.0030.01713.86

preferences:
64.5 ms | 401 KiB | 5 Q