3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<iframe src="http://player.vimeo.com/video/34134823?title=0&amp;byline=0" width="900" height="506" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'; $doc = new DOMDocument(); libxml_use_internal_errors(true); $doc->loadHTML($str); $xpath = new DOMXPath($doc); echo basename(parse_url($xpath->evaluate('string(//iframe/@src)'), PHP_URL_PATH));

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.0080.00816.92
8.5.00.0130.00921.70
8.4.160.0130.00824.24
8.4.150.0030.00014.05
8.4.140.0130.01017.77
8.4.130.0070.01019.09
8.4.120.0100.01024.70
8.4.110.0120.00619.07
8.4.100.0130.00818.90
8.4.90.0110.00920.91
8.4.80.0050.00519.07
8.4.70.0050.00418.93
8.4.60.0140.00719.02
8.4.50.0140.00719.09
8.4.40.0100.01018.05
8.4.30.0060.00621.14
8.4.20.0110.01119.90
8.4.10.0100.01019.63
8.3.280.0110.00918.66
8.3.270.0130.01016.69
8.3.260.0080.00916.73
8.3.250.0150.00419.24
8.3.240.0050.00317.29
8.3.230.0110.00916.82
8.3.220.0040.00419.03
8.3.210.0090.00818.66
8.3.200.0100.01116.70
8.3.190.0110.00617.30
8.3.180.0080.00819.10
8.3.170.0080.00021.14
8.3.160.0180.00018.56
8.3.150.0040.01417.24
8.3.140.0040.00416.76
8.3.130.0080.00818.75
8.3.120.0090.00020.95
8.3.110.0050.00320.94
8.3.100.0090.00317.01
8.3.90.0080.00026.77
8.3.80.0310.01430.84
8.3.70.0200.00330.84
8.3.60.0240.00030.84
8.3.50.0040.00730.84
8.3.40.0140.00530.84
8.3.30.0100.01030.84
8.3.20.0210.00030.84
8.3.10.0130.00530.84
8.3.00.0180.00330.84
8.2.290.0040.00521.03
8.2.280.0110.00818.80
8.2.270.0160.00317.78
8.2.260.0070.01116.84
8.2.250.0040.00418.59
8.2.240.0000.00817.46
8.2.230.0060.01222.58
8.2.220.0060.01037.54
8.2.210.0080.00026.77
8.2.200.0190.00330.84
8.2.190.0190.00030.84
8.2.180.0150.00430.84
8.2.170.0180.00330.84
8.2.160.0170.00730.84
8.2.150.0120.00830.84
8.2.140.0140.01030.84
8.2.130.0260.00030.84
8.2.120.0130.00930.84
8.2.110.0110.01130.84
8.2.100.0190.00330.84
8.2.90.0220.00030.84
8.2.80.0190.00830.84
8.2.70.0180.00330.84
8.2.60.0140.00730.84
8.2.50.0150.00630.84
8.2.40.0210.00030.84
8.2.30.0150.00530.84
8.2.20.0160.00530.84
8.2.10.0220.00430.84
8.2.00.0130.00630.84
8.1.330.0110.00822.28
8.1.320.0120.00816.25
8.1.310.0000.01417.36
8.1.300.0060.00820.37
8.1.290.0150.00830.84
8.1.280.0160.00830.84
8.1.270.0130.00930.84
8.1.260.0220.00430.84
8.1.250.0220.00030.84
8.1.240.0110.00830.84
8.1.230.0190.00030.84
8.1.220.0180.00030.84
8.1.210.0210.00730.84
8.1.200.0150.00830.84
8.1.190.0140.00730.84
8.1.180.0190.00030.84
8.1.170.0120.00930.84
8.1.160.0160.00330.84
8.1.150.0130.00630.84
8.1.140.0190.00030.84
8.1.130.0120.00630.84
8.1.120.0130.00630.84
8.1.110.0150.00630.84
8.1.100.0280.00030.84
8.1.90.0240.00330.84
8.1.80.0150.00630.84
8.1.70.0130.00730.84
8.1.60.0170.00330.84
8.1.50.0140.00630.84
8.1.40.0130.00730.84
8.1.30.0200.00630.84
8.1.20.0170.00330.84
8.1.10.0190.00330.84
8.1.00.0140.00830.84

preferences:
37.64 ms | 403 KiB | 5 Q