3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.32 ms | 1394 KiB | 19 Q