3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str1 = 'meh'; $str2 = 'waff'; echo implode('', array_keys(array($str1 => null, $str2 => null)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a4md0
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str1, !1 = $str2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'meh'
    3     1        ASSIGN                                                   !1, 'waff'
    4     2        INIT_FCALL                                               'implode'
          3        SEND_VAL                                                 ''
          4        INIT_FCALL                                               'array_keys'
          5        INIT_ARRAY                                       ~4      null, !0
          6        ADD_ARRAY_ELEMENT                                ~4      null, !1
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                         $6      
         11        ECHO                                                     $6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.88 ms | 1394 KiB | 17 Q