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), 5), array_fill(0, count($input), "")); print_r($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L6M7Y
function name:  (null)
number of ops:  24
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                                                 5
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        INIT_FCALL                                               'array_fill'
         12        SEND_VAL                                                 0
         13        COUNT                                            ~5      !0
         14        SEND_VAL                                                 ~5
         15        SEND_VAL                                                 ''
         16        DO_ICALL                                         $6      
         17        SEND_VAR                                                 $6
         18        DO_ICALL                                         $7      
         19        ASSIGN                                                   !1, $7
   11    20        INIT_FCALL                                               'print_r'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.41 ms | 1395 KiB | 19 Q