3v4l.org

run code in 300+ PHP versions simultaneously
<?php class FooBar { public function __get($text) { throw new \Exception(); } } try { $foobar = new FooBar(); $foobar->hello; } catch (\Exception $e) { var_dump($e); }

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.120.0100.01020.64
8.4.110.0120.01020.58
8.4.100.0160.00618.82
8.4.90.0120.00818.91
8.4.80.0100.01020.62
8.4.70.0140.00818.17
8.4.60.0140.00718.88
8.4.50.0070.00318.72
8.4.40.0100.01020.63
8.4.30.0100.01020.31
8.4.20.0100.01017.89
8.4.10.0130.00719.70
8.3.250.0140.00518.95
8.3.240.0110.00716.35
8.3.230.0150.00416.82
8.3.220.0060.00218.98
8.3.210.0130.00816.71
8.3.200.0040.00416.63
8.3.190.0110.00817.22
8.3.180.0140.00516.92
8.3.170.0070.01420.79
8.3.160.0100.01016.81
8.3.150.0120.00316.69
8.3.140.0120.00617.05
8.3.130.0070.00318.51
8.3.120.0040.00418.95
8.3.110.0090.00020.94
8.3.100.0000.00924.06
8.3.90.0040.00426.77
8.3.80.0030.00619.36
8.3.70.0120.00316.63
8.3.60.0130.00718.30
8.3.50.0100.00523.47
8.3.40.0120.00618.97
8.3.30.0170.00318.66
8.3.20.0000.00820.91
8.3.10.0040.00419.96
8.3.00.0040.00421.70
8.2.290.0100.00920.48
8.2.280.0140.00718.31
8.2.270.0000.00817.33
8.2.260.0040.00416.48
8.2.250.0090.00616.66
8.2.240.0150.00017.21
8.2.230.0050.00322.58
8.2.220.0070.00337.54
8.2.210.0050.00326.77
8.2.200.0080.00418.88
8.2.190.0090.00616.63
8.2.180.0110.00418.16
8.2.170.0120.00619.02
8.2.160.0130.00722.03
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0050.00326.16
8.2.110.0090.00619.08
8.2.100.0040.00817.72
8.2.90.0000.00817.63
8.2.80.0060.00318.86
8.2.70.0030.00617.93
8.2.60.0000.00818.09
8.2.50.0080.00018.10
8.2.40.0000.00819.39
8.2.30.0000.00919.20
8.2.20.0000.00817.87
8.2.10.0070.00019.22
8.2.00.0050.00319.26
8.1.330.0140.00622.24
8.1.320.0130.00616.43
8.1.310.0070.00316.16
8.1.300.0070.00720.31
8.1.290.0060.00330.84
8.1.280.0040.01825.92
8.1.270.0050.00320.78
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0030.00621.89
8.1.230.0040.00718.82
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0030.00617.36
8.1.180.0000.00718.91
8.1.170.0090.00018.71
8.1.160.0040.00419.00
8.1.150.0000.00718.93
8.1.140.0030.00522.05
8.1.130.0050.00320.07
8.1.120.0030.00617.34
8.1.110.0040.00417.39
8.1.100.0040.00417.31
8.1.90.0030.00517.35
8.1.80.0000.00717.46
8.1.70.0050.00317.35
8.1.60.0030.00617.59
8.1.50.0080.00017.57
8.1.40.0000.00817.50
8.1.30.0000.00817.53
8.1.20.0050.00317.50
8.1.10.0040.00417.57
8.1.00.0030.00517.48
8.0.300.0000.00818.78
8.0.290.0060.00316.63
8.0.280.0030.00318.38
8.0.270.0040.00316.75
8.0.260.0060.00019.91
8.0.250.0030.00316.86
8.0.240.0040.00416.96
8.0.230.0050.00316.87
8.0.220.0000.00716.78
8.0.210.0040.00416.75
8.0.200.0000.00616.96
8.0.190.0000.00816.97
8.0.180.0080.00016.95
8.0.170.0000.00916.79
8.0.160.0040.00416.94
8.0.150.0050.00216.95
8.0.140.0050.00216.90
8.0.130.0000.00513.33
8.0.120.0000.00716.91
8.0.110.0000.00816.84
8.0.100.0000.00717.05
8.0.90.0070.00316.82
8.0.80.0080.00816.97
8.0.70.0050.00316.87
8.0.60.0090.00017.05
8.0.50.0000.00816.92
8.0.30.0090.00917.14
8.0.20.0130.00617.03
8.0.10.0040.00416.89
8.0.00.0100.01016.76
7.4.330.0050.00015.55
7.4.320.0030.00316.61
7.4.300.0000.00616.48
7.4.290.0000.00816.58
7.4.280.0040.00416.47
7.4.270.0030.00316.44
7.4.260.0050.00013.21
7.4.250.0000.00716.57
7.4.240.0040.00416.58
7.4.230.0040.00416.48
7.4.220.0050.00316.48
7.4.210.0090.00616.61
7.4.200.0070.00016.48
7.4.130.0170.00316.37
7.4.120.0060.01516.41
7.4.110.0050.01416.54
7.4.100.0110.00716.40
7.4.90.0100.01016.41
7.4.80.0120.00619.39
7.4.70.0100.00616.64
7.4.60.0160.00616.56
7.4.50.0070.01016.48
7.4.40.0100.00716.45
7.4.00.0060.00914.88
7.3.330.0060.00316.35
7.3.320.0000.00513.17
7.3.310.0040.00416.38
7.3.300.0040.00416.36
7.3.290.0090.00016.37
7.3.280.0070.00716.32
7.3.260.0060.01316.33
7.3.240.0090.00716.42
7.3.230.0060.01116.56
7.3.210.0160.01016.38
7.3.200.0000.01716.63
7.3.190.0070.01716.54
7.3.180.0150.00016.34
7.3.170.0100.00716.52
7.3.160.0070.01016.37
7.3.120.0070.01114.58
7.3.110.0050.01014.42
7.3.100.0130.00314.91
7.3.90.0090.00914.32
7.3.80.0080.00814.64
7.3.70.0090.00714.64
7.3.60.0000.01914.64
7.3.50.0110.00514.56
7.3.40.0040.01214.28
7.3.30.0110.00614.38
7.3.20.0100.01014.61
7.3.10.0080.00814.88
7.3.00.0030.01314.71
7.2.330.0120.00616.81
7.2.320.0170.00716.42
7.2.310.0000.01616.39
7.2.300.0070.01316.74
7.2.290.0030.01316.38
7.2.250.0060.00814.98
7.2.240.0080.01215.13
7.2.230.0090.00614.76
7.2.220.0100.00715.09
7.2.210.0070.01314.93
7.2.200.0120.00615.12
7.2.190.0110.01114.32
7.2.180.0070.01114.79
7.2.170.0130.00414.67
7.1.330.0040.01113.65
7.1.320.0080.00813.90
7.1.310.0080.00813.75
7.1.300.0110.00613.55
7.1.290.0090.00613.73
7.1.280.0100.00514.08
7.1.270.0120.00813.71
7.1.260.0150.00013.48

preferences:
33.67 ms | 403 KiB | 5 Q