3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('/tmp/qwe.xml', '<xml></xml>'); $xml = simplexml_load_file('/tmp/qwe.xml'); $xml = simplexml_load_file('/tmp/qwe.xml'); $xml = simplexml_load_file('/tmp/qwe.xml'); var_dump($xml);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q5R2r
function name:  (null)
number of ops:  20
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        INIT_FCALL                                               'simplexml_load_file'
          5        SEND_VAL                                                 '%2Ftmp%2Fqwe.xml'
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
    4     8        INIT_FCALL                                               'simplexml_load_file'
          9        SEND_VAL                                                 '%2Ftmp%2Fqwe.xml'
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !0, $4
    5    12        INIT_FCALL                                               'simplexml_load_file'
         13        SEND_VAL                                                 '%2Ftmp%2Fqwe.xml'
         14        DO_ICALL                                         $6      
         15        ASSIGN                                                   !0, $6
    6    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.54 ms | 1395 KiB | 19 Q