3v4l.org

run code in 300+ PHP versions simultaneously
<?php function shutdown() { echo "triggered\n"; } register_shutdown_function( 'shutdown' ); echo "start\n"; echo "end\n";

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.0130.00318.43
8.3.50.0040.01117.88
8.3.40.0090.00618.59
8.3.30.0060.00918.44
8.3.20.0030.00619.10
8.3.10.0000.00820.81
8.3.00.0140.00323.30
8.2.180.0120.00618.17
8.2.170.0120.00622.96
8.2.160.0140.00018.87
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00421.06
8.2.120.0000.00726.35
8.2.110.0040.00422.25
8.2.100.0040.00817.66
8.2.90.0060.00319.22
8.2.80.0000.00817.97
8.2.70.0000.01017.25
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0000.00818.24
8.2.30.0030.00617.90
8.2.20.0040.00417.86
8.2.10.0080.00018.05
8.2.00.0000.00819.22
8.1.280.0110.00425.92
8.1.270.0000.00922.10
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00920.77
8.1.230.0030.00717.77
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0030.00517.23
8.1.190.0050.00317.22
8.1.180.0050.00318.10
8.1.170.0040.00418.52
8.1.160.0030.00618.70
8.1.150.0050.00218.75
8.1.140.0060.00317.62
8.1.130.0060.00018.98
8.1.120.0070.00017.30
8.1.110.0040.00417.21
8.1.100.0080.00017.25
8.1.90.0030.00617.36
8.1.80.0000.00717.36
8.1.70.0000.00817.34
8.1.60.0030.00617.52
8.1.50.0000.00817.40
8.1.40.0000.00717.29
8.1.30.0040.00417.41
8.1.20.0040.00417.48
8.1.10.0040.00417.36
8.1.00.0030.00617.38
8.0.300.0030.00518.77
8.0.290.0080.00016.58
8.0.280.0000.00718.45
8.0.270.0070.00017.13
8.0.260.0060.00017.18
8.0.250.0000.00716.86
8.0.240.0060.00016.84
8.0.230.0000.00716.79
8.0.220.0040.00416.65
8.0.210.0000.00716.63
8.0.200.0040.00416.75
8.0.190.0050.00216.78
8.0.180.0040.00416.66
8.0.170.0060.00316.75
8.0.160.0000.00716.83
8.0.150.0030.00616.77
8.0.140.0000.00716.70
8.0.130.0000.00513.14
8.0.120.0040.00416.69
8.0.110.0080.00016.71
8.0.100.0000.00716.73
8.0.90.0000.00716.74
8.0.80.0130.00616.70
8.0.70.0030.00516.66
8.0.60.0040.00416.70
8.0.50.0040.00416.68
8.0.30.0050.01117.14
8.0.20.0170.00617.40
8.0.10.0040.00416.87
8.0.00.0070.01316.68
7.4.330.0020.00215.55
7.4.320.0000.00716.46
7.4.300.0060.00016.48
7.4.290.0000.00716.50
7.4.280.0090.00016.31
7.4.270.0030.00616.39
7.4.260.0050.00316.45
7.4.250.0040.00416.41
7.4.240.0000.00816.42
7.4.230.0000.00716.24
7.4.220.0050.00316.36
7.4.210.0070.00816.29
7.4.200.0040.00416.30
7.4.160.0080.00816.39
7.4.140.0120.00617.86
7.4.130.0070.01016.42
7.4.120.0130.00616.37
7.4.110.0100.00716.49
7.4.100.0190.00016.39
7.4.90.0100.00716.45
7.4.80.0090.00919.39
7.4.70.0100.00716.47
7.4.60.0130.00316.29
7.4.50.0080.00516.20
7.4.40.0080.00816.32
7.4.00.0110.00614.66
7.3.330.0000.00613.12
7.3.320.0050.00013.12
7.3.310.0000.00716.05
7.3.300.0050.00216.05
7.3.290.0030.00316.03
7.3.280.0110.00316.14
7.3.260.0110.00616.26
7.3.240.0070.00916.33
7.3.230.0090.00916.17
7.3.210.0070.01616.25
7.3.200.0100.00716.44
7.3.190.0060.01116.51
7.3.180.0120.00616.12
7.3.170.0000.01616.19
7.3.160.0060.00916.39
7.2.330.0070.01016.43
7.2.320.0140.00316.60
7.2.310.0110.00516.60
7.2.300.0060.01216.18
7.2.290.0050.01216.25
7.2.70.0410.01314.99
7.2.60.0370.00714.87
7.2.50.0290.01314.78
7.2.40.0280.00914.88
7.2.30.0290.00615.08
7.2.20.0340.00314.85
7.2.10.0780.00314.86
7.2.00.0330.00714.96
7.1.200.0080.00815.25
7.1.170.0330.00413.75
7.1.160.0290.01313.46
7.1.150.0560.00013.66
7.1.140.0290.00713.82
7.1.130.0300.00713.90
7.1.120.0560.01013.59
7.1.110.0330.00613.63
7.1.100.0220.01613.73
7.1.90.0290.00913.73
7.1.80.0320.00613.79
7.1.70.0250.01413.90
7.1.60.0460.01331.78
7.1.50.0500.01031.54
7.1.40.0540.01031.93
7.1.30.0530.00731.74
7.1.20.0470.01231.95
7.1.10.0280.01013.96
7.1.00.0300.00713.73

preferences:
55.66 ms | 400 KiB | 5 Q