3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'var1:subvar'; var_dump(explode(':',$str)); exit; function strAssign($str,$val){ }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/FUivR
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'var1%3Asubvar'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%3A'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > EXIT                                                     
    7     9*     > RETURN                                                   1

Function strassign:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FUivR
function name:  strAssign
number of ops:  3
compiled vars:  !0 = $str, !1 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    7     2      > RETURN                                                   null

End of function strassign

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.05 ms | 1394 KiB | 17 Q