3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo substr(”Hello World”,0,-5); ?>

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.0400.08020.30
7.0.10.0070.06020.06
7.0.00.0170.08320.16
5.6.170.0130.06720.62
5.6.160.0100.06720.46
5.6.150.0030.04018.22
5.6.140.0070.08018.30
5.6.130.0170.07018.19
5.6.120.0070.07320.98
5.6.110.0000.04721.10
5.6.100.0100.08321.10
5.6.90.0100.03321.09
5.6.80.0000.09020.37
5.5.310.0300.04720.34
5.5.300.0070.08317.96
5.5.290.0030.08317.98
5.5.280.0130.03320.68
5.5.270.0070.07020.79
5.5.260.0100.03320.75
5.5.250.0000.06320.71
5.5.240.0200.05720.25

preferences:
144.43 ms | 1386 KiB | 7 Q