3v4l.org

run code in 300+ PHP versions simultaneously
<?php function whole($one, $two) { /* ... */ echo $one; } $partial = whole(?, 2); $partial('one');

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.1.60.0030.00617.35
8.1.50.0120.00417.31
8.1.40.0060.00317.31
8.1.30.0040.00417.42
8.1.20.0030.00417.37
8.1.10.0120.00317.33
8.1.00.0140.00317.32
8.0.190.0000.00916.86
8.0.180.0050.00816.70
8.0.170.0150.00016.73
8.0.160.0080.00816.80
8.0.150.0060.00616.76
8.0.140.0150.00216.78
8.0.130.0150.00316.77
8.0.120.0120.00616.82
8.0.110.0070.00816.74
8.0.100.0160.00216.74
8.0.90.0100.00416.78
8.0.80.0070.00816.85
8.0.70.0140.00416.72
8.0.60.0140.00316.73
8.0.50.0090.00916.76
8.0.30.0120.01016.82
8.0.20.0130.00916.90
8.0.10.0140.00916.88
8.0.00.0120.01016.90
7.4.290.0050.00516.30
7.4.280.0090.00916.33
7.4.270.0060.00716.31
7.4.260.0130.00416.42
7.4.250.0100.00816.37
7.4.240.0040.00816.39
7.4.230.0080.00416.29
7.4.220.0110.00616.37
7.4.210.0150.00316.43
7.4.200.0120.00616.32
7.4.190.0140.00316.45
7.4.180.0150.00116.40
7.4.160.0120.00816.42
7.4.150.0140.01016.36
7.4.140.0130.00916.27
7.4.130.0150.00916.26
7.4.120.0130.00916.23
7.4.110.0130.00916.22
7.4.100.0150.00816.33
7.4.90.0130.00816.22
7.4.80.0140.00916.26
7.4.70.0120.00916.23
7.4.60.0120.00916.25
7.4.50.0130.01116.16
7.4.40.0140.00916.18
7.4.30.0130.00916.23
7.4.20.0130.00916.22
7.4.10.0130.00916.25
7.4.00.0110.00916.26
7.3.330.0110.00716.22
7.3.320.0130.00416.13
7.3.310.0120.00516.03
7.3.300.0100.00816.13
7.3.290.0130.00516.14
7.3.280.0100.00816.16
7.3.270.0120.00916.16
7.3.260.0130.00916.14
7.3.250.0120.00916.14
7.3.240.0140.00716.14
7.3.230.0140.00716.17
7.3.220.0190.00816.09
7.3.210.0140.00916.11
7.3.200.0140.00816.09
7.3.190.0150.00716.10
7.3.180.0190.00816.09
7.3.170.0140.00916.07
7.3.160.0160.00916.10
7.3.150.0140.00816.08
7.3.140.0140.00716.08
7.3.130.0140.00716.08
7.3.120.0140.00816.08
7.3.110.0150.00716.00
7.3.100.0150.00816.05
7.3.90.0120.01016.34
7.3.80.0140.00816.10
7.3.70.0140.00816.13
7.3.60.0130.00916.20
7.3.50.0150.00816.19
7.3.40.0140.00816.22
7.3.30.0130.00816.18
7.3.20.0130.00916.37
7.3.10.0150.00916.26
7.3.00.0140.00816.29

preferences:
13.55 ms | 406 KiB | 5 Q