3v4l.org

run code in 300+ PHP versions simultaneously
<?php $envelope["from"] = array('hi' => 'hi'); $body = array(); $stdc = new StdClass(); $stdc->hi = $envelope; var_dump(imap_mail_compose($envelope, $body)); var_dump($envelope); var_dump($stdc->hi);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MSdbt
function name:  (null)
number of ops:  23
compiled vars:  !0 = $envelope, !1 = $body, !2 = $stdc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'from'
          1        OP_DATA                                                  <array>
    4     2        ASSIGN                                                   !1, <array>
    5     3        NEW                                              $5      'StdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !2, $5
    6     6        ASSIGN_OBJ                                               !2, 'hi'
          7        OP_DATA                                                  !0
    7     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL_BY_NAME                                       'imap_mail_compose'
         10        SEND_VAR_EX                                              !0
         11        SEND_VAR_EX                                              !1
         12        DO_FCALL                                      0  $9      
         13        SEND_VAR                                                 $9
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
    9    18        INIT_FCALL                                               'var_dump'
         19        FETCH_OBJ_R                                      ~12     !2, 'hi'
         20        SEND_VAL                                                 ~12
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.94 ms | 940 KiB | 16 Q