3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Encoding and Decoding Encrypted PHP Code'; $encoded = base64_decode($string); $decoded = base64_decode(base64_encode($string)); echo $encoded ."\n"; echo $decoded;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WFZer
function name:  (null)
number of ops:  16
compiled vars:  !0 = $string, !1 = $encoded, !2 = $decoded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Encoding+and+Decoding+Encrypted+PHP+Code'
    3     1        INIT_FCALL                                               'base64_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    4     5        INIT_FCALL                                               'base64_decode'
          6        INIT_FCALL                                               'base64_encode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    5    12        CONCAT                                           ~9      !1, '%0A'
         13        ECHO                                                     ~9
    6    14        ECHO                                                     !2
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.47 ms | 1398 KiB | 17 Q