3v4l.org

run code in 300+ PHP versions simultaneously
<?php function SplitEmailAddress($email) { return array_combine(array('user', 'domain'), explode('@', $email)); } print_r( SplitEmailAddress('asdfaf@jdaosjdsd.com') );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WhUbo
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'splitemailaddress'
          2        SEND_VAL                                                 'asdfaf%40jdaosjdsd.com'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Function splitemailaddress:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WhUbo
function name:  SplitEmailAddress
number of ops:  11
compiled vars:  !0 = $email
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'array_combine'
          2        SEND_VAL                                                 <array>
          3        INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '%40'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        DO_ICALL                                         $2      
          9      > RETURN                                                   $2
    6    10*     > RETURN                                                   null

End of function splitemailaddress

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.5 ms | 1397 KiB | 20 Q