3v4l.org

run code in 300+ PHP versions simultaneously
<?php $authorisation = base64_encode( $this->getUsername() . ':' . $this->getPassword() ); echo $authorisation;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oZaA2
function name:  (null)
number of ops:  14
compiled vars:  !0 = $authorisation
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'base64_encode'
    4     1        FETCH_THIS                                       $1      
          2        INIT_METHOD_CALL                                         $1, 'getUsername'
          3        DO_FCALL                                      0  $2      
          4        CONCAT                                           ~3      $2, '%3A'
          5        FETCH_THIS                                       $4      
          6        INIT_METHOD_CALL                                         $4, 'getPassword'
          7        DO_FCALL                                      0  $5      
          8        CONCAT                                           ~6      ~3, $5
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
    3    11        ASSIGN                                                   !0, $7
    7    12        ECHO                                                     !0
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.11 ms | 1398 KiB | 15 Q