3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 1; $i < 1000; ++$i) { $s = $i % 3; echo "ServerID=$s\n"; }

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.5.30.0080.01218.00
8.5.20.0100.00920.27
8.5.10.0100.01016.73
8.5.00.0170.01019.66
8.4.180.0180.00619.43
8.4.170.0180.00820.52
8.4.160.0150.00919.50
8.4.150.0010.00114.05
8.4.140.0160.00717.51
8.4.130.0130.00817.70
8.4.120.0130.00820.71
8.4.110.0140.00823.96
8.4.100.0290.00820.56
8.4.90.0190.00420.16
8.4.80.0150.00317.68
8.4.70.0180.00317.50
8.4.60.0160.00617.23
8.4.50.0140.00717.79
8.4.40.0180.00517.58
8.4.30.0170.00517.28
8.4.20.0180.00617.50
8.4.10.0190.00317.29
8.3.300.0110.01020.71
8.3.290.0120.01220.71
8.3.280.0140.00818.38
8.3.270.0070.01416.55
8.3.260.0100.00716.60
8.3.250.0120.00818.96
8.3.240.0160.00616.57
8.3.230.0160.00516.17
8.3.220.0170.00416.46
8.3.210.0160.00716.25
8.3.200.0200.00218.16
8.3.190.0180.00316.31
8.3.180.0170.00516.21
8.3.170.0170.00516.34
8.3.160.0250.00418.07
8.3.150.0150.01016.53
8.3.140.0150.00816.71
8.3.130.0140.00716.61
8.3.120.0170.00416.20
8.3.110.0180.00516.27
8.3.100.0180.00616.42
8.3.90.0200.00316.38
8.3.80.0180.00616.30
8.3.70.0200.00516.36
8.3.60.0170.00716.47
8.3.50.0180.00616.37
8.3.40.0210.00517.40
8.3.30.0150.00617.51
8.3.20.0150.00417.25
8.3.10.0150.00417.44
8.3.00.0160.00417.25
8.2.300.0130.00818.09
8.2.290.0070.00320.13
8.2.280.0180.00316.52
8.2.270.0170.00316.22
8.2.260.0180.00216.60
8.2.250.0130.00816.23
8.2.240.0140.00416.52
8.2.230.0170.00516.33
8.2.220.0180.00116.25
8.2.210.0130.00616.18
8.2.200.0160.00416.24
8.2.190.0120.00616.58
8.2.180.0150.00616.22
8.2.170.0160.00517.47
8.2.160.0160.00417.65
8.2.150.0150.00517.32
8.2.140.0150.00517.63
8.2.130.0170.00317.36
8.2.120.0160.00317.55
8.2.110.0160.00717.42
8.2.100.0160.00317.64
8.2.90.0160.00517.58
8.2.80.0190.00317.33
8.2.70.0170.00217.24
8.2.60.0180.00217.25
8.2.50.0180.00217.26
8.2.40.0170.00617.32
8.2.30.0130.00817.48
8.2.20.0200.01017.55
8.2.10.0220.01017.61
8.2.00.0150.00517.48
8.1.340.0110.01019.98

preferences:
55.43 ms | 475 KiB | 5 Q