3v4l.org

run code in 500+ PHP versions simultaneously
<?php function pulisci_array48mom(array $input): array { return array_filter($input, function ($entry) { return is_int($entry[0]) && is_double($entry[1]) && is_double($entry[2]) && is_numeric($entry[3]) && is_numeric($entry[4]) && is_string($entry[5]) && is_int($entry[6]); }); } $input = pulisci_array48mom([ [1530270934000, 19.4034, -155.2675, 3, 1, 'E', 612], ['1530270934000', 19.4034, -155.2675, 3, 2, 'E', 612], [1530270934000, 19.4034, -155.2675, 3, 3, 'E', 612], ]); print_r($input);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vccgY
function name:  (null)
number of ops:  8
compiled vars:  !0 = $input
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                                   'pulisci_array48mom'
   16     1        SEND_VAL                                                     <array>
   15     2        DO_FCALL                                          0  $1      
          3        ASSIGN                                                       !0, $1
   21     4        INIT_FCALL                                                   'print_r'
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                                     
          7      > RETURN                                                       1

Function pulisci_array48mom:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vccgY
function name:  pulisci_array48mom
number of ops:  10
compiled vars:  !0 = $input
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
    4     1        INIT_FCALL                                                   'array_filter'
          2        SEND_VAR                                                     !0
          3        DECLARE_LAMBDA_FUNCTION                              ~1      [0]
   12     4        SEND_VAL                                                     ~1
    4     5        DO_ICALL                                             $2      
   12     6        VERIFY_RETURN_TYPE                                           $2
          7      > RETURN                                                       $2
   13     8*       VERIFY_RETURN_TYPE                                           
          9*     > RETURN                                                       null


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 15
Branch analysis from position: 12
2 jumps found. (Code = 46) Position 1 = 16, Position 2 = 19
Branch analysis from position: 16
2 jumps found. (Code = 46) Position 1 = 20, Position 2 = 23
Branch analysis from position: 20
2 jumps found. (Code = 46) Position 1 = 24, Position 2 = 27
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
Branch analysis from position: 23
Branch analysis from position: 19
Branch analysis from position: 15
Branch analysis from position: 11
Branch analysis from position: 7
filename:       /in/vccgY
function name:  {closure:pulisci_array48mom():4}
number of ops:  29
compiled vars:  !0 = $entry
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
    5     1        FETCH_DIM_R                                          ~1      !0, 0
          2        TYPE_CHECK                                       16  ~2      ~1
          3      > JMPZ_EX                                              ~2      ~2, ->7
    6     4    >   FETCH_DIM_R                                          ~3      !0, 1
          5        TYPE_CHECK                                       32  ~4      ~3
          6        BOOL                                                 ~2      ~4
          7    > > JMPZ_EX                                              ~2      ~2, ->11
    7     8    >   FETCH_DIM_R                                          ~5      !0, 2
          9        TYPE_CHECK                                       32  ~6      ~5
         10        BOOL                                                 ~2      ~6
         11    > > JMPZ_EX                                              ~2      ~2, ->15
    8    12    >   FETCH_DIM_R                                          ~7      !0, 3
         13        FRAMELESS_ICALL_1                is_numeric          ~8      ~7
         14        BOOL                                                 ~2      ~8
         15    > > JMPZ_EX                                              ~2      ~2, ->19
    9    16    >   FETCH_DIM_R                                          ~9      !0, 4
         17        FRAMELESS_ICALL_1                is_numeric          ~10     ~9
         18        BOOL                                                 ~2      ~10
         19    > > JMPZ_EX                                              ~2      ~2, ->23
   10    20    >   FETCH_DIM_R                                          ~11     !0, 5
         21        TYPE_CHECK                                       64  ~12     ~11
         22        BOOL                                                 ~2      ~12
         23    > > JMPZ_EX                                              ~2      ~2, ->27
   11    24    >   FETCH_DIM_R                                          ~13     !0, 6
         25        TYPE_CHECK                                       16  ~14     ~13
         26        BOOL                                                 ~2      ~14
         27    > > RETURN                                                       ~2
   12    28*     > RETURN                                                       null

End of Dynamic Function 0

End of function pulisci_array48mom

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.16 ms | 2132 KiB | 16 Q