3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.15 ms | 1393 KiB | 13 Q