3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Car { public funtion __toString() { echo "MyContent"; } } $o = new Car(); echo $o;

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.160.0070.06020.57
5.6.150.0070.04018.18
5.6.140.0030.04018.28
5.6.130.0100.07318.16
5.6.120.0200.07320.99
5.6.110.0130.08721.11
5.6.100.0130.06021.10
5.6.90.0070.09021.12
5.6.80.0070.07020.28
5.5.300.0030.08317.95
5.5.290.0100.05317.95
5.5.280.0070.04320.76
5.5.270.0030.06720.72
5.5.260.0130.05020.96
5.5.250.0030.05720.57
5.5.240.0100.08320.23

preferences:
141.43 ms | 1394 KiB | 7 Q