3v4l.org

run code in 300+ PHP versions simultaneously
<?php $word="HELLO WORLD"; echo ucwords(strtolower($word); ?>

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.0.20.0200.03720.26
7.0.10.0130.07320.14
7.0.00.0000.04720.20
5.6.170.0230.07720.56
5.6.160.0030.08720.43
5.6.150.0100.07318.25
5.6.140.0070.04718.18
5.6.130.0000.09018.23
5.6.120.0000.04321.04
5.6.110.0070.08020.89
5.6.100.0100.08020.95
5.6.90.0070.08020.96
5.6.80.0030.09020.43
5.5.310.0270.07020.37
5.5.300.0070.04318.04
5.5.290.0100.05318.02
5.5.280.0130.07720.68
5.5.270.0070.05020.88
5.5.260.0030.05320.86
5.5.250.0130.05720.57
5.5.240.0270.07020.28

preferences:
143.46 ms | 1394 KiB | 7 Q