3v4l.org

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

Function imagefilename:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TI2IU
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:
261.58 ms | 1395 KiB | 20 Q