3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function () { echo "in"; throw \Error('d'); }); set_exception_handler(function ($e) { echo get_class($e); }); fufu;

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.0000.01518.27
8.3.50.0120.00318.29
8.3.40.0070.00718.79
8.3.30.0090.00618.49
8.3.20.0050.00318.85
8.3.10.0040.00421.86
8.3.00.0040.00420.63
8.2.180.0100.00718.29
8.2.170.0070.00722.96
8.2.160.0070.01021.12
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0000.00719.82
8.2.120.0100.00026.35
8.2.110.0090.00021.98
8.2.100.0060.00617.91
8.2.90.0000.00817.75
8.2.80.0030.00717.97
8.2.70.0000.00817.80
8.2.60.0000.00718.03
8.2.50.0030.00618.10
8.2.40.0070.00019.18
8.2.30.0040.00419.20
8.2.20.0060.00617.92
8.2.10.0030.00618.09
8.2.00.0060.00317.60
8.1.280.0070.00725.92
8.1.270.0030.00618.88
8.1.260.0080.00626.35
8.1.250.0040.00428.09
8.1.240.0050.00323.82
8.1.230.0040.00717.70
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0080.00017.35
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0040.00418.88
8.1.150.0000.00818.74
8.1.140.0000.00722.14
8.1.130.0000.00720.18
8.1.120.0040.00417.42
8.1.110.0080.00017.25
8.1.100.0030.00317.31
8.1.90.0000.00817.41
8.1.80.0040.00417.29
8.1.70.0070.00317.41
8.1.60.0030.00517.48
8.1.50.0000.00817.46
8.1.40.0030.00617.35
8.1.30.0030.00617.48
8.1.20.0080.00017.57
8.1.10.0000.00717.50
8.1.00.0070.00317.46
8.0.300.0000.00718.77
8.0.290.0000.00916.75
8.0.280.0030.00318.45
8.0.270.0000.00817.26
8.0.260.0030.00318.51
8.0.250.0070.00016.95
8.0.240.0030.00317.02
8.0.230.0070.00016.84
8.0.220.0030.00316.86
8.0.210.0070.00016.98
8.0.200.0030.00316.89
8.0.190.0030.00516.97
8.0.180.0040.00416.95
8.0.170.0040.00416.85
8.0.160.0040.00416.83
8.0.150.0040.00316.89
8.0.140.0030.00516.91
8.0.130.0030.00313.37
8.0.120.0000.00716.86
8.0.110.0080.00016.82
8.0.100.0000.00816.89
8.0.90.0040.00416.96
8.0.80.0050.01216.92
8.0.70.0040.00416.97
8.0.60.0070.00017.01
8.0.50.0030.00516.75
8.0.30.0100.00717.13
8.0.20.0140.00717.40
8.0.10.0040.00416.99
8.0.00.0120.00616.77
7.4.330.0060.00015.55
7.4.320.0000.00716.51
7.4.300.0000.00716.52
7.4.290.0070.00016.29
7.4.280.0070.00016.39
7.4.270.0030.00316.45
7.4.260.0060.00316.44
7.4.250.0070.00016.48
7.4.240.0070.00016.51
7.4.230.0070.00016.25
7.4.220.0000.00716.51
7.4.210.0090.00516.46
7.4.200.0000.00716.34
7.4.160.0130.00516.57
7.4.140.0090.01017.86
7.4.130.0120.00616.71
7.4.120.0090.01016.41
7.4.110.0120.01116.48
7.4.100.0100.00716.43
7.4.90.0120.00616.45
7.4.80.0110.00619.39
7.4.70.0060.01116.72
7.4.60.0090.00616.40
7.4.50.0070.01116.57
7.4.40.0120.00416.55
7.4.00.0100.00814.97
7.3.330.0020.00213.34
7.3.320.0000.00613.34
7.3.310.0000.00916.32
7.3.300.0030.00316.33
7.3.290.0050.00216.20
7.3.280.0080.00716.36
7.3.260.0110.00816.38
7.3.240.0110.00616.41
7.3.230.0040.01516.49
7.3.210.0030.01416.38
7.3.200.0130.00316.59
7.3.190.0130.01016.41
7.3.180.0130.00916.45
7.3.170.0100.01316.33
7.3.160.0030.01316.50
7.3.120.0080.00914.89
7.3.110.0080.00814.87
7.3.100.0050.00914.89
7.3.90.0060.00714.83
7.3.80.0080.00514.88
7.3.70.0030.01014.84
7.3.60.0070.00614.82
7.3.50.0070.00614.81
7.3.40.0020.01114.81
7.3.30.0030.01014.93
7.3.20.0090.00716.79
7.3.10.0090.00616.73
7.3.00.0050.00816.70
7.2.330.0120.00616.76
7.2.320.0090.00916.41
7.2.310.0060.01316.81
7.2.300.0130.00316.56
7.2.290.0140.00616.52
7.2.250.0080.00914.91
7.2.240.0090.01014.90
7.2.230.0040.01215.05
7.2.220.0070.00715.12
7.2.210.0060.01215.11
7.2.200.0050.00815.12
7.2.190.0060.00814.82
7.2.180.0070.00715.11
7.2.170.0020.00915.01
7.2.110.0730.01014.70
7.2.100.0410.01314.67
7.2.90.0780.00914.30
7.2.80.0820.00314.34
7.2.70.0510.00614.38
7.2.60.0480.00314.39
7.2.50.0480.01115.09
7.2.40.0470.00814.98
7.2.30.0490.01114.85
7.2.20.0900.01614.73
7.2.10.0150.00714.89
7.2.00.0890.00314.69
7.1.330.0020.01315.76
7.1.320.0080.00715.59
7.1.310.0070.00515.87
7.1.300.0050.00715.77
7.1.290.0050.00515.77
7.1.280.0050.00915.73
7.1.270.0050.00815.64
7.1.260.0040.00915.69
7.1.230.0550.00613.67
7.1.220.0500.00613.66
7.1.210.0620.00013.52
7.1.200.0550.00013.61
7.1.190.0500.00313.48
7.1.180.0670.00613.60
7.1.170.0680.00013.70
7.1.160.0510.00713.86
7.1.150.0590.01013.98
7.1.140.0110.00813.66
7.1.130.0900.00313.83
7.1.120.0660.00313.61
7.1.110.0590.00313.73
7.1.100.0560.01713.58
7.1.90.0640.00713.42
7.1.80.0650.00913.44
7.1.70.0540.01213.40
7.1.60.0810.01031.86
7.1.50.0800.01031.60
7.1.40.0990.00731.64
7.1.30.1070.01331.65
7.1.20.0990.01031.78
7.1.10.1170.01313.80
7.1.00.0460.01313.46
5.6.380.0050.01013.57

preferences:
34.04 ms | 400 KiB | 5 Q