3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_content('./qwe.xml', '<xml></xml>'); $xml = new SimpleXMLElement('./qwe.xml', 0, true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2D9Zr
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_BY_NAME                                       'file_put_content'
          1        SEND_VAL_EX                                              '.%2Fqwe.xml'
          2        SEND_VAL_EX                                              '%3Cxml%3E%3C%2Fxml%3E'
          3        DO_FCALL                                      0          
    3     4        NEW                                              $2      'SimpleXMLElement'
          5        SEND_VAL_EX                                              '.%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:
156.9 ms | 1393 KiB | 13 Q