3v4l.org

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

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

End of function bazar

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.24 ms | 1386 KiB | 17 Q