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.0120.00916.38
8.3.50.0120.00622.87
8.3.40.0060.01118.68
8.3.30.0030.01418.91
8.3.20.0030.00520.21
8.3.10.0080.00023.61
8.3.00.0090.00019.38
8.2.180.0150.00016.50
8.2.170.0080.00822.96
8.2.160.0050.00920.39
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0030.00526.16
8.2.120.0060.00320.73
8.2.110.0060.00322.19
8.2.100.0080.00317.78
8.2.90.0040.00419.27
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0030.00519.91
8.2.30.0070.00018.18
8.2.20.0040.00417.78
8.2.10.0070.00018.20
8.2.00.0060.00317.81
8.1.280.0100.00725.92
8.1.270.0000.00923.55
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0030.00723.88
8.1.230.0080.00419.09
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00817.23
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0060.00318.52
8.1.160.0040.00422.12
8.1.150.0080.00018.89
8.1.140.0000.00817.41
8.1.130.0000.00717.86
8.1.120.0020.00517.39
8.1.110.0030.00517.44
8.1.100.0020.00517.41
8.1.90.0000.00817.32
8.1.80.0000.00717.46
8.1.70.0050.00217.40
8.1.60.0050.00317.54
8.1.50.0000.00817.43
8.1.40.0030.00617.57
8.1.30.0080.00017.57
8.1.20.0070.00017.50
8.1.10.0040.00417.50
8.1.00.0040.00417.29
8.0.300.0050.00218.77
8.0.290.0040.00416.63
8.0.280.0050.00218.25
8.0.270.0000.00816.77
8.0.260.0000.00817.02
8.0.250.0020.00416.82
8.0.240.0040.00216.74
8.0.230.0020.00416.83
8.0.220.0000.00716.68
8.0.210.0000.00716.65
8.0.200.0000.00716.87
8.0.190.0050.00316.84
8.0.180.0050.00316.75
8.0.170.0050.00216.76
8.0.160.0040.00416.83
8.0.150.0070.00016.79
8.0.140.0050.00216.71
8.0.130.0060.00013.29
8.0.120.0040.00416.86
8.0.110.0020.00516.67
8.0.100.0020.00516.79
8.0.90.0000.00716.74
8.0.80.0120.00816.75
8.0.70.0040.00416.65
8.0.60.0050.00316.64
8.0.50.0040.00416.68
8.0.30.0130.00516.85
8.0.20.0090.01217.40
8.0.10.0000.00716.79
8.0.00.0090.00916.69
7.4.330.0000.00515.00
7.4.320.0020.00416.34
7.4.300.0040.00416.46
7.4.290.0000.00716.26
7.4.280.0030.00516.41
7.4.270.0020.00516.26
7.4.260.0020.00516.40
7.4.250.0040.00416.39
7.4.240.0030.00416.46
7.4.230.0000.00716.40
7.4.220.0040.01216.43
7.4.210.0000.01316.50
7.4.200.0070.00016.41
7.4.160.0070.01016.38
7.4.150.0110.01117.40
7.4.140.0090.00817.86
7.4.130.0110.00516.33
7.4.120.0060.01216.39
7.4.110.0070.01016.44
7.4.100.0110.00516.52
7.4.90.0140.00316.48
7.4.80.0040.01219.39
7.4.70.0150.00516.39
7.4.60.0100.00716.30
7.4.50.0000.00816.44
7.4.40.0120.00416.54
7.4.30.0080.00816.39
7.4.00.0040.01114.74
7.3.330.0000.00513.14
7.3.320.0060.00013.25
7.3.310.0070.00016.07
7.3.300.0020.00516.10
7.3.290.0100.00216.20
7.3.280.0040.01316.22
7.3.270.0110.01417.40
7.3.260.0130.00616.21
7.3.250.0130.00616.37
7.3.240.0110.00616.37
7.3.230.0130.00316.39
7.3.210.0110.00516.22
7.3.200.0030.01219.39
7.3.190.0120.00416.22
7.3.180.0110.00416.12
7.3.170.0080.00816.45
7.3.160.0120.00316.16
7.2.330.0110.00616.50
7.2.320.0090.00916.35
7.2.310.0080.00816.53
7.2.300.0100.00716.66
7.2.290.0090.00616.60
7.2.60.0040.00816.82
7.2.00.0100.00719.34
7.1.200.0100.00215.57
7.1.100.0270.01517.55
7.1.70.0030.00317.00
7.1.60.0190.00319.40
7.1.50.0070.01317.02
7.1.00.0100.07022.27
7.0.200.0020.00516.54
7.0.140.0070.06721.95
7.0.60.0070.08019.84
7.0.50.0070.07317.75
7.0.40.0130.07319.88
7.0.30.0300.06019.81
7.0.20.0400.06019.95
7.0.10.0130.07319.72
7.0.00.0130.08319.79
5.6.280.0170.06021.13
5.6.210.0130.07720.72
5.6.200.0130.08018.23
5.6.190.0070.08320.36
5.6.180.0330.08020.39
5.6.170.0330.07020.43
5.6.160.0130.04320.39
5.6.150.0070.03717.99
5.6.140.0070.07318.23
5.6.130.0070.07318.23
5.6.120.0000.05321.13
5.6.110.0070.08021.01
5.6.100.0200.07321.01
5.6.90.0000.04321.01
5.6.80.0070.07720.38
5.5.350.0230.07720.39
5.5.340.0030.07317.97
5.5.330.0230.06020.17
5.5.320.0300.07019.97
5.5.310.0170.04320.13
5.5.300.0000.04317.93
5.5.290.0030.08317.89
5.5.280.0170.03720.85
5.5.270.0100.04320.94
5.5.260.0100.08320.96
5.5.250.0100.08020.59
5.5.240.0030.03720.04
5.4.450.0230.07319.36
5.4.440.0230.03719.08
5.4.430.0170.03719.36
5.4.420.0230.07019.34
5.4.410.0300.07319.23
5.4.400.0270.04718.93
5.4.390.4000.04018.94
5.4.380.0170.04718.78
5.4.370.0300.03718.79
5.4.360.0200.04018.78
5.4.350.0270.05718.81
5.4.340.0170.04319.06
5.4.320.0330.06718.93
5.4.310.0230.03318.78
5.4.300.0130.05019.02
5.4.290.0370.04318.78
5.4.280.0270.05019.15
5.4.270.0430.04318.93
5.4.260.0200.06318.78
5.4.250.0200.03719.24
5.4.240.0200.04019.09
5.4.230.0170.03718.88
5.4.220.0200.05018.80
5.4.210.0100.04319.00
5.4.200.0300.06018.92
5.4.190.0170.04719.02
5.4.180.0200.03719.23
5.4.170.3630.04018.77
5.4.160.3930.04018.91
5.4.150.0200.06319.00
5.4.140.3400.03316.36
5.4.130.3370.03016.24
5.4.120.0070.03016.32
5.4.110.0100.07316.43
5.4.100.0200.07716.34
5.4.90.0130.07316.53
5.4.80.0200.07716.16
5.4.70.0030.03716.52
5.4.60.0170.05316.51
5.4.50.0300.03716.25
5.4.40.0270.05716.52
5.4.30.0000.07716.51
5.4.20.0000.09016.34
5.4.10.0300.06716.21
5.4.00.3330.03015.78

preferences:
47.07 ms | 400 KiB | 5 Q