3v4l.org

run code in 300+ PHP versions simultaneously
<?php array_walk(range('a', 'z'), function($letter) use (&$zones) { $zones["Zone $letter"] = "Zone $letter"; }, $zones ); print_r($zones);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bEmc7
function name:  (null)
number of ops:  15
compiled vars:  !0 = $zones
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_walk'
          1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 'a'
          3        SEND_VAL                                                 'z'
          4        DO_ICALL                                         $1      
          5        SEND_VAR_NO_REF                               0          $1
    4     6        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FbEmc7%3A4%240'
          7        BIND_LEXICAL                                             ~2, !0
    6     8        SEND_VAL                                                 ~2
    7     9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
   10    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FbEmc7%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bEmc7
function name:  {closure}
number of ops:  9
compiled vars:  !0 = $letter, !1 = $zones
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        BIND_STATIC                                              !1
    5     2        NOP                                                      
          3        FAST_CONCAT                                      ~2      'Zone+', !0
          4        NOP                                                      
          5        FAST_CONCAT                                      ~4      'Zone+', !0
          6        ASSIGN_DIM                                               !1, ~2
          7        OP_DATA                                                  ~4
    6     8      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FbEmc7%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
271.94 ms | 1395 KiB | 20 Q