3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hewan=array("a"=>"angsa","b"=>"bebek","c"=>"capung","d"=>"domba"); function proses(&$item,$key,$prefix){ $item="$item : $prefix"; } function tampil($item1,$key) { echo "$item.$key"; } echo tampil ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ICEH8
function name:  (null)
number of ops:  4
compiled vars:  !0 = $hewan
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   12     1        FETCH_CONSTANT                                   ~2      'tampil'
          2        ECHO                                                     ~2
   13     3      > RETURN                                                   1

Function proses:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ICEH8
function name:  proses
number of ops:  8
compiled vars:  !0 = $item, !1 = $key, !2 = $prefix
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    5     3        ROPE_INIT                                     3  ~4      !0
          4        ROPE_ADD                                      1  ~4      ~4, '+%3A+'
          5        ROPE_END                                      2  ~3      ~4, !2
          6        ASSIGN                                                   !0, ~3
    6     7      > RETURN                                                   null

End of function proses

Function tampil:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ICEH8
function name:  tampil
number of ops:  7
compiled vars:  !0 = $item1, !1 = $key, !2 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2        ROPE_INIT                                     3  ~4      !2
          3        ROPE_ADD                                      1  ~4      ~4, '.'
          4        ROPE_END                                      2  ~3      ~4, !1
          5        ECHO                                                     ~3
   10     6      > RETURN                                                   null

End of function tampil

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.54 ms | 1394 KiB | 13 Q