3v4l.org

run code in 300+ PHP versions simultaneously
<?php $truth = 2 < 3; echo $truth ? 'Yes two is less than three.'; : 'NO two is NOT less than three.';

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)
7.1.70.0070.00716.82
7.1.60.0140.01434.95
7.1.50.0250.00334.81
7.1.40.0230.01034.20
7.1.30.0200.02334.39
7.1.20.0150.01534.51
7.1.10.0060.01616.23
7.1.00.0120.00916.61
7.0.200.0030.01216.30
7.0.190.0060.00816.25
7.0.180.0110.00616.11
7.0.170.0060.01215.97
7.0.160.0030.01216.15
7.0.150.0130.00915.80
7.0.140.0030.01516.21
7.0.130.0060.01516.36
7.0.120.0170.00316.22
7.0.110.0080.00816.25
7.0.100.0100.00316.16
7.0.90.0030.01316.15
7.0.80.0060.00916.18
7.0.70.0030.01116.11
7.0.60.0080.00615.95
7.0.50.0130.00616.38
7.0.40.0090.00616.05
7.0.30.0060.00616.35
7.0.20.0030.01116.15
7.0.10.0070.00716.48
7.0.00.0040.01116.20

preferences:
145.42 ms | 1394 KiB | 7 Q