3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function a(){return 'A'}; } $a = new A; var_dump(new ${!${''}='A'});

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.00.0070.04320.07
5.6.160.0030.04720.71
5.6.150.0100.07718.19
5.6.140.0200.05718.27
5.6.130.0030.08318.29
5.6.120.0100.08321.00
5.6.110.0170.07720.89
5.6.100.0030.04021.05
5.6.90.0100.06720.88
5.6.80.0100.08020.41
5.5.300.0070.03718.07
5.5.290.0030.04018.07
5.5.280.0100.07720.96
5.5.270.0100.07720.65
5.5.260.0130.07720.84
5.5.250.0130.07720.69
5.5.240.4300.03720.16

preferences:
142.74 ms | 1394 KiB | 7 Q