3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace { function foo($where) { echo "{$where}:\n"; debug_print_backtrace(); } call_user_func("foo", "No namespace"); echo "\n"; } namespace bar { call_user_func("foo", "In a namespace"); }

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.0140.00316.38
8.3.50.0090.00618.34
8.3.40.0120.00318.74
8.3.30.0040.01118.67
8.3.20.0040.00418.98
8.3.10.0030.00623.65
8.3.00.0040.00422.52
8.2.180.0040.01118.54
8.2.170.0120.00922.96
8.2.160.0140.00021.15
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0090.00022.12
8.2.120.0040.00426.35
8.2.110.0110.00021.03
8.2.100.0070.00417.72
8.2.90.0040.00417.72
8.2.80.0070.00319.82
8.2.70.0000.00817.50
8.2.60.0040.00417.63
8.2.50.0080.00017.93
8.2.40.0040.00419.26
8.2.30.0040.00420.61
8.2.20.0060.00317.86
8.2.10.0000.00718.05
8.2.00.0000.00719.42
8.1.280.0110.00725.92
8.1.270.0080.00022.24
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0070.00322.28
8.1.230.0090.00620.93
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0040.00417.22
8.1.190.0000.00817.23
8.1.180.0000.00819.48
8.1.170.0050.00217.62
8.1.160.0050.00318.78
8.1.150.0080.00018.67
8.1.140.0070.00018.89
8.1.130.0000.01118.99
8.1.120.0000.00717.33
8.1.110.0100.00017.27
8.1.100.0040.00417.19
8.1.90.0040.00417.32
8.1.80.0040.00417.34
8.1.70.0040.00417.35
8.1.60.0060.00317.46
8.1.50.0040.00417.48
8.1.40.0000.00817.44
8.1.30.0040.00417.63
8.1.20.0020.00517.52
8.1.10.0000.00817.37
8.1.00.0040.00417.46
8.0.300.0030.00320.04
8.0.290.0050.00216.63
8.0.280.0030.00318.39
8.0.270.0030.00317.24
8.0.260.0000.00717.15
8.0.250.0040.00416.84
8.0.240.0030.00316.84
8.0.230.0070.00016.94
8.0.220.0000.00716.87
8.0.210.0000.00716.89
8.0.200.0040.00416.96
8.0.190.0000.00716.81
8.0.180.0060.00316.97
8.0.170.0030.00616.79
8.0.160.0000.00716.91
8.0.150.0070.00016.78
8.0.140.0000.00716.73
8.0.130.0030.00313.28
8.0.120.0040.00416.74
8.0.110.0000.00716.79
8.0.100.0070.00016.75
8.0.90.0000.00716.73
8.0.80.0110.01016.86
8.0.70.0070.00016.95
8.0.60.0000.00716.89
8.0.50.0050.00316.86
8.0.30.0090.00817.05
8.0.20.0190.00317.40
8.0.10.0030.00516.98
8.0.00.0130.00816.75
7.4.330.0020.00215.55
7.4.320.0060.00016.33
7.4.300.0030.00316.42
7.4.290.0070.00016.44
7.4.280.0000.00816.42
7.4.270.0070.00016.53
7.4.260.0030.00516.55
7.4.250.0070.00016.53
7.4.240.0030.00316.54
7.4.230.0000.00716.34
7.4.220.0050.00316.56
7.4.210.0100.00416.45
7.4.200.0030.00316.37
7.4.160.0110.00616.44
7.4.140.0080.01317.86
7.4.130.0080.00916.37
7.4.120.0100.01016.44
7.4.110.0060.01016.42
7.4.100.0120.00916.56
7.4.90.0090.00916.46
7.4.80.0130.00319.39
7.4.70.0080.01016.49
7.4.60.0090.00616.25
7.4.50.0040.01116.54
7.4.40.0110.00616.71
7.4.00.0060.01014.96
7.3.330.0020.00213.29
7.3.320.0000.00613.29
7.3.310.0000.00716.25
7.3.300.0050.00516.31
7.3.290.0070.00016.30
7.3.280.0100.00916.27
7.3.260.0100.01016.42
7.3.240.0120.00816.51
7.3.230.0100.00716.57
7.3.210.0110.01116.27
7.3.200.0170.00016.73
7.3.190.0040.01216.63
7.3.180.0000.01516.24
7.3.170.0130.00316.61
7.3.160.0070.01316.63
7.3.10.0030.01016.71
7.3.00.0030.00916.83
7.2.330.0000.01716.50
7.2.320.0100.00716.39
7.2.310.0060.01116.68
7.2.300.0140.00416.57
7.2.290.0080.00816.34
7.2.130.0060.00916.82
7.2.120.0030.00616.81
7.2.110.0000.00816.72
7.2.100.0060.00316.98
7.2.90.0030.00916.73
7.2.80.0200.00615.73
7.2.70.0220.00615.94
7.2.60.0250.00515.65
7.2.50.0280.00315.88
7.2.40.0360.00615.76
7.2.30.0170.01215.68
7.2.20.0340.00615.69
7.2.10.0270.00615.69
7.2.00.0280.00815.73
7.1.250.0040.01215.70
7.1.200.0320.00613.89
7.1.190.0270.01013.79
7.1.180.0530.00713.70
7.1.170.0310.01013.74
7.1.160.0400.00713.78
7.1.150.0420.00613.70
7.1.140.0360.00613.64
7.1.130.1360.00313.63
7.1.120.0490.00713.73
7.1.110.0570.00713.94
7.1.100.0670.01013.90
7.1.90.0570.00313.58
7.1.80.0510.00613.59
7.1.70.0530.00713.44
7.1.60.0550.01331.70
7.1.50.0560.01231.22
7.1.40.0670.00331.31
7.1.30.0790.02031.50
7.1.20.0830.01031.70
7.1.10.0350.01213.81
7.1.00.0410.00713.43

preferences:
96.8 ms | 401 KiB | 5 Q