3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'naam' => '0', 'anaam' => 0, 'vnaam' => 'hellow' ); function is_zero($var) { echo ' executeing --_'; return (($var != '0')); } print_r(array_filter($data, 'is_zero'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RnEPR
function name:  (null)
number of ops:  9
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   14     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'array_filter'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'is_zero'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function is_zero:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RnEPR
function name:  is_zero
number of ops:  5
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
   10     1        ECHO                                                     '+executeing+--_'
   11     2        IS_NOT_EQUAL                                     ~1      !0, '0'
          3      > RETURN                                                   ~1
   12     4*     > RETURN                                                   null

End of function is_zero

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.06 ms | 1394 KiB | 17 Q