3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function __toString() { return NotExistsClass::notExistsMethod(); // make here any type of error } } print new Test(); // Fatal error: Method Test::__toString() must not throw an exception, caught Error: Class 'NotExistsClass' not found in D:\Portable\OSPanel\domains\test.test\test.php on line 0

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.70.0040.01116.75
8.3.60.0100.01618.43
8.3.50.0070.01121.14
8.3.40.0120.00318.97
8.3.30.0100.00718.79
8.3.20.0040.00421.71
8.3.10.0000.00820.34
8.3.00.0050.00223.48
8.2.190.0120.00616.88
8.2.180.0100.00725.92
8.2.170.0130.00022.96
8.2.160.0130.00021.06
8.2.150.0100.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0030.00622.21
8.2.100.0120.00017.66
8.2.90.0000.00817.68
8.2.80.0050.00318.74
8.2.70.0080.00018.16
8.2.60.0040.00418.04
8.2.50.0060.00318.10
8.2.40.0040.00419.18
8.2.30.0000.00719.30
8.2.20.0040.00418.12
8.2.10.0030.00619.17
8.2.00.0040.00419.22
8.1.280.0070.01525.92
8.1.270.0060.00322.08
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00022.16
8.1.230.0090.00320.98
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0060.00617.23
8.1.190.0040.00417.22
8.1.180.0030.00518.10
8.1.170.0090.00018.53
8.1.160.0000.00718.80
8.1.150.0000.00718.83
8.1.140.0000.00818.86
8.1.130.0030.00320.08
8.1.120.0040.00417.41
8.1.110.0000.00817.38
8.1.100.0000.00817.33
8.1.90.0040.00417.45
8.1.80.0040.00417.29
8.1.70.0030.00317.39
8.1.60.0040.00417.49
8.1.50.0060.00317.47
8.1.40.0040.00417.48
8.1.30.0080.00017.55
8.1.20.0060.00617.48
8.1.10.0040.00417.46
8.1.00.0040.00417.45
8.0.300.0000.00720.23
8.0.290.0030.00716.63
8.0.280.0000.00718.43
8.0.270.0030.00617.27
8.0.260.0000.00618.36
8.0.250.0000.00716.98
8.0.240.0030.00316.93
8.0.230.0040.00417.01
8.0.220.0000.00716.96
8.0.210.0000.00716.82
8.0.200.0000.00617.02
8.0.190.0000.00716.99
8.0.180.0040.00416.93
8.0.170.0000.00916.89
8.0.160.0040.00416.85
8.0.150.0040.00416.77
8.0.140.0040.00416.91
8.0.130.0000.00513.39
8.0.120.0000.00816.83
8.0.110.0000.00716.86
8.0.100.0040.00416.99
8.0.90.0040.00416.73
8.0.80.0110.00416.95
8.0.70.0030.00516.90
8.0.60.0000.00816.85
8.0.50.0040.00416.84
8.0.30.0110.00917.04
8.0.20.0150.00317.23
8.0.10.0040.00417.13
8.0.00.0070.01116.81
7.4.330.0030.00315.55
7.4.320.0000.00616.31
7.4.300.0080.00016.44
7.4.290.0030.00316.53
7.4.280.0080.00016.57
7.4.270.0000.00716.44
7.4.260.0070.00016.44
7.4.250.0000.00816.49
7.4.240.0040.00416.54
7.4.230.0070.00016.42
7.4.220.0000.00716.36
7.4.210.0050.01016.46
7.4.200.0000.00716.27
7.4.140.0060.01217.86
7.4.130.0160.00316.42
7.4.120.0090.00916.56
7.4.110.0070.01016.45
7.4.100.0130.01016.54
7.4.90.0060.01216.52
7.4.80.0070.01019.39
7.4.70.0030.01316.59
7.4.60.0090.00916.22
7.4.50.0070.01116.50
7.4.40.0050.01116.37
7.4.00.0030.01214.54
7.3.330.0050.00013.42
7.3.320.0040.00413.37
7.3.310.0000.00716.30
7.3.300.0040.00416.39
7.3.290.0000.00616.26
7.3.280.0110.00716.36
7.3.260.0080.01116.44
7.3.230.0060.01016.37
7.3.210.0100.01016.37
7.3.200.0130.00616.43
7.3.190.0120.00816.60
7.3.180.0150.00416.32
7.3.170.0060.01116.25
7.3.160.0030.01316.36
7.3.70.0130.00814.92
7.3.60.0080.01214.61
7.3.50.0080.01314.86
7.3.40.0070.00714.65
7.3.30.0100.00714.71
7.3.20.0110.00714.79
7.3.10.0080.01614.78
7.3.00.0120.00214.71
7.2.330.0170.00016.43
7.2.320.0080.01216.55
7.2.310.0110.00616.24
7.2.300.0060.01216.67
7.2.290.0070.01116.55
7.2.200.0090.00914.93
7.2.190.0040.01214.86
7.2.180.0030.00815.06
7.2.170.0030.01214.96
7.2.160.0080.00614.75
7.2.150.0080.00515.13
7.2.140.0160.01015.13
7.2.130.0070.00714.94
7.2.120.0180.00414.74
7.2.110.0090.00914.83
7.2.100.0180.01115.14
7.2.90.0120.01014.91
7.2.80.0100.01014.86
7.2.70.0100.00515.11
7.2.60.0170.00814.75
7.2.50.0140.00915.10
7.2.40.0150.01215.03
7.2.30.0110.01115.05
7.2.20.0150.00415.14
7.2.10.0110.00714.80
7.2.00.0120.00615.18
7.1.300.0100.00613.59
7.1.290.0070.00513.98
7.1.280.0090.00513.71
7.1.270.0140.00313.71
7.1.260.0420.00013.87
7.1.250.0050.01313.60

preferences:
57.63 ms | 401 KiB | 5 Q