3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "and ..."; if (function_exists('register_postsend_function')) { register_postsend_function(function() { echo "... you should not be seeing this"; sleep("10"); }); } else register_shutdown_function(function() { echo "... you should not be seeing this"; sleep("10"); }); die();

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.0160.00418.43
8.3.50.0090.00922.82
8.3.40.0110.00718.71
8.3.30.0170.00318.88
8.3.20.0140.00320.38
8.3.10.0140.00523.66
8.3.00.0190.00019.38
8.2.180.0090.00616.32
8.2.170.0130.00622.96
8.2.160.0110.00720.44
8.2.150.0100.00724.18
8.2.140.0110.00724.66
8.2.130.0100.00726.16
8.2.120.0080.00020.94
8.2.110.0070.00420.41
8.2.100.0110.00017.84
8.2.90.0060.00319.05
8.2.80.0040.00417.97
8.2.70.0000.00917.63
8.2.60.0040.00417.93
8.2.50.0000.00918.07
8.2.40.0040.00419.94
8.2.30.0050.00218.12
8.2.20.0040.00417.79
8.2.10.0040.00418.12
8.2.00.0000.00817.77
8.1.280.0110.00425.92
8.1.270.0090.00923.96
8.1.260.0170.00026.35
8.1.250.0130.00428.09
8.1.240.0040.00723.86
8.1.230.0050.00520.88
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00817.35
8.1.190.0030.00517.13
8.1.180.0040.00419.01
8.1.170.0060.00318.37
8.1.160.0040.00422.04
8.1.150.0080.00018.89
8.1.140.0020.00517.37
8.1.130.0070.00017.72
8.1.120.0070.00017.38
8.1.110.0050.00217.34
8.1.100.0040.00417.41
8.1.90.0060.00317.36
8.1.80.0000.00717.36
8.1.70.0050.00517.46
8.1.60.0080.00017.50
8.1.50.0040.00417.48
8.1.40.0000.01017.54
8.1.30.0000.00917.63
8.1.20.0000.00817.63
8.1.10.0000.00817.49
8.1.00.0020.00617.49
8.0.300.0000.00718.77
8.0.290.0070.00016.58
8.0.280.0050.00218.37
8.0.270.0070.00017.05
8.0.260.0000.00717.21
8.0.250.0000.00716.82
8.0.240.0000.00716.88
8.0.230.0040.00416.74
8.0.220.0030.00316.73
8.0.210.0050.00216.62
8.0.200.0070.00016.78
8.0.190.0000.01016.87
8.0.180.0000.00716.73
8.0.170.0080.00016.85
8.0.160.0000.00816.88
8.0.150.0000.00816.71
8.0.140.0040.00416.84
8.0.130.0030.00513.29
8.0.120.0000.00816.82
8.0.110.0040.00416.82
8.0.100.0040.00416.62
8.0.90.0080.00016.72
8.0.80.0090.00616.70
8.0.70.0040.00416.80
8.0.60.0000.00816.77
8.0.50.0030.00516.62
8.0.30.0140.00417.18
8.0.20.0130.00917.40
8.0.10.0030.00416.84
8.0.00.0070.01016.71
7.4.330.0030.00215.04
7.4.320.0030.00316.39
7.4.300.0040.00216.32
7.4.290.0040.00416.34
7.4.280.0070.00016.31
7.4.270.0050.00216.41
7.4.260.0000.00716.38
7.4.250.0000.00816.27
7.4.240.0050.00216.39
7.4.230.0040.00416.31
7.4.220.0030.01316.26
7.4.210.0070.01316.20
7.4.200.0040.00416.30
7.4.160.0120.00416.33
7.4.150.0120.01217.40
7.4.140.0120.00817.86
7.4.130.0090.00816.37
7.4.120.0040.01416.48
7.4.110.0160.00716.52
7.4.100.0100.00716.43
7.4.90.0060.01316.52
7.4.80.0070.01119.39
7.4.70.0120.00916.33
7.4.60.0100.00616.44
7.4.50.0040.00416.54
7.4.40.0060.00916.42
7.4.30.0070.00816.46
7.4.00.0050.01015.03
7.3.330.0000.00613.30
7.3.320.0030.00313.15
7.3.310.0000.00716.17
7.3.300.0020.00516.05
7.3.290.0050.00916.24
7.3.280.0080.01016.15
7.3.270.0040.01217.40
7.3.260.0170.00316.16
7.3.250.0140.00616.29
7.3.240.0120.00416.15
7.3.230.0140.00316.39
7.3.210.0080.00916.11
7.3.200.0060.00919.39
7.3.190.0130.00716.23
7.3.180.0060.00916.43
7.3.170.0050.01016.27
7.3.160.0130.00316.40
7.2.330.0090.01216.54
7.2.320.0080.00816.41
7.2.310.0150.00416.39
7.2.300.0140.00616.61
7.2.290.0160.00016.30
7.2.60.0060.00816.56
7.2.00.0050.01118.88
7.1.200.0000.01215.77
7.1.100.0290.00316.88
7.1.70.0070.00717.02
7.1.60.0150.00819.40
7.1.50.0110.00817.07
7.1.00.0030.07722.19
7.0.200.0070.00016.37
7.0.140.0000.07722.00
7.0.60.0030.05719.92
7.0.50.0130.07017.77
7.0.40.0130.08019.95
7.0.30.0330.04019.84
7.0.20.0270.07019.98
7.0.10.0030.08719.81
7.0.00.0130.08019.95
5.6.280.0070.07020.89
5.6.210.0270.06720.77
5.6.200.0000.04318.16
5.6.190.0000.05720.36
5.6.180.0470.05020.37
5.6.170.0170.04720.33
5.6.160.0130.07320.33
5.6.150.0070.05318.16
5.6.140.0030.07718.11
5.6.130.0170.07718.22
5.6.120.0070.08321.00
5.6.110.0200.07020.99
5.6.100.0030.05020.89
5.6.90.0170.07320.95
5.6.80.0130.05320.53
5.5.350.0300.07320.38
5.5.340.0030.08017.94
5.5.330.0070.09320.15
5.5.320.0070.05020.13
5.5.310.0270.05020.14
5.5.300.0100.05317.80
5.5.290.0100.07017.94
5.5.280.0070.08020.78
5.5.270.0030.09020.86
5.5.260.0100.07320.80
5.5.250.0070.07720.58
5.5.240.0070.07020.23
5.4.450.0130.07719.34
5.4.440.0200.07319.13
5.4.430.0170.04019.21
5.4.420.0170.04019.32
5.4.410.0230.07718.98
5.4.400.0100.04719.03
5.4.390.0000.05019.16
5.4.380.0400.06319.07
5.4.370.0470.06718.97
5.4.360.0200.03019.03
5.4.350.0230.04019.02
5.4.340.0200.03719.06
5.4.320.0330.07018.93
5.4.310.0230.05018.82
5.4.300.0370.03318.88
5.4.290.0700.04318.92
5.4.280.0430.04018.98
5.4.270.3900.03719.15
5.4.260.0270.07318.81
5.4.250.0300.04319.02
5.4.240.0300.05019.01
5.4.230.0170.04319.03
5.4.220.0130.07318.77
5.4.210.0200.04018.75
5.4.200.0430.05719.17
5.4.190.0230.05319.01
5.4.180.0200.04019.02
5.4.170.4230.03719.01
5.4.160.0130.04019.27
5.4.150.3130.03319.16
5.4.140.3730.03316.41
5.4.130.0270.07016.33
5.4.120.0500.05016.46
5.4.110.0270.03316.30
5.4.100.0200.05316.27
5.4.90.0330.07716.56
5.4.80.0030.04316.55
5.4.70.0230.03316.26
5.4.60.0230.06016.43
5.4.50.0070.03316.50
5.4.40.0230.07716.32
5.4.30.0100.07716.39
5.4.20.0230.06716.41
5.4.10.0370.06316.52
5.4.00.3670.03315.75

preferences:
45.14 ms | 401 KiB | 5 Q