3v4l.org

run code in 500+ PHP versions simultaneously
<?php header('Content-Type: text/plain'); $str_xml = "<myxml><mytag><![CDATA[In this content, 8 > 2 & 1 < 9, and 10 is a 10% of 100. ]]></mytag></myxml>"; $xml = simplexml_load_string($str_xml); $tag_content = (string)$xml->mytag; echo "Here is the content of the <mytag> node: $tag_content";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jc1OG
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str_xml, !1 = $xml, !2 = $tag_content
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'header'
          1        SEND_VAL                                                     'Content-Type%3A+text%2Fplain'
          2        DO_ICALL                                                     
    4     3        ASSIGN                                                       !0, '%3Cmyxml%3E%3Cmytag%3E%3C%21%5BCDATA%5BIn+this+content%2C+8+%3E+2+%26+1+%3C+9%2C+and+10+is+a+10%25+of+100.+%5D%5D%3E%3C%2Fmytag%3E%3C%2Fmyxml%3E'
    6     4        INIT_FCALL                                                   'simplexml_load_string'
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                             $5      
          7        ASSIGN                                                       !1, $5
    7     8        FETCH_OBJ_R                                          ~7      !1, 'mytag'
          9        CAST                                              6  ~8      ~7
         10        ASSIGN                                                       !2, ~8
    8    11        NOP                                                          
         12        FAST_CONCAT                                          ~10     'Here+is+the+content+of+the+%3Cmytag%3E+node%3A+', !2
         13        ECHO                                                         ~10
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.68 ms | 2877 KiB | 15 Q