3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "<a><b>&lt;d&gt;\n &lt;e&gt;</b><![CDATA[ ]]><c>\n \t</c></a>"; $p = xml_parser_create(); xml_parser_set_option($p, XML_OPTION_SKIP_WHITE, 1); xml_parse_into_struct($p, $s, $values); var_dump($values);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L4vTC
function name:  (null)
number of ops:  18
compiled vars:  !0 = $s, !1 = $p, !2 = $values
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Ca%3E%3Cb%3E%26lt%3Bd%26gt%3B%0A+%26lt%3Be%26gt%3B%3C%2Fb%3E%3C%21%5BCDATA%5B++%5D%5D%3E%3Cc%3E%0A+%09%3C%2Fc%3E%3C%2Fa%3E'
    5     1        INIT_FCALL                                               'xml_parser_create'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !1, $4
    6     4        INIT_FCALL                                               'xml_parser_set_option'
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 4
          7        SEND_VAL                                                 1
          8        DO_ICALL                                                 
    8     9        INIT_FCALL                                               'xml_parse_into_struct'
         10        SEND_VAR                                                 !1
         11        SEND_VAR                                                 !0
         12        SEND_REF                                                 !2
         13        DO_ICALL                                                 
    9    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.58 ms | 1012 KiB | 17 Q