3v4l.org

run code in 300+ PHP versions simultaneously
<?php $features = array( 'winter' => 'Beautiful arrangements for any occasion.', 'autumn' => "Summer's over, but our flowers are still a riot of colors.", 'spring' => 'It must be spring! Delicate daffodils are here.', 'summer' => "It's summer, and we're in the pink.", ); print_r(array_filter($features, function ($key) { return $key != 'autumn'; }, ARRAY_FILTER_USE_KEY));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ctn8O
function name:  (null)
number of ops:  11
compiled vars:  !0 = $features
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'array_filter'
          3        SEND_VAR                                                 !0
          4        DECLARE_LAMBDA_FUNCTION                          ~2      [0]
   12     5        SEND_VAL                                                 ~2
          6        SEND_VAL                                                 2
   10     7        DO_ICALL                                         $3      
   12     8        SEND_VAR                                                 $3
   10     9        DO_ICALL                                                 
   12    10      > 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/Ctn8O
function name:  {closure}
number of ops:  4
compiled vars:  !0 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   11     1        IS_NOT_EQUAL                                     ~1      !0, 'autumn'
          2      > RETURN                                                   ~1
   12     3*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.13 ms | 1010 KiB | 15 Q