3v4l.org

run code in 300+ PHP versions simultaneously
<?php function myErrorHandler($exception) { $e_code = $exception->getCode(); echo $e_code; } set_exception_handler('myErrorHandler'); throw new Exception('eeeee', 12); /* try{ //division by zero //$number = 5/0; unlink("c:\boot.bat"); $a=5+3; echo $a; } catch(Exception $ex){ echo "Dotum bi hata yapmış olmalısın mesaj bu:".$ex->getMessage(), ' : Hadi kolay gelsin sana canım'; } */

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.60.0120.00418.31
8.3.50.0070.01419.92
8.3.40.0110.00418.84
8.3.30.0080.00818.69
8.3.20.0080.00021.91
8.3.10.0040.00423.41
8.3.00.0080.00021.92
8.2.180.0140.00718.66
8.2.170.0070.00722.96
8.2.160.0100.00322.30
8.2.150.0030.00624.18
8.2.140.0030.00524.66
8.2.130.0080.00017.59
8.2.120.0040.00426.35
8.2.110.0000.00820.52
8.2.100.0040.00717.91
8.2.90.0030.00817.75
8.2.80.0030.00618.03
8.2.70.0000.00818.04
8.2.60.0030.00518.02
8.2.50.0070.00418.10
8.2.40.0030.00522.28
8.2.30.0000.00719.30
8.2.20.0080.00017.93
8.2.10.0040.00417.99
8.2.00.0070.00017.61
8.1.280.0110.00725.92
8.1.270.0090.00622.24
8.1.260.0040.00426.35
8.1.250.0040.00728.09
8.1.240.0030.00723.85
8.1.230.0110.00018.98
8.1.220.0050.00317.79
8.1.210.0040.00420.83
8.1.200.0030.00617.36
8.1.190.0050.00317.13
8.1.180.0060.00318.10
8.1.170.0000.00818.56
8.1.160.0000.00718.93
8.1.150.0030.00522.05
8.1.140.0040.00419.57
8.1.130.0030.00318.93
8.1.120.0070.00017.34
8.1.110.0000.00717.30
8.1.100.0000.00817.48
8.1.90.0000.00817.45
8.1.80.0000.00717.34
8.1.70.0100.00017.47
8.1.60.0030.00517.59
8.1.50.0050.00317.40
8.1.40.0000.00717.54
8.1.30.0060.00317.67
8.1.20.0000.00817.61
8.1.10.0020.00517.54
8.1.00.0000.00717.54
8.0.300.0070.00019.68
8.0.290.0000.00816.75
8.0.280.0030.00318.40
8.0.270.0070.00017.13
8.0.260.0030.00317.12
8.0.250.0000.00717.08
8.0.240.0030.00317.06
8.0.230.0080.00016.89
8.0.220.0070.00016.90
8.0.210.0030.00316.85
8.0.200.0000.00616.88
8.0.190.0000.00716.96
8.0.180.0040.00416.79
8.0.170.0070.00016.82
8.0.160.0000.00716.91
8.0.150.0070.00316.84
8.0.140.0000.00716.89
8.0.130.0040.00413.37
8.0.120.0090.00016.91
8.0.110.0070.00016.95
8.0.100.0000.00717.01
8.0.90.0030.00516.75
8.0.80.0100.01316.83
8.0.70.0040.00416.99
8.0.60.0040.00416.97
8.0.50.0050.00316.95
8.0.30.0070.01417.04
8.0.20.0110.00917.40
8.0.10.0050.00317.06
8.0.00.0140.01116.79
7.4.330.0060.00015.55
7.4.320.0000.00616.59
7.4.300.0090.00016.50
7.4.290.0030.00316.59
7.4.280.0030.00616.42
7.4.270.0000.00716.60
7.4.260.0000.00716.46
7.4.250.0000.00716.48
7.4.240.0000.00716.57
7.4.230.0030.00316.34
7.4.220.0130.01016.64
7.4.210.0060.01216.62
7.4.200.0000.00816.68
7.4.160.0050.01016.46
7.4.150.0110.00617.40
7.4.140.0140.00717.86
7.4.130.0110.00616.40
7.4.120.0060.01316.54
7.4.110.0030.01316.66
7.4.100.0030.02116.39
7.4.90.0090.00916.68
7.4.80.0070.01019.39
7.4.70.0030.01216.60
7.4.60.0040.01216.39
7.4.50.0070.01016.48
7.4.40.0070.01316.56
7.4.30.0090.00616.49
7.4.00.0040.00915.06
7.3.330.0030.00313.38
7.3.320.0030.00213.43
7.3.310.0000.00716.34
7.3.300.0000.00616.40
7.3.290.0040.00416.37
7.3.280.0090.00916.37
7.3.270.0030.01517.40
7.3.260.0130.01016.48
7.3.250.0060.01316.48
7.3.240.0120.01216.55
7.3.230.0100.00916.36
7.3.210.0030.01316.57
7.3.200.0130.00319.39
7.3.190.0110.01116.39
7.3.180.0100.00716.28
7.3.170.0140.01016.52
7.3.160.0070.01116.66
7.2.330.0160.00616.79
7.2.320.0070.01016.48
7.2.310.0130.00316.54
7.2.300.0100.01316.67
7.2.290.0140.00316.64
7.2.60.0120.00316.75
7.2.00.0030.00919.30
7.1.200.0100.00515.44
7.1.100.0040.00818.39
7.1.70.0080.00017.19
7.1.60.0070.00317.20
7.1.50.0090.01516.88
7.1.10.0030.06722.20
7.1.00.0070.06322.41
7.0.200.0060.00316.69
7.0.150.0100.05321.72
7.0.140.0070.06021.80
7.0.130.0100.05321.84
7.0.120.0070.06721.97
7.0.110.0130.06021.93
7.0.100.0100.05321.82
7.0.90.0130.05321.88
7.0.80.0030.05722.01
7.0.70.0100.05321.92
7.0.60.0130.05021.90
7.0.50.0130.05021.92
7.0.40.0130.06321.88
7.0.30.0070.05721.82
7.0.20.0030.06321.92
7.0.10.0100.05321.74
7.0.00.0130.05021.89

preferences:
62.16 ms | 400 KiB | 5 Q