3v4l.org

run code in 300+ PHP versions simultaneously
<?php function shutdown() { echo "triggered\n"; } register_shutdown_function( 'shutdown' ); echo "start\n"; bla(); 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.0090.00618.30
8.3.50.0120.00617.89
8.3.40.0070.01419.02
8.3.30.0140.00018.85
8.3.20.0050.00319.10
8.3.10.0050.00320.75
8.3.00.0040.00423.52
8.2.180.0070.01125.92
8.2.170.0040.01118.96
8.2.160.0140.00719.05
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00020.91
8.2.110.0090.00019.17
8.2.100.0000.01118.22
8.2.90.0060.00317.93
8.2.80.0000.00818.73
8.2.70.0000.00817.75
8.2.60.0040.00417.75
8.2.50.0000.00818.05
8.2.40.0080.00018.05
8.2.30.0080.00019.45
8.2.20.0050.00218.00
8.2.10.0000.00917.87
8.2.00.0080.00019.27
8.1.280.0140.00425.92
8.1.270.0040.00422.14
8.1.260.0030.00626.35
8.1.250.0060.00328.09
8.1.240.0040.00421.99
8.1.230.0110.00022.63
8.1.220.0040.00418.39
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0070.00017.62
8.1.160.0070.00018.69
8.1.150.0040.00418.77
8.1.140.0000.00717.61
8.1.130.0070.00017.25
8.1.120.0000.00717.35
8.1.110.0050.00317.23
8.1.100.0000.00817.34
8.1.90.0030.00717.21
8.1.80.0040.00317.33
8.1.70.0000.00717.21
8.1.60.0090.00317.43
8.1.50.0040.00417.33
8.1.40.0000.00717.42
8.1.30.0000.00917.63
8.1.20.0040.00417.56
8.1.10.0050.00317.50
8.1.00.0050.00317.49
8.0.300.0070.00019.54
8.0.290.0020.00516.75
8.0.280.0000.00718.32
8.0.270.0030.00317.21
8.0.260.0030.00316.89
8.0.250.0070.00016.86
8.0.240.0030.00316.84
8.0.230.0050.00316.80
8.0.220.0000.00716.79
8.0.210.0040.00416.89
8.0.200.0030.00316.82
8.0.190.0040.00416.85
8.0.180.0000.00816.81
8.0.170.0030.00616.81
8.0.160.0030.00416.88
8.0.150.0030.00816.82
8.0.140.0080.00016.89
8.0.130.0050.00013.34
8.0.120.0070.00016.71
8.0.110.0040.00416.79
8.0.100.0000.00716.69
8.0.90.0000.00716.86
8.0.80.0080.00816.89
8.0.70.0080.00016.72
8.0.60.0000.00816.79
8.0.50.0000.00816.71
8.0.30.0080.01017.03
8.0.20.0090.00917.40
8.0.10.0000.00816.84
8.0.00.0090.00816.74
7.4.330.0000.00615.55
7.4.320.0030.00316.44
7.4.300.0060.00016.57
7.4.290.0030.00416.53
7.4.280.0050.00316.37
7.4.270.0060.00616.44
7.4.260.0030.00516.47
7.4.250.0030.00316.36
7.4.240.0000.00716.43
7.4.230.0040.00416.61
7.4.220.0080.00016.57
7.4.210.0140.00716.52
7.4.200.0000.00716.28
7.4.140.0080.01017.86
7.4.130.0110.00616.48
7.4.120.0090.00916.43
7.4.110.0060.01316.68
7.4.100.0060.01216.44
7.4.90.0110.00616.55
7.4.80.0160.00319.39
7.4.70.0030.01616.45
7.4.60.0040.01116.56
7.4.50.0040.00716.20
7.4.40.0070.01016.46
7.4.00.0050.01315.00
7.3.330.0040.00413.14
7.3.320.0000.00513.13
7.3.310.0040.00416.16
7.3.300.0000.00716.34
7.3.290.0070.00016.21
7.3.280.0060.00816.29
7.3.260.0090.00816.38
7.3.240.0100.01016.32
7.3.230.0080.01116.49
7.3.210.0060.01116.56
7.3.200.0110.00616.43
7.3.190.0100.00716.21
7.3.180.0120.00316.37
7.3.170.0050.01116.36
7.3.160.0030.01216.50
7.3.120.0070.01014.98
7.3.110.0000.01614.95
7.3.100.0100.00714.84
7.3.90.0040.01214.85
7.3.80.0060.00914.77
7.3.70.0030.00714.91
7.3.60.0060.00314.82
7.3.50.0030.01414.41
7.3.40.0040.01214.76
7.3.30.0030.01214.71
7.3.20.0030.00716.66
7.3.10.0060.00516.48
7.3.00.0050.00916.56
7.2.330.0150.00316.55
7.2.320.0120.00616.25
7.2.310.0140.00316.50
7.2.300.0130.01016.37
7.2.290.0030.01416.58
7.2.250.0030.01615.14
7.2.240.0040.01514.85
7.2.230.0080.00815.02
7.2.220.0030.00615.14
7.2.210.0070.00715.18
7.2.200.0070.00415.07
7.2.190.0090.00015.05
7.2.180.0080.00315.08
7.2.170.0030.01014.61
7.2.130.0040.00416.61
7.2.120.0070.00716.53
7.2.110.0070.00716.82
7.2.100.0030.01316.54
7.2.90.0050.00516.37
7.2.80.0020.01116.74
7.2.70.0380.00415.87
7.2.60.0340.00215.80
7.2.50.0400.00815.82
7.2.40.0300.00715.78
7.2.30.0400.01215.85
7.2.20.0350.00915.67
7.2.10.0290.00915.96
7.2.00.0660.00915.80
7.1.330.0040.01115.79
7.1.320.0060.00315.70
7.1.310.0060.00915.77
7.1.300.0070.00715.77
7.1.290.0030.01015.69
7.1.280.0060.00915.65
7.1.270.0030.01315.66
7.1.260.0110.00015.75
7.1.250.0040.00715.37
7.1.240.0110.00415.69
7.1.230.0070.01015.33
7.1.220.0040.01115.61
7.1.210.0040.01115.34
7.1.200.0020.01315.58
7.1.190.0000.01515.43
7.1.180.0040.01115.57
7.1.170.0370.00214.68
7.1.160.0330.00514.62
7.1.150.0360.00514.66
7.1.140.0440.00514.64
7.1.130.0300.01214.77
7.1.120.0290.00714.55
7.1.110.0350.00614.61
7.1.100.0270.01014.78
7.1.90.0300.00914.75
7.1.80.0370.00514.46
7.1.70.0320.00914.60
7.1.60.0370.01323.62
7.1.50.0620.01723.79
7.1.40.0700.01223.82
7.1.30.0490.00823.67
7.1.20.0490.00823.75
7.1.10.0410.00514.63
7.1.00.0290.01014.74
7.0.330.0030.00615.08
5.6.380.0090.00613.74

preferences:
59.77 ms | 401 KiB | 5 Q