3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('/tmp/qwe.xml', '<xml></xml>'); $xml = new SimpleXMLElement('/tmp/qwe.xml', 0, true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bm29k
function name:  (null)
number of ops:  11
compiled vars:  !0 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_put_contents'
          1        SEND_VAL                                                 '%2Ftmp%2Fqwe.xml'
          2        SEND_VAL                                                 '%3Cxml%3E%3C%2Fxml%3E'
          3        DO_ICALL                                                 
    3     4        NEW                                              $2      'SimpleXMLElement'
          5        SEND_VAL_EX                                              '%2Ftmp%2Fqwe.xml'
          6        SEND_VAL_EX                                              0
          7        SEND_VAL_EX                                              <true>
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !0, $2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.14 ms | 1385 KiB | 15 Q