3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public $a = <<<end a$b c end; }

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.0.10.0000.05720.33
7.0.00.0070.04020.16
5.6.160.0000.04720.44
5.6.150.0100.06018.21
5.6.140.0030.04018.17
5.6.130.0000.05018.25
5.6.120.0030.04321.02
5.6.110.0170.03720.98
5.6.100.0100.04020.97
5.6.90.0170.05320.96
5.6.80.0030.08020.53
5.5.300.0100.07018.03
5.5.290.0100.06718.01
5.5.280.0130.07720.77
5.5.270.0100.08020.72
5.5.260.0100.08020.84
5.5.250.0070.07720.54
5.5.240.0170.06720.27

preferences:
145.35 ms | 1394 KiB | 7 Q