3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml?> <html> <head><title></title></head> <body> <content>the content</content> </body> </html> XML; $xe = new SimpleXMLElement($xml); echo $xe->content;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4f9BM
function name:  (null)
number of ops:  8
compiled vars:  !0 = $xml, !1 = $xe
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3C%3Fxml%3F%3E%0A%3Chtml%3E%0A%3Chead%3E%3Ctitle%3E%3C%2Ftitle%3E%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Ccontent%3Ethe+content%3C%2Fcontent%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   11     1        NEW                                              $3      'SimpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
   12     5        FETCH_OBJ_R                                      ~6      !1, 'content'
          6        ECHO                                                     ~6
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.37 ms | 1392 KiB | 13 Q