3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($bar) { var_dump($bar); } foo(baz: "blong");

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.0130.00720.61
8.4.110.0120.00817.98
8.4.100.0110.00817.88
8.4.90.0060.00520.19
8.4.80.0020.00820.66
8.4.70.0120.00920.59
8.4.60.0090.00718.76
8.4.50.0110.00520.64
8.4.40.0130.00619.43
8.4.30.0150.00620.62
8.4.20.0060.00318.50
8.4.10.0000.00819.67
8.3.250.0050.00316.95
8.3.240.0040.00616.55
8.3.230.0130.00716.71
8.3.220.0080.01018.85
8.3.210.0040.00416.77
8.3.200.0060.00316.66
8.3.190.0030.00517.11
8.3.180.0110.00818.96
8.3.170.0080.00020.85
8.3.160.0150.00318.42
8.3.150.0070.00718.72
8.3.140.0070.00718.69
8.3.130.0040.00418.57
8.3.120.0030.00618.86
8.3.110.0030.00520.94
8.3.100.0080.00824.06
8.3.90.0080.00026.77
8.3.80.0030.00616.50
8.3.70.0130.01018.30
8.3.60.0070.01116.75
8.3.50.0140.00416.50
8.3.40.0140.00620.64
8.3.30.0070.00718.59
8.3.20.0050.00224.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0110.00816.61
8.2.280.0100.01018.54
8.2.270.0120.00616.84
8.2.260.0150.00016.96
8.2.250.0110.00418.42
8.2.240.0060.00316.82
8.2.230.0090.00022.58
8.2.220.0000.01037.54
8.2.210.0060.00926.77
8.2.200.0110.00016.50
8.2.190.0030.01216.58
8.2.180.0070.01125.92
8.2.170.0110.00419.02
8.2.160.0140.00722.96
8.2.150.0100.00025.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0000.00819.52
8.2.110.0050.00522.09
8.2.100.0050.00520.40
8.1.330.0100.00719.85
8.1.320.0100.01017.71
8.1.310.0070.01016.53
8.1.300.0060.01317.86
8.1.290.0040.00718.88
8.1.280.0080.00625.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00320.11
8.1.230.0030.00619.05
8.0.30.0190.00916.89
8.0.20.0280.00716.87
8.0.10.0160.01216.93
8.0.00.0170.00416.95
7.4.160.0090.00616.51
7.4.150.0270.01216.47
7.4.140.0170.00916.23
7.4.130.0050.01916.31
7.4.120.0070.01416.27
7.4.110.0180.00516.12
7.4.100.0200.01116.46
7.4.90.0150.00816.17
7.4.80.0160.00716.16
7.4.70.0140.01016.26
7.4.60.0050.01916.18
7.4.50.0100.01116.14
7.4.40.0160.00716.10
7.4.30.0180.00316.18
7.4.20.0180.00316.32
7.4.10.0140.00716.23
7.4.00.0090.00916.32
7.3.280.0160.01316.20
7.3.270.0150.01816.20
7.3.260.0140.00916.25
7.3.250.0230.00016.24
7.3.240.0150.00716.11
7.3.230.0120.01216.25
7.3.220.0140.00716.05
7.3.210.0060.01716.05
7.3.200.0070.01116.04
7.3.190.0170.00216.05
7.3.180.0170.00616.15
7.3.170.0120.01215.97
7.3.160.0120.00916.07
7.3.150.0160.00416.08
7.3.140.0130.00315.99
7.3.130.0080.01216.01
7.3.120.0080.01216.09
7.3.110.0050.01516.07
7.3.100.0140.00716.09
7.3.90.0070.01416.40
7.3.80.0170.00716.06
7.3.70.0080.01616.10
7.3.60.0140.00716.25
7.3.50.0070.01716.25
7.3.40.0140.00316.18
7.3.30.0070.01216.24
7.3.20.0170.00016.23
7.3.10.0240.00616.15
7.3.00.0180.00316.20

preferences:
27.86 ms | 403 KiB | 5 Q