3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encodeString($str) { for ($i = 0; $i < 5; ++$i) { $str = base64_decode(strrev($str)); } return $str; } var_dump(strrev("Rl zccsm'x ufm sdkfx scgddx tulubfg? Nqtr ybfsc mq ufmq 'tpgnredlxma dckdukgt'? Nkpa lqu klsc bfsc: /ushltqscPzty"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4qh62
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'strrev'
          2        SEND_VAL                                                 'Rl+zccsm%27x+ufm+sdkfx+scgddx+tulubfg%3F+Nqtr+ybfsc+mq+ufmq+%27tpgnredlxma+dckdukgt%27%3F+Nkpa+lqu+klsc+bfsc%3A+%2FushltqscPzty'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Function encodestring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
Branch analysis from position: 3
filename:       /in/4qh62
function name:  encodeString
number of ops:  15
compiled vars:  !0 = $str, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->11
    6     3    >   INIT_FCALL                                               'base64_decode'
          4        INIT_FCALL                                               'strrev'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
    5    10        PRE_INC                                                  !1
         11    >   IS_SMALLER                                               !1, 5
         12      > JMPNZ                                                    ~7, ->3
    8    13    > > RETURN                                                   !0
    9    14*     > RETURN                                                   null

End of function encodestring

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.34 ms | 1387 KiB | 19 Q