3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ 'one' => [20,0,40,0,60], 'two' => [50], 'three' => [0, 0, 0, 0], 'four' => [10, 5], 'five' => [0], 'six' => [null], 'seven' => [false], 'eight' => ["0"], ]; var_export( array_filter($array, fn($row) => !in_array(0, $row, true)) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mfuDp
function name:  (null)
number of ops:  10
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   14     1        INIT_FCALL                                                   'var_export'
   15     2        INIT_FCALL                                                   'array_filter'
          3        SEND_VAR                                                     !0
          4        DECLARE_LAMBDA_FUNCTION                              ~2      [0]
          5        SEND_VAL                                                     ~2
          6        DO_ICALL                                             $3      
          7        SEND_VAR                                                     $3
   14     8        DO_ICALL                                                     
   16     9      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mfuDp
function name:  {closure:/in/mfuDp:15}
number of ops:  6
compiled vars:  !0 = $row
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   15     0  E >   RECV                                                 !0      
          1        FRAMELESS_ICALL_3                in_array            ~1      0, !0
          2        OP_DATA                                                      <true>
          3        BOOL_NOT                                             ~2      ~1
          4      > RETURN                                                       ~2
          5*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.18 ms | 1944 KiB | 15 Q