3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<XML <?xml version='1.0'?> <document> <title>Zweiundvierz...?</title> <from>Joe</from> <to>Jane</to> <body> Ich kenne die Antwort -- aber was ist die Frage? </body> </document> XML; $xml = simplexml_load_string($string); print_r($xml["title"]); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gaSbJ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%271.0%27%3F%3E%0A%3Cdocument%3E%0A+%3Ctitle%3EZweiundvierz...%3F%3C%2Ftitle%3E%0A+%3Cfrom%3EJoe%3C%2Ffrom%3E%0A+%3Cto%3EJane%3C%2Fto%3E%0A+%3Cbody%3E%0A++Ich+kenne+die+Antwort+--+aber+was+ist+die+Frage%3F%0A+%3C%2Fbody%3E%0A%3C%2Fdocument%3E'
   14     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   16     5        INIT_FCALL                                               'print_r'
          6        FETCH_DIM_R                                      ~5      !1, 'title'
          7        SEND_VAL                                                 ~5
          8        DO_ICALL                                                 
   17     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.17 ms | 1394 KiB | 17 Q