3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //$secret = "3d3d516343746d4d6d6c315669563362"; $secret = "TEST"; //echo $s2 = base64_decode($secret); //echo $s3 = strrev($s2); //echo hex2bin($s3); echo "----------"; echo bin2hex(strrev(base64_encode("TEST")));
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/pcRF9
function name:  (null)
number of ops:  13
compiled vars:  !0 = $secret
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'TEST'
   7     1        ECHO                                                     '----------'
   8     2        INIT_FCALL                                               'bin2hex'
         3        INIT_FCALL                                               'strrev'
         4        INIT_FCALL                                               'base64_encode'
         5        SEND_VAL                                                 'TEST'
         6        DO_ICALL                                         $2      
         7        SEND_VAR                                                 $2
         8        DO_ICALL                                         $3      
         9        SEND_VAR                                                 $3
        10        DO_ICALL                                         $4      
        11        ECHO                                                     $4
        12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0