3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<?xml version="1.0" encoding="UTF-8"?> <quizzes> <quiz> <title> </title> <description> <text> </text> </description> </quiz> </quizzes>'; $quizzes = new SimpleXMLElement($xml); echo $quizzes->asXML();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1hv71
function name:  (null)
number of ops:  9
compiled vars:  !0 = $xml, !1 = $quizzes
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0A%3Cquizzes%3E%0A++++%3Cquiz%3E%0A++++++++%3Ctitle%3E%0A++++++++%3C%2Ftitle%3E%0A++++++++%3Cdescription%3E%0A++++++++++++%3Ctext%3E%0A++++++++++++%3C%2Ftext%3E%0A++++++++%3C%2Fdescription%3E%0A++++%3C%2Fquiz%3E%0A%3C%2Fquizzes%3E'
   16     1        NEW                                              $3      'SimpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
   18     5        INIT_METHOD_CALL                                         !1, 'asXML'
          6        DO_FCALL                                      0  $6      
          7        ECHO                                                     $6
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.08 ms | 1384 KiB | 13 Q