3v4l.org

run code in 500+ PHP versions simultaneously
<?php $_POST = ['row' => ['1', '20', '4', '10', '12']]; $rows = array_filter($_POST['row'], function($val){ return is_numeric($val) && $val>10; }); print_r($rows);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3PDtR
function name:  (null)
number of ops:  14
compiled vars:  !0 = $rows
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                          global              $1      '_POST'
          1        ASSIGN                                                       $1, <array>
    4     2        INIT_FCALL                                                   'array_filter'
          3        FETCH_R                          global              ~3      '_POST'
          4        FETCH_DIM_R                                          ~4      ~3, 'row'
          5        SEND_VAL                                                     ~4
          6        DECLARE_LAMBDA_FUNCTION                              ~5      [0]
    6     7        SEND_VAL                                                     ~5
    4     8        DO_ICALL                                             $6      
          9        ASSIGN                                                       !0, $6
    7    10        INIT_FCALL                                                   'print_r'
         11        SEND_VAR                                                     !0
         12        DO_ICALL                                                     
         13      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/3PDtR
function name:  {closure:/in/3PDtR:4}
number of ops:  7
compiled vars:  !0 = $val
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
    5     1        FRAMELESS_ICALL_1                is_numeric          ~1      !0
          2      > JMPZ_EX                                              ~1      ~1, ->5
          3    >   IS_SMALLER                                           ~2      10, !0
          4        BOOL                                                 ~1      ~2
          5    > > RETURN                                                       ~1
    6     6*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.67 ms | 2585 KiB | 15 Q