3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = simplexml_load_string('<price period="monthly"><![CDATA[1700]]></price>', 'SimpleXMLElement', LIBXML_NOCDATA); echo $x->asXML();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7ORIP
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'simplexml_load_string'
          1        SEND_VAL                                                 '%3Cprice+period%3D%22monthly%22%3E%3C%21%5BCDATA%5B1700%5D%5D%3E%3C%2Fprice%3E'
          2        SEND_VAL                                                 'SimpleXMLElement'
          3        SEND_VAL                                                 16384
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
    4     6        INIT_METHOD_CALL                                         !0, 'asXML'
          7        DO_FCALL                                      0  $3      
          8        ECHO                                                     $3
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.94 ms | 934 KiB | 16 Q