3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_param_data = new stdClass(); $_param_data->class = new stdClass(); $_param_data->string = 'string'; // Loop _param foreach ($_param_data as $_key => $_value) { if (!is_string($_key)) { echo "IS\n"; } else { echo "NOT\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 19
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 19
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/16AQK
function name:  (null)
number of ops:  21
compiled vars:  !0 = $_param_data, !1 = $_value, !2 = $_key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    4     3        NEW                                              $7      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN_OBJ                                               !0, 'class'
          6        OP_DATA                                                  $7
    5     7        ASSIGN_OBJ                                               !0, 'string'
          8        OP_DATA                                                  'string'
    8     9      > FE_RESET_R                                       $10     !0, ->19
         10    > > FE_FETCH_R                                       ~11     $10, !1, ->19
         11    >   ASSIGN                                                   !2, ~11
   10    12        TYPE_CHECK                                   64  ~13     !2
         13        BOOL_NOT                                         ~14     ~13
         14      > JMPZ                                                     ~14, ->17
   11    15    >   ECHO                                                     'IS%0A'
         16      > JMP                                                      ->18
   13    17    >   ECHO                                                     'NOT%0A'
    8    18    > > JMP                                                      ->10
         19    >   FE_FREE                                                  $10
   15    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.52 ms | 1394 KiB | 13 Q