3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str="test"; $delimiter=""; var_dump(implode($delimiter,explode($delimiter,$str)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PpQVt
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str, !1 = $delimiter
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'test'
    4     1        ASSIGN                                                       !1, ''
    5     2        INIT_FCALL                                                   'var_dump'
          3        INIT_FCALL                                                   'explode'
          4        SEND_VAR                                                     !1
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                             $4      
          7        FRAMELESS_ICALL_2                implode             ~5      !1, $4
          8        SEND_VAL                                                     ~5
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.9 ms | 2109 KiB | 15 Q