3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_string('<html><meta http-equiv="refresh" content="5;url=http://example.com/" /> </html>'); $result = $xml->xpath("//meta[@http-equiv='refresh']"); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P9Zgi
function name:  (null)
number of ops:  12
compiled vars:  !0 = $xml, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'simplexml_load_string'
          1        SEND_VAL                                                 '%3Chtml%3E%3Cmeta+http-equiv%3D%22refresh%22+content%3D%225%3Burl%3Dhttp%3A%2F%2Fexample.com%2F%22+%2F%3E%0A%3C%2Fhtml%3E'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        INIT_METHOD_CALL                                         !0, 'xpath'
          5        SEND_VAL_EX                                              '%2F%2Fmeta%5B%40http-equiv%3D%27refresh%27%5D'
          6        DO_FCALL                                      0  $4      
          7        ASSIGN                                                   !1, $4
    7     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.2 ms | 1394 KiB | 17 Q