3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(null $a) { var_dump($a); } foo(null); foo(42);

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.0070.00223.88
8.4.110.0140.00522.36
8.4.100.0160.00418.66
8.4.90.0050.00618.62
8.4.80.0080.01120.21
8.4.70.0110.01017.89
8.4.60.0090.00718.73
8.4.50.0070.01318.63
8.4.40.0130.00717.89
8.4.30.0000.00818.73
8.4.20.0120.00919.63
8.4.10.0060.00319.80
8.3.250.0120.00618.98
8.3.240.0100.00617.04
8.3.230.0140.00516.81
8.3.220.0040.00418.83
8.3.210.0090.00916.51
8.3.200.0040.00716.76
8.3.190.0040.00417.04
8.3.180.0060.00217.19
8.3.170.0120.00618.60
8.3.160.0060.01217.06
8.3.150.0070.00317.00
8.3.140.0100.01016.81
8.3.130.0040.00418.46
8.3.120.0150.00318.78
8.3.110.0030.00622.58
8.3.100.0100.00020.94
8.3.90.0040.00420.94
8.3.50.0060.00320.94
8.3.40.0100.01021.34
8.3.30.0100.01020.72
8.3.20.0120.00623.65
8.3.10.0140.00423.65
8.3.00.0090.00920.71
8.2.290.0120.00820.23
8.2.280.0090.00520.42
8.2.270.0070.01117.26
8.2.260.0040.00416.40
8.2.250.0060.00916.54
8.2.240.0030.00618.97
8.2.230.0040.00422.58
8.2.220.0070.01122.58
8.2.210.0050.00322.58
8.2.170.0130.00620.57
8.2.160.0100.00721.95
8.2.150.0090.00620.75
8.2.140.0070.00720.35
8.2.130.0070.01520.51
8.2.120.0170.00319.27
8.2.110.0140.00719.22
8.2.100.0090.00619.10
8.2.90.0070.00718.78
8.2.80.0110.00419.22
8.2.70.0130.00318.78
8.2.60.0030.01718.73
8.2.50.0070.01318.88
8.2.40.0100.01018.63
8.2.30.0030.01618.66
8.2.20.0140.00718.70
8.2.10.0160.00618.65
8.2.00.0150.00718.83
8.1.330.0120.00822.01
8.1.320.0160.00415.99
8.1.310.0040.00416.51
8.1.300.0060.01218.17
8.1.270.0070.01322.01
8.1.260.0110.00721.93
8.1.250.0100.01022.20
8.1.240.0090.00918.50
8.1.230.0060.01318.32
8.1.220.0060.01218.71
8.1.210.0040.01418.51
8.1.200.0190.00318.54
8.1.190.0160.00318.42
8.1.180.0110.00720.14
8.1.170.0030.01420.52
8.1.160.0090.00620.04
8.1.150.0080.00820.39
8.1.140.0090.00620.44
8.1.130.0140.00420.52
8.1.120.0100.00620.22
8.1.110.0070.00720.20
8.1.100.0040.01121.52
8.1.90.0040.01118.54
8.1.80.0070.00719.74
8.1.70.0110.00318.46
8.1.60.0120.00318.54
8.1.50.0110.00418.46
8.1.40.0120.00318.53
8.1.30.0110.00418.82
8.1.20.0080.00819.88
8.1.10.0120.00318.48
8.1.00.0120.00318.35

preferences:
27.97 ms | 403 KiB | 5 Q