3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str=<<<XML <configuration> <startup><supportedRuntime version="v2.0.50727"/></startup> <appSettings> <!-- timeout in seconds --> <add key="AtgStartTimeout" value="20" /> <add key="EnableHermesLogging" value="true" /> <add key="HandleIOSDevices" value="true" /> <add key="UseAMCLoyalty" value="false" /> </appSettings> </configuration> XML; $xml=simplexml_load_string($str); $result=$xml->xpath('/configuration/appSettings/add[@key='UseAMCLoyalty']/..'); foreach($result as $node) { echo $node->attributes()->id."\n"; }

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.140.0100.04612.07
5.4.130.0100.04312.05
5.4.120.0090.04612.01
5.4.110.0100.04612.01
5.4.100.0100.04512.01
5.4.90.0100.05412.01
5.4.80.0100.04012.01
5.4.70.0100.04612.00
5.4.60.0100.04412.01
5.4.50.0110.04512.00
5.4.40.0160.04912.00
5.4.30.0100.04511.99
5.4.20.0110.04411.99
5.4.10.0100.04511.99
5.4.00.0100.04411.48
5.3.240.0150.04112.72
5.3.230.0100.04512.71
5.3.220.0120.04512.68
5.3.210.0150.05312.68
5.3.200.0110.04412.68
5.3.190.0080.04812.68
5.3.180.0120.04412.67
5.3.170.0120.04812.67
5.3.160.0180.05912.67
5.3.150.0100.04712.67
5.3.140.0180.05312.66
5.3.130.0100.04812.66
5.3.120.0130.04612.66
5.3.110.0100.04812.66
5.3.100.0120.06512.12
5.3.90.0120.04412.08
5.3.80.0120.04612.08
5.3.70.0120.04412.07
5.3.60.0140.03812.06
5.3.50.0110.04112.00
5.3.40.0130.06112.00
5.3.30.0100.04211.95
5.3.20.0090.04211.73
5.3.10.0110.03911.69
5.3.00.0100.04211.68

preferences:
143.09 ms | 1394 KiB | 7 Q