3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (array('some string', array(1), 1, new stdClass) as $data) { var_dump($data instanceof stdClass); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/FJqoI
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_ARRAY                                       ~1      'some+string'
          1        ADD_ARRAY_ELEMENT                                ~1      <array>
          2        ADD_ARRAY_ELEMENT                                ~1      1
          3        NEW                                              $2      'stdClass'
          4        DO_FCALL                                      0          
          5        ADD_ARRAY_ELEMENT                                ~1      $2
          6      > FE_RESET_R                                       $4      ~1, ->13
          7    > > FE_FETCH_R                                               $4, !0, ->13
    4     8    >   INIT_FCALL                                               'var_dump'
          9        INSTANCEOF                                       ~5      !0, 'stdClass'
         10        SEND_VAL                                                 ~5
         11        DO_ICALL                                                 
    3    12      > JMP                                                      ->7
         13    >   FE_FREE                                                  $4
    5    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.96 ms | 997 KiB | 14 Q