3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dom = new DOMDocument(); $dom->loadXML('<dip xmlns="http://itzbund.de/ozg/bzst/post/dip/v1/" version="1.0"/>'); $xpath = new DOMXpath($dom); $xpath->registerNamespace("x", "http://itzbund.de/ozg/bzst/post/dip/v1/"); $elements = $xpath->query("//x:dip"); var_dump($elements); $dom = new DOMDocument(); $dom->loadXML('<dip:dip xmlns:dip="http://itzbund.de/ozg/bzst/post/dip/v1/" version="1.0"/>'); $xpath = new DOMXpath($dom); $xpath->registerNamespace("x", "http://itzbund.de/ozg/bzst/post/dip/v1/"); $elements = $xpath->query("//x:dip"); var_dump($elements);

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)
8.5.10.0150.00716.96
8.5.00.0110.01220.43
8.4.160.0090.01424.26
8.4.150.0030.00014.05
8.4.140.0170.00917.82
8.4.130.0150.00618.26
8.4.120.0120.00821.21
8.4.110.0120.00820.89
8.4.100.0100.01017.98
8.4.90.0160.00518.03
8.4.80.0110.00821.07
8.4.70.0110.00518.13
8.4.60.0120.01018.05
8.4.50.0170.00420.01
8.4.40.0230.01219.73
8.4.30.0240.02117.71
8.4.20.0240.00417.73
8.4.10.0170.00517.93
8.3.280.0110.00918.79
8.3.270.0100.00916.80
8.3.260.0030.00616.79
8.3.250.0140.00519.15
8.3.240.0120.00816.73
8.3.230.0050.00616.99
8.3.220.0050.00517.64
8.3.210.0130.00716.89
8.3.200.0100.01016.98
8.3.190.0090.01017.34
8.3.180.0120.00816.86
8.3.170.0080.00019.38
8.3.160.0220.00316.58
8.3.150.0210.00416.86
8.3.140.0150.00716.79
8.3.130.0220.00316.41
8.3.120.0190.00017.03
8.3.110.0120.00616.87
8.3.100.0180.00416.82
8.3.90.0170.00716.59
8.3.80.0220.00016.60
8.3.70.0190.00317.00
8.3.60.0190.00516.88
8.3.50.0290.00016.87
8.3.40.0160.00717.74
8.3.30.0290.00917.50
8.3.20.0210.00417.66
8.3.10.0270.00717.79
8.3.00.0130.01317.71
8.2.290.0070.00720.87
8.2.280.0120.00916.90
8.2.270.0160.00617.16
8.2.260.0230.00017.09
8.2.250.0260.01018.48
8.2.240.0160.00316.83
8.2.230.0180.00316.80
8.2.220.0130.00416.95
8.2.210.0150.00516.72
8.2.200.0100.00716.95
8.2.190.0150.00316.87
8.2.180.0130.00416.95
8.2.170.0180.00018.11
8.2.160.0140.00817.81
8.2.150.0280.00317.59
8.2.140.0260.00717.73
8.2.130.0270.00417.66
8.2.120.0200.00817.73
8.2.110.0200.00917.70
8.2.100.0350.00717.78
8.2.90.0290.00617.85
8.2.80.0250.00017.71
8.2.70.0230.00017.78
8.2.60.0320.00017.55
8.2.50.0280.00617.46
8.2.40.0310.00317.95
8.2.30.0310.00317.75
8.2.20.0220.00717.65
8.2.10.0240.00017.50
8.2.00.0160.00317.58
8.1.320.0100.01018.09

preferences:
33.38 ms | 403 KiB | 5 Q