3v4l.org

run code in 300+ PHP versions simultaneously
<?php class x extends RecursiveRegexIterator{} $arr = new RecursiveArrayIterator([0,[1,2]]); $x = new x($arr, '/.*/'); $child = $x->getChildren();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eVklf
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr, !1 = $x, !2 = $child
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $3      'RecursiveArrayIterator'
          1        SEND_VAL_EX                                              <array>
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    6     4        NEW                                              $6      'x'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAL_EX                                              '%2F.%2A%2F'
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !1, $6
    7     9        INIT_METHOD_CALL                                         !1, 'getChildren'
         10        DO_FCALL                                      0  $9      
         11        ASSIGN                                                   !2, $9
         12      > RETURN                                                   1

Class x: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.78 ms | 1392 KiB | 13 Q