3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dir = new RecursiveDirectoryIterator(__DIR__); $it = new RecursiveCallbackFilterIterator($dir, function(){return true;}); var_dump($it);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2rBec
function name:  (null)
number of ops:  14
compiled vars:  !0 = $dir, !1 = $it
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'RecursiveDirectoryIterator'
          1        SEND_VAL_EX                                              '%2Fin'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    5     4        NEW                                              $5      'RecursiveCallbackFilterIterator'
          5        SEND_VAR_EX                                              !0
          6        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F2rBec%3A5%240'
          7        SEND_VAL_EX                                              ~6
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !1, $5
    7    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F2rBec%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2rBec
function name:  {closure}
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   <true>
          1*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F2rBec%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.29 ms | 1395 KiB | 15 Q