3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'company_1', 'company_10', 'company_15', ]; var_export( filter_var_array( $array, FILTER_SANITIZE_NUMBER_INT, ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/re1s7
function name:  (null)
number of ops:  9
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'var_export'
   10     2        INIT_FCALL                                               'filter_var_array'
   11     3        SEND_VAR                                                 !0
   12     4        SEND_VAL                                                 519
   10     5        DO_ICALL                                         $2      
   12     6        SEND_VAR                                                 $2
    9     7        DO_ICALL                                                 
   14     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.96 ms | 1009 KiB | 15 Q