3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encode($string) { return strtolower( implode("", explode("=", str_rot13( base64_encode( str_rot13( base64_encode( $string ) ) ) ) ) ) ); } $test = encode('hallohallo'); var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NH0U1
function name:  (null)
number of ops:  8
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   INIT_FCALL                                               'encode'
          1        SEND_VAL                                                 'hallohallo'
          2        DO_FCALL                                      0  $1      
          3        ASSIGN                                                   !0, $1
   24     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Function encode:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NH0U1
function name:  encode
number of ops:  26
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'strtolower'
    6     2        INIT_FCALL                                               'implode'
          3        SEND_VAL                                                 ''
    7     4        INIT_FCALL                                               'explode'
          5        SEND_VAL                                                 '%3D'
    8     6        INIT_FCALL                                               'str_rot13'
    9     7        INIT_FCALL                                               'base64_encode'
   10     8        INIT_FCALL                                               'str_rot13'
   11     9        INIT_FCALL                                               'base64_encode'
   12    10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $1      
         12        SEND_VAR                                                 $1
         13        DO_ICALL                                         $2      
         14        SEND_VAR                                                 $2
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
         17        DO_ICALL                                         $4      
         18        SEND_VAR                                                 $4
         19        DO_ICALL                                         $5      
         20        SEND_VAR                                                 $5
         21        DO_ICALL                                         $6      
         22        SEND_VAR                                                 $6
         23        DO_ICALL                                         $7      
         24      > RETURN                                                   $7
   20    25*     > RETURN                                                   null

End of function encode

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.35 ms | 1399 KiB | 26 Q