3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Insurance { function clsName($this) { 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.0470.00914.81
7.3.00.0570.01014.75
7.2.130.0510.01014.96
7.2.120.0480.01014.84
7.2.110.0360.00714.71
7.2.100.0400.00314.89
7.2.90.0380.00714.86
7.2.80.0410.00714.77
7.2.70.0420.00314.90
7.2.60.0430.00414.87
7.2.50.0450.00314.86
7.2.40.0360.01014.71
7.2.30.0490.00014.93
7.2.20.0540.01015.01
7.2.10.0890.01014.87
7.2.00.0500.00014.67
7.1.250.1240.00313.79

preferences:
133.77 ms | 1394 KiB | 7 Q