3v4l.org

run code in 500+ PHP versions simultaneously
<?php $i = 10; while( $i --> 0) { print $i . ', '; }

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.60.0090.00716.72
8.5.50.0060.00816.63
8.5.30.0100.00719.86
8.5.20.0100.00820.03
8.5.10.0120.00616.77
8.5.00.0110.00919.72
8.4.210.0040.00521.34
8.4.180.0110.01021.86
8.4.170.0200.00720.35
8.4.160.0130.00923.80
8.4.150.0090.00416.83
8.4.140.0130.00917.36
8.4.130.0130.00718.78
8.4.120.0130.00819.67
8.4.110.0130.00717.91
8.4.100.0130.00817.80
8.4.90.0120.00820.59
8.4.80.0160.00818.68
8.4.70.0150.00618.11
8.4.60.0170.00718.21
8.4.50.0160.00818.04
8.4.40.0120.00517.61
8.4.30.0300.00617.50
8.4.20.0340.00617.38
8.4.10.0240.01217.60
8.3.300.0050.00520.82
8.3.290.0110.01018.35
8.3.280.0100.01018.17
8.3.270.0100.00916.61
8.3.260.0140.00516.61
8.3.250.0140.00416.52
8.3.240.0110.00816.63
8.3.230.0120.00616.46
8.3.220.0080.00518.01
8.3.210.0150.00516.52
8.3.200.0090.00616.57
8.3.190.0120.00716.58
8.3.180.0110.00617.45
8.3.170.0120.00816.84
8.3.160.0230.01216.33
8.3.150.0270.00716.19
8.3.140.0280.00816.20
8.3.130.0240.00516.42
8.3.120.0240.00616.31
8.3.110.0230.00616.40
8.3.100.0250.01016.27
8.3.90.0280.00316.12
8.3.80.0260.00516.51
8.3.70.0180.00416.11
8.3.60.0190.00216.38
8.3.50.0190.00316.32
8.3.40.0230.00517.30
8.3.30.0160.00317.33
8.3.20.0100.00717.23
8.3.10.0210.00417.21
8.3.00.0030.01417.37
8.2.300.0150.01017.97
8.2.290.0120.00716.82
8.2.280.0130.00517.40
8.2.270.0170.00316.41
8.2.260.0200.00916.77
8.2.250.0270.00516.61
8.2.240.0220.00616.47
8.2.230.0220.00816.39
8.2.220.0180.01116.39
8.2.210.0210.00716.61
8.2.200.0260.00316.38
8.2.190.0220.00716.48
8.2.180.0210.00716.42
8.2.170.0260.00817.57
8.2.160.0210.00917.40
8.2.150.0250.00617.54
8.2.140.0280.00217.51
8.2.130.0240.00617.46
8.2.120.0250.00417.48
8.2.110.0260.00517.41
8.2.100.0260.00217.34
8.2.90.0270.00417.50
8.2.80.0250.00417.25
8.2.70.0240.00517.60
8.2.60.0220.00417.42
8.2.50.0220.00317.38
8.2.40.0210.00717.37
8.2.30.0250.00517.13
8.2.20.0220.00317.50
8.2.10.0220.00417.33
8.2.00.0240.00317.45
8.1.340.0130.00719.36

preferences:
49.87 ms | 847 KiB | 5 Q