3v4l.org

run code in 300+ PHP versions simultaneously
<?php function imageFilename($arr) { return $arr; } var_dump(array(1) + array(2)); var_dump(array_filter(array_map('imageFilename', array(2))) + array(1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4mA9l
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                                 
    6     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'array_filter'
          5        INIT_FCALL                                               'array_map'
          6        SEND_VAL                                                 'imageFilename'
          7        SEND_VAL                                                 <array>
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                         $2      
         11        ADD                                              ~3      $2, <array>
         12        SEND_VAL                                                 ~3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

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

End of function imagefilename

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.28 ms | 1395 KiB | 19 Q