3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array['a'] = 'username@example.com'; $array['b'] = 'password'; echo implode(' ', substr_replace($array, '::', 0, 0));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i1RBB
function name:  (null)
number of ops:  16
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'a'
          1        OP_DATA                                                  'username%40example.com'
    4     2        ASSIGN_DIM                                               !0, 'b'
          3        OP_DATA                                                  'password'
    6     4        INIT_FCALL                                               'implode'
          5        SEND_VAL                                                 '+'
          6        INIT_FCALL                                               'substr_replace'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 '%3A%3A'
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 0
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                         $4      
         14        ECHO                                                     $4
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.26 ms | 1010 KiB | 15 Q