3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.98 ms | 1394 KiB | 15 Q