3v4l.org

run code in 500+ PHP versions simultaneously
<?php function myfunction($v) { return $v; } $a=array("<p>Horse</p>","<a>Dog</a>","<h1>Cat</h1>"); print_r(array_map("myfunction",$a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Dbf5p
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                       !0, <array>
    9     1        INIT_FCALL                                                   'print_r'
          2        INIT_FCALL                                                   'array_map'
          3        SEND_VAL                                                     'myfunction'
          4        SEND_VAR                                                     !0
          5        DO_ICALL                                             $2      
          6        SEND_VAR                                                     $2
          7        DO_ICALL                                                     
          8      > RETURN                                                       1

Function myfunction:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Dbf5p
function name:  myfunction
number of ops:  3
compiled vars:  !0 = $v
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
    5     1      > RETURN                                                       !0
    6     2*     > RETURN                                                       null

End of function myfunction

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.93 ms | 2217 KiB | 15 Q