3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('e' => 22, 'r' => 66, 't' => 88); $b = array('t' => 65); array_walk($a, function(&$value) { $value = 'e ' + $value; print $value ."\n"; }); print_r($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8rtAE
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'array_walk'
          3        SEND_REF                                                 !0
          4        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F8rtAE%3A5%240'
    8     5        SEND_VAL                                                 ~4
          6        DO_ICALL                                                 
   10     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F8rtAE%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8rtAE
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        ADD                                              ~1      'e+', !0
          2        ASSIGN                                                   !0, ~1
    7     3        CONCAT                                           ~3      !0, '%0A'
          4        ECHO                                                     ~3
    8     5      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F8rtAE%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.37 ms | 1395 KiB | 17 Q