3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ERAIf
function name:  (null)
number of ops:  30
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $x, !4 = $y, !5 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $6      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $6
   17     3        NEW                                              $9      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $9
   18     6        NEW                                              $12     'stdClass'
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !2, $12
   20     9        ASSIGN_OBJ                                               !0, 'x'
         10        OP_DATA                                                  123
   21    11        ASSIGN_OBJ                                               !1, 'x'
         12        OP_DATA                                                  123
   22    13        ASSIGN_OBJ                                               !2, 'x'
         14        OP_DATA                                                  456
   24    15        INIT_ARRAY                                       ~18     !0
         16        ADD_ARRAY_ELEMENT                                ~18     !2
         17        ASSIGN                                                   !3, ~18
   25    18        INIT_ARRAY                                       ~20     !2
         19        ADD_ARRAY_ELEMENT                                ~20     !1
         20        ASSIGN                                                   !4, ~20
   27    21        INIT_FCALL                                               'array_exclude_instances'
         22        SEND_VAR                                                 !3
         23        SEND_VAR                                                 !4
         24        DO_FCALL                                      0  $22     
         25        ASSIGN                                                   !5, $22
   29    26        INIT_FCALL                                               'print_r'
         27        SEND_VAR                                                 !5
         28        DO_ICALL                                                 
         29      > RETURN                                                   1

Function array_exclude_instances:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 16
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 16
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 14
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 14
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/ERAIf
function name:  array_exclude_instances
number of ops:  22
compiled vars:  !0 = $source, !1 = $excludes, !2 = $current, !3 = $index, !4 = $exclude
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    3     2      > FE_RESET_R                                       $5      !0, ->16
          3    > > FE_FETCH_R                                       ~6      $5, !2, ->16
          4    >   ASSIGN                                                   !3, ~6
    4     5      > FE_RESET_R                                       $8      !1, ->14
          6    > > FE_FETCH_R                                               $8, !4, ->14
    5     7    >   IS_NOT_IDENTICAL                                         !4, !2
          8      > JMPZ                                                     ~9, ->10
          9    > > JMP                                                      ->6
    7    10    >   UNSET_DIM                                                !0, !3
    9    11        FE_FREE                                                  $8
         12      > JMP                                                      ->3
    4    13*       JMP                                                      ->6
         14    >   FE_FREE                                                  $8
    3    15      > JMP                                                      ->3
         16    >   FE_FREE                                                  $5
   13    17        INIT_FCALL                                               'array_values'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $10     
         20      > RETURN                                                   $10
   14    21*     > RETURN                                                   null

End of function array_exclude_instances

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
239.34 ms | 975 KiB | 16 Q