3v4l.org

run code in 300+ PHP versions simultaneously
<?php class x extends RecursiveRegexIterator{} $arr = new RecursiveArrayIterator([0,[1,2]]); $x = new x($arr, '/.*/'); $x->next(); $child = $x->getChildren();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UnOTn
function name:  (null)
number of ops:  15
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, 'next'
         10        DO_FCALL                                      0          
    8    11        INIT_METHOD_CALL                                         !1, 'getChildren'
         12        DO_FCALL                                      0  $10     
         13        ASSIGN                                                   !2, $10
         14      > RETURN                                                   1

Class x: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.06 ms | 1393 KiB | 13 Q