3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Insurance { function clsName(self) { echo get_class(); } } $cl = new Insurance(); $cl->clsName(); Insurance::clsName();

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.3.10.0440.00314.80
7.3.00.0550.00314.52
7.2.130.0530.01314.79
7.2.120.0400.00614.67
7.2.110.0500.00314.79
7.2.100.0370.01714.42
7.2.90.0610.01014.76
7.2.80.0530.00314.76
7.2.70.0570.00614.77
7.2.60.0420.01014.77
7.2.50.0570.00314.82
7.2.40.0590.00314.75
7.2.30.0490.00714.94
7.2.20.1140.00714.71
7.2.10.0610.00314.94
7.2.00.0730.00315.02
7.1.250.0450.00913.75

preferences:
167.14 ms | 1394 KiB | 7 Q