3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = 'system/expressionengine/third_party/product/files/xml/lo.xml'; $reader = new XMLReader(); if(FALSE === $reader->open($file)){ return "Error reading xml file"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aTAMe
function name:  (null)
number of ops:  11
compiled vars:  !0 = $file, !1 = $reader
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'system%2Fexpressionengine%2Fthird_party%2Fproduct%2Ffiles%2Fxml%2Flo.xml'
    3     1        NEW                                              $3      'XMLReader'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $3
    4     4        INIT_METHOD_CALL                                         !1, 'open'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0  $6      
          7        TYPE_CHECK                                    4          $6
          8      > JMPZ                                                     ~7, ->10
    5     9    > > RETURN                                                   'Error+reading+xml+file'
    6    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.77 ms | 1393 KiB | 13 Q