3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php class A implements JsonSerializable { public function jsonSerialize() { return []; } } new A(); new B(); class B implements JsonSerializable { public function jsonSerialize() { return []; } }

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)
5.4.220.0100.04712.37
5.4.210.0140.04012.37
5.4.200.0100.04512.37
5.4.190.0130.03912.36
5.4.180.0100.03912.36
5.4.170.0130.04012.37
5.4.160.0130.04012.36
5.4.150.0120.04212.36
5.4.140.0100.04412.05
5.4.130.0070.04812.03
5.4.120.0100.04612.00
5.4.110.0110.05112.00
5.4.100.0100.04812.00
5.4.90.0200.06012.00
5.4.80.0130.04112.00
5.4.70.0100.04211.99
5.4.60.0120.04011.99
5.4.50.0140.03511.99
5.4.40.0110.04011.98
5.4.30.0150.04411.98
5.4.20.0100.04111.97
5.4.10.0110.04111.98
5.4.00.0100.03911.47
5.3.270.0130.04712.72
5.3.260.0100.04412.72
5.3.250.0090.04412.72
5.3.240.0130.04512.72
5.3.230.0120.04112.71
5.3.220.0150.04312.68
5.3.210.0110.04712.68
5.3.200.0120.04412.68
5.3.190.0130.04512.67
5.3.180.0150.04312.67
5.3.170.0120.04712.67
5.3.160.0130.04812.67
5.3.150.0110.04912.67
5.3.140.0130.04512.66
5.3.130.0110.04112.66
5.3.120.0140.04512.66
5.3.110.0130.04512.66
5.3.100.0110.04412.12
5.3.90.0140.04612.08
5.3.80.0140.04312.07
5.3.70.0170.03912.07
5.3.60.0150.04612.06
5.3.50.0120.04812.00
5.3.40.0150.04612.00
5.3.30.0130.04711.94
5.3.20.0210.05711.71
5.3.10.0110.04011.67
5.3.00.0120.04111.66

preferences:
140.26 ms | 1394 KiB | 7 Q