3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public $a = 'a', protected $b = 'b'; private $c = 'c'; } var_export((array) new \Test());

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.1.170.0000.01215.20

preferences:
135.4 ms | 1394 KiB | 7 Q