3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( "foo" => "bar", "bar" => "foofoofoofoofoofoofoo", "name" => "name34234242224" ); $c = array_map("chunk_split", $input, array_fill(0, count($input), 16)); print_r($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HCseq
function name:  (null)
number of ops:  17
compiled vars:  !0 = $input, !1 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'array_map'
          2        SEND_VAL                                                 'chunk_split'
          3        SEND_VAR                                                 !0
          4        INIT_FCALL                                               'array_fill'
          5        SEND_VAL                                                 0
          6        COUNT                                            ~3      !0
          7        SEND_VAL                                                 ~3
          8        SEND_VAL                                                 16
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !1, $5
   11    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.97 ms | 1398 KiB | 19 Q