3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Some { public function __construct() { echo "construct called"; }; public function __destruct() { echo "destruct called"; }; } $a = new Some(); //unset($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)
5.4.170.0160.04312.38
5.4.160.0150.04312.38
5.4.150.0170.04212.38
5.4.140.0160.04112.07
5.4.130.0370.08412.04
5.4.120.0120.04412.01
5.4.110.0200.03612.01
5.4.100.0160.04112.00
5.4.90.0090.04812.01
5.4.80.0150.04212.01
5.4.70.0150.04212.01
5.4.60.0170.03912.00
5.4.50.0120.04512.00
5.4.40.0150.04111.99
5.4.30.0130.04511.99
5.4.20.0170.03911.98
5.4.10.0160.04111.99
5.4.00.0150.04211.48
5.3.270.0160.04512.72
5.3.260.0180.04312.71
5.3.250.0190.07012.72
5.3.240.0120.04712.72
5.3.230.0140.04612.71
5.3.220.0160.04312.68
5.3.210.0150.04412.68
5.3.200.0340.08512.68
5.3.190.0160.04412.68
5.3.180.0160.04312.67
5.3.170.0150.04412.67
5.3.160.0160.04312.68
5.3.150.0180.04012.67
5.3.140.0130.04512.66
5.3.130.0240.06512.66
5.3.120.0170.04312.65
5.3.110.0160.04312.66
5.3.100.0180.04112.13
5.3.90.0160.04112.09
5.3.80.0130.04612.08
5.3.70.0230.03812.08
5.3.60.0180.04212.06
5.3.50.0310.08912.01
5.3.40.0130.04812.01
5.3.30.0180.04211.98
5.3.20.0100.04711.76
5.3.10.0140.04511.72
5.3.00.0130.04211.70

preferences:
143.37 ms | 1394 KiB | 7 Q