3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i1 = new \RecursiveDirectoryIterator(sys_get_temp_dir()); $i2 = new \RecursiveDirectoryIterator(sys_get_temp_dir()); var_dump($i1 == $i2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LNobs
function name:  (null)
number of ops:  17
compiled vars:  !0 = $i1, !1 = $i2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'RecursiveDirectoryIterator'
          1        INIT_FCALL                                               'sys_get_temp_dir'
          2        DO_ICALL                                         $3      
          3        SEND_VAR_NO_REF_EX                                       $3
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $2
    4     6        NEW                                              $6      'RecursiveDirectoryIterator'
          7        INIT_FCALL                                               'sys_get_temp_dir'
          8        DO_ICALL                                         $7      
          9        SEND_VAR_NO_REF_EX                                       $7
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !1, $6
    6    12        INIT_FCALL                                               'var_dump'
         13        IS_EQUAL                                         ~10     !0, !1
         14        SEND_VAL                                                 ~10
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.86 ms | 1386 KiB | 17 Q