3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("a"=> "fdsfd","b"=>"123","c"=> "erwe4233"); //list($a, $b, $c) = $arr; array_map("sss", $arr); array_walk($arr,"sss"); function sss($m="mmm", $n="nnn") { echo $m."::".$n."\n"; } var_dump($a); var_dump($b); var_dump($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ucDa1
function name:  (null)
number of ops:  19
compiled vars:  !0 = $arr, !1 = $a, !2 = $b, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'array_map'
          2        SEND_VAL                                                 'sss'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    5     5        INIT_FCALL                                               'array_walk'
          6        SEND_REF                                                 !0
          7        SEND_VAL                                                 'sss'
          8        DO_ICALL                                                 
    9     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
   10    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
   11    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !3
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Function sss:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ucDa1
function name:  sss
number of ops:  7
compiled vars:  !0 = $m, !1 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV_INIT                                        !0      'mmm'
          1        RECV_INIT                                        !1      'nnn'
    7     2        CONCAT                                           ~2      !0, '%3A%3A'
          3        CONCAT                                           ~3      ~2, !1
          4        CONCAT                                           ~4      ~3, '%0A'
          5        ECHO                                                     ~4
    8     6      > RETURN                                                   null

End of function sss

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.19 ms | 1395 KiB | 19 Q