3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($bar) { var_dump($bar); } foo('bar', bar: 'bar 2');

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.0020.00620.50
8.4.110.0100.01022.49
8.4.100.0110.01018.10
8.4.90.0130.00518.66
8.4.80.0120.00818.73
8.4.70.0120.00819.73
8.4.60.0120.00819.55
8.4.50.0150.00618.80
8.4.40.0030.00619.54
8.4.30.0160.00320.47
8.4.20.0070.01318.90
8.4.10.0040.01217.85
8.3.250.0100.00818.59
8.3.240.0130.00816.43
8.3.230.0110.00816.86
8.3.220.0020.00518.97
8.3.210.0090.01016.54
8.3.200.0030.00418.90
8.3.190.0130.00516.81
8.3.180.0030.00417.07
8.3.170.0120.00319.00
8.3.160.0070.01117.20
8.3.150.0110.00417.13
8.3.140.0070.00720.86
8.3.130.0080.00018.38
8.3.120.0000.00918.71
8.3.110.0000.00920.94
8.3.100.0090.00624.06
8.3.90.0000.00826.77
8.3.80.0090.00319.36
8.3.70.0120.00316.59
8.3.60.0080.00818.56
8.3.50.0140.00716.24
8.3.40.0120.00318.84
8.3.30.0150.00018.67
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.290.0110.00820.25
8.2.280.0070.00716.61
8.2.270.0100.01018.86
8.2.260.0070.01116.61
8.2.250.0140.00416.59
8.2.240.0040.00416.96
8.2.230.0080.00022.58
8.2.220.0060.00337.54
8.2.210.0140.00426.77
8.2.200.0000.00818.88
8.2.190.0140.00318.18
8.2.180.0040.01125.92
8.2.170.0080.00818.87
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00320.41
8.2.110.0000.01220.47
8.2.100.0060.00320.12
8.1.330.0130.00622.05
8.1.320.0100.00916.03
8.1.310.0070.00417.94
8.1.300.0040.00418.32
8.1.290.0000.00930.84
8.1.280.0140.00025.92
8.1.270.0050.00223.99
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0060.00318.89
8.1.230.0060.00318.90
8.0.30.0100.01316.89
8.0.20.0000.01816.89
8.0.10.0090.00616.91
8.0.00.0100.01016.93
7.4.160.0040.01116.53
7.4.150.0120.00916.43
7.4.140.0090.01216.24
7.4.130.0090.01216.42
7.4.120.0030.01316.42
7.4.110.0100.01016.16
7.4.100.0110.00516.41
7.4.90.0120.00616.34
7.4.80.0090.00916.18
7.4.70.0100.00716.19
7.4.60.0070.01116.10
7.4.50.0130.00716.17
7.4.40.0040.01516.09
7.4.30.0090.00916.38
7.4.20.0070.01016.25
7.4.10.0000.02016.27
7.4.00.0100.01016.36
7.3.280.0120.00416.19
7.3.270.0090.00616.11
7.3.260.0140.00416.16
7.3.250.0070.01116.19
7.3.240.0110.00816.19
7.3.230.0060.01016.11
7.3.220.0100.01016.08
7.3.210.0110.00816.09
7.3.200.0060.00916.12
7.3.190.0090.00916.18
7.3.180.0100.01016.08
7.3.170.0160.00316.08
7.3.160.0070.01116.13
7.3.150.0090.01116.08
7.3.140.0090.00616.04
7.3.130.0090.00616.12
7.3.120.0070.00716.13
7.3.110.0070.01015.98
7.3.100.0080.00816.07
7.3.90.0070.01016.40
7.3.80.0070.00715.99
7.3.70.0160.00416.11
7.3.60.0120.00616.26
7.3.50.0160.00316.21
7.3.40.0000.01716.18
7.3.30.0100.00616.14
7.3.20.0320.01116.23
7.3.10.0140.00016.18
7.3.00.0060.00916.10

preferences:
28.49 ms | 403 KiB | 5 Q