3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( array('a' => 'testA', 'b' => 'testB'), array('a' =>'testC', 'b' => 'testD') ); print_r((int) array_keys($test, array('a' => 'testA', 'b' => 'testB')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o8i41
function name:  (null)
number of ops:  10
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'array_keys'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <array>
          5        DO_ICALL                                         $2      
          6        CAST                                          4  ~3      $2
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.34 ms | 1394 KiB | 17 Q