3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<s></s>'; $rss = new SimpleXMLElement($str); //echo $rss->asXML(); //var_dump($rss); //var_dump(spUtilXml::getAttribute($rss, 'channel/atom:link', 'href')); var_dump(spUtilXml::getValue($rss, 'x'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AtLha
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str, !1 = $rss
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cs%3E%3C%2Fs%3E'
    4     1        NEW                                              $3      'SimpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    8     5        INIT_FCALL                                               'var_dump'
          6        INIT_STATIC_METHOD_CALL                                  'spUtilXml', 'getValue'
          7        SEND_VAR_EX                                              !1
          8        SEND_VAL_EX                                              'x'
          9        DO_FCALL                                      0  $6      
         10        SEND_VAR                                                 $6
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.26 ms | 1394 KiB | 15 Q