3v4l.org

run code in 300+ PHP versions simultaneously
<?php $esas = array("portakal", "muz", "elma", "armut"); $ikame = array(0 => "karpuz", 4 => "kavun"); $ikame2 = array(0 => "kiraz"); $sepet = array_replace($esas, $ikame, $ikame2); print_r($sepet);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YKdQh
function name:  (null)
number of ops:  13
compiled vars:  !0 = $esas, !1 = $ikame, !2 = $ikame2, !3 = $sepet
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, <array>
    6     2        ASSIGN                                                   !2, <array>
    8     3        INIT_FCALL                                               'array_replace'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !3, $7
    9     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.98 ms | 1394 KiB | 17 Q