3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h = opendir('.'); print_r(get_resource_type($h));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I68ML
function name:  (null)
number of ops:  11
compiled vars:  !0 = $h
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'opendir'
          1        SEND_VAL                                                 '.'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    6     4        INIT_FCALL                                               'print_r'
          5        INIT_FCALL                                               'get_resource_type'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.89 ms | 1394 KiB | 19 Q