3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = simplexml_load_string('<example><a>0.50</a><b>30.0</b></example>'); echo $x->a, "\n", $x->b;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5QOLZ
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                                                 '%3Cexample%3E%3Ca%3E0.50%3C%2Fa%3E%3Cb%3E30.0%3C%2Fb%3E%3C%2Fexample%3E'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        FETCH_OBJ_R                                      ~3      !0, 'a'
          5        ECHO                                                     ~3
          6        ECHO                                                     '%0A'
          7        FETCH_OBJ_R                                      ~4      !0, 'b'
          8        ECHO                                                     ~4
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.67 ms | 1394 KiB | 15 Q