3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array('bar', 'baz'); $res = array_combine($input, $input); $expected = array('bar' => 'bar', 'baz', 'baz'); var_dump($res === $expected);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fQjFN
function name:  (null)
number of ops:  12
compiled vars:  !0 = $input, !1 = $res, !2 = $expected
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'array_combine'
          2        SEND_VAR                                                 !0
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    6     6        ASSIGN                                                   !2, <array>
    7     7        INIT_FCALL                                               'var_dump'
          8        IS_IDENTICAL                                     ~7      !1, !2
          9        SEND_VAL                                                 ~7
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.94 ms | 1394 KiB | 17 Q