3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = "<kek><uncommented>lol dongs</uncommented><!-- le comment <commented>python did 9/11</commented> --></kek>"; var_dump(simplexml_load_string($xml)->asXml());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7k4Tu
function name:  (null)
number of ops:  10
compiled vars:  !0 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Ckek%3E%3Cuncommented%3Elol+dongs%3C%2Funcommented%3E%3C%21--+le+comment+%3Ccommented%3Epython+did+9%2F11%3C%2Fcommented%3E+--%3E%3C%2Fkek%3E'
    5     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'simplexml_load_string'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        INIT_METHOD_CALL                                         $2, 'asXml'
          6        DO_FCALL                                      0  $3      
          7        SEND_VAR                                                 $3
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.27 ms | 1394 KiB | 17 Q