3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "On first glance, the following appears to output 'true' "; print_r(substr($string, "true"););

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)
5.6.150.0030.08018.18
5.6.140.0030.08318.13
5.6.130.0100.04318.17
5.6.120.0100.08021.12
5.6.110.0070.04020.98
5.6.100.0070.04020.93
5.6.90.0030.04020.94
5.6.80.0200.06320.50
5.5.300.0070.07317.95
5.5.290.0030.04318.01
5.5.280.0100.08020.87
5.5.270.0070.07020.79
5.5.260.0030.04020.75
5.5.250.0130.08020.54
5.5.240.0270.07020.26

preferences:
126.79 ms | 1398 KiB | 7 Q