3v4l.org

run code in 300+ PHP versions simultaneously
<?php function imageFilename($arr) { return $arr; } var_dump(array_filter(array_map('imageFilename', array(1)))); var_dump(array() ? 1 : 0);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aQmGl
function name:  (null)
number of ops:  18
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        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
    8    10        INIT_FCALL                                               'var_dump'
         11      > JMPZ                                                     <array>, ->14
         12    >   QM_ASSIGN                                        ~3      1
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~3      0
         15    >   SEND_VAL                                                 ~3
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

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