3v4l.org

run code in 300+ PHP versions simultaneously
<?php function is_zero($var) { return (($var != 0)); } $duikboot = array( "test"=> "", "stack"=> "0", "over"=> "0", "flow"=> "1", "iscool"=> "wrahefj" ); print_r(array_filter($duikboot, 'is_zero'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KuQpa
function name:  (null)
number of ops:  9
compiled vars:  !0 = $duikboot
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, <array>
   13     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/KuQpa
function name:  is_zero
number of ops:  4
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        IS_NOT_EQUAL                                     ~1      !0, 0
          2      > RETURN                                                   ~1
    5     3*     > RETURN                                                   null

End of function is_zero

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.12 ms | 1394 KiB | 17 Q