3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 'a', 'b', 1 ,2 ); $b = array( $a ,$a ); $c = array( 'is_int' , 'is_string' ); $x = array_map( 'array_filter' , $b , $c ); var_dump($x);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MMiajF
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_ARRAY                                       ~5      !0
          2        ADD_ARRAY_ELEMENT                                ~5      !0
          3        ASSIGN                                                   !1, ~5
    5     4        ASSIGN                                                   !2, <array>
    7     5        INIT_FCALL                                               'array_map'
          6        SEND_VAL                                                 'array_filter'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                         $8      
         10        ASSIGN                                                   !3, $8
    9    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.96 ms | 1394 KiB | 17 Q