3v4l.org

run code in 300+ PHP versions simultaneously
<?php function _filterMetaFields($field) { return $field[0] !== '_'; } var_dump(array_filter(['test', '_test'], '_filterMetaFields'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JNBoW
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'array_filter'
          2        SEND_VAL                                                 <array>
          3        SEND_VAL                                                 '_filterMetaFields'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Function _filtermetafields:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JNBoW
function name:  _filterMetaFields
number of ops:  5
compiled vars:  !0 = $field
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        FETCH_DIM_R                                      ~1      !0, 0
          2        IS_NOT_IDENTICAL                                 ~2      ~1, '_'
          3      > RETURN                                                   ~2
    6     4*     > RETURN                                                   null

End of function _filtermetafields

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.79 ms | 1394 KiB | 17 Q