3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Value = 'rId4'; $rels= new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet2.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/></Relationships>'); $rels->registerXPathNamespace('r', 'http://schemas.openxmlformats.org/package/2006/relationships'); print_r( $rels->xpath('/r:Relationships/r:Relationship[@Id and @Target]/@Id . ' ' . @Target'));

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.0030.08720.18
5.6.160.0170.06020.55
5.6.150.0130.04318.18
5.6.140.0030.05318.21
5.6.130.0030.05318.18
5.6.120.0000.08020.92
5.6.110.0030.04020.89
5.6.100.0130.07720.95
5.6.90.0030.04320.97
5.6.80.0130.07020.38
5.5.300.0000.04317.95
5.5.290.0100.07318.03
5.5.280.0100.04320.77
5.5.270.0070.08020.88
5.5.260.0070.10020.77
5.5.250.0070.04020.59
5.5.240.0200.06320.37

preferences:
144.86 ms | 1394 KiB | 7 Q