3v4l.org

run code in 300+ PHP versions simultaneously
<?php $items = ["one", "two", "three"]; $ignore = "two"; for ($i = 0; $i < 1000; $i++) { array_filter($items, call_user_func(function ($context·cfcd208495d565ef66e7dff9f98764da) { return function ($item) use ($context·cfcd208495d565ef66e7dff9f98764da) { extract($context·cfcd208495d565ef66e7dff9f98764da); return $item !== $ignore; }; }, get_defined_vars())); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
Branch analysis from position: 4
filename:       /in/MlMqF
function name:  (null)
number of ops:  18
compiled vars:  !0 = $items, !1 = $ignore, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 'two'
    6     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->15
    7     4    >   INIT_FCALL                                               'array_filter'
          5        SEND_VAR                                                 !0
          6        DECLARE_LAMBDA_FUNCTION                          ~6      [0]
   12     7        INIT_USER_CALL                                1          'call_user_func', ~6
          8        INIT_FCALL                                               'get_defined_vars'
          9        DO_ICALL                                         $7      
         10        SEND_USER                                                $7
         11        DO_FCALL                                      0  $8      
         12        SEND_VAR                                                 $8
    7    13        DO_ICALL                                                 
    6    14        PRE_INC                                                  !2
         15    >   IS_SMALLER                                               !2, 1000
         16      > JMPNZ                                                    ~11, ->4
   13    17    > > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MlMqF
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $context·cfcd208495d565ef66e7dff9f98764da
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        DECLARE_LAMBDA_FUNCTION                          ~1      [0]
          2        BIND_LEXICAL                                             ~1, !0
   11     3      > RETURN                                                   ~1
   12     4*     > RETURN                                                   null


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MlMqF
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $item, !1 = $context·cfcd208495d565ef66e7dff9f98764da, !2 = $ignore
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        BIND_STATIC                                              !1
    9     2        INIT_FCALL                                               'extract'
          3        SEND_REF                                                 !1
          4        DO_ICALL                                                 
   10     5        IS_NOT_IDENTICAL                                 ~4      !0, !2
          6      > RETURN                                                   ~4
   11     7*     > RETURN                                                   null

End of Dynamic Function 0

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.57 ms | 1012 KiB | 16 Q