3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_string('<html><meta http-equiv=\'Refresh\' content=\'0; url=/animation.php\'> </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/2BosQ
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%27Refresh%27+content%3D%270%3B+url%3D%2Fanimation.php%27%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:
158.23 ms | 1385 KiB | 17 Q