3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() {} function bar() { $arguments = func_get_args(); print_r($arguments); } foo(33); bar(33);

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.4.120.0110.01120.57
8.4.110.0110.00922.35
8.4.100.0050.00517.75
8.4.90.0120.00918.61
8.4.80.0070.00217.80
8.4.70.0110.00917.70
8.4.60.0090.01118.56
8.4.50.0110.00917.55
8.4.40.0160.00317.55
8.4.30.0130.00718.57
8.4.20.0100.01019.75
8.4.10.0080.00819.64
8.3.250.0070.00719.02
8.3.240.0090.00717.08
8.3.230.0090.00516.66
8.3.220.0050.00316.98
8.3.210.0120.00816.73
8.3.200.0060.00516.79
8.3.190.0110.00817.22
8.3.180.0120.00619.10
8.3.170.0120.00319.13
8.3.160.0140.00418.55
8.3.150.0070.01018.26
8.3.140.0110.00616.80
8.3.130.0050.00318.38
8.3.120.0090.00618.86
8.3.110.0090.00020.94
8.3.100.0030.00716.79
8.3.90.0050.00326.77
8.3.80.0060.00317.97
8.3.70.0140.00018.06
8.3.60.0120.00318.18
8.3.50.0090.01216.60
8.3.40.0130.00322.09
8.3.30.0070.00721.64
8.3.20.0040.00424.18
8.3.10.0000.00724.66
8.3.00.0000.00826.16
8.2.290.0130.00720.36
8.2.280.0120.00618.49
8.2.270.0130.00617.16
8.2.260.0100.00720.12
8.2.250.0170.00316.41
8.2.240.0040.00417.21
8.2.230.0090.00622.58
8.2.220.0070.00724.06
8.2.210.0070.01026.77
8.2.200.0060.00316.63
8.2.190.0070.00718.16
8.2.180.0110.00418.13
8.2.170.0060.01318.82
8.2.160.0100.01022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0100.00326.16
8.2.120.0060.00319.64
8.2.110.0130.00620.24
8.2.100.0090.00320.80
8.2.90.0130.00318.75
8.2.80.0100.00518.44
8.2.70.0120.00618.38
8.2.60.0140.00320.49
8.2.50.0070.00719.72
8.2.40.0130.00318.61
8.2.30.0150.00018.66
8.2.20.0160.00018.65
8.2.10.0110.00419.25
8.2.00.0060.00920.75
8.1.330.0070.00222.01
8.1.320.0090.01016.14
8.1.310.0110.00416.53
8.1.300.0040.00416.01
8.1.290.0000.00830.84
8.1.280.0070.00725.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0070.00720.34
8.1.230.0120.00318.33
8.1.220.0120.00318.53
8.1.210.0130.00319.81
8.1.200.0050.00918.14
8.1.190.0150.00018.34
8.1.180.0160.00018.33
8.1.170.0150.00018.37
8.1.160.0140.00018.61
8.1.150.0110.00320.50
8.1.140.0130.00320.27
8.1.130.0120.00418.33
8.1.120.0150.00018.42
8.1.110.0030.01018.58
8.1.100.0140.00018.58
8.1.90.0090.00620.41
8.1.80.0150.00020.37
8.1.70.0110.00320.32
8.1.60.0040.01318.52
8.1.50.0130.00420.41
8.1.40.0080.00618.55
8.1.30.0050.00818.82
8.1.20.0100.00718.75
8.1.10.0110.00318.72
8.1.00.0100.00320.23
8.0.300.0140.00317.76
8.0.290.0140.00019.64
8.0.280.0080.00517.88
8.0.270.0120.00417.61
8.0.260.0040.00917.97
8.0.250.0150.00017.84
8.0.240.0130.00317.73
8.0.230.0120.00019.83
8.0.220.0170.00017.63
8.0.210.0140.00017.83
8.0.200.0130.00417.82
8.0.190.0120.00318.14
8.0.180.0140.00417.86
8.0.170.0180.00017.88
8.0.160.0160.00017.85
8.0.150.0140.00317.69
8.0.140.0130.00319.61
8.0.130.0070.00718.18
8.0.120.0120.00417.52
8.0.110.0130.00317.88
8.0.100.0170.00017.74
8.0.90.0130.00317.87
8.0.80.0150.00017.86
8.0.70.0170.00017.89
8.0.60.0100.00517.91
8.0.50.0170.00017.75
8.0.30.0000.01420.14
8.0.20.0080.00817.68
8.0.10.0130.00318.08

preferences:
26.98 ms | 403 KiB | 5 Q