3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bin2hex(strrev(base64_encode(123456789))); echo " "; $str = "3d3d516343746d4d6d6c31566956336"; echo $str; echo " "; $b64 = base64_decode($str); #echo $b64; echo " "; $strrev = strrev($str); #echo $strrev; echo " "; $hex2bin = hex2bin($str); #echo $hex2bin; echo " "; #$a = hex2bin(strrev(base64_decode($str))); #echo $a; echo " ";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/40cbH
function name:  (null)
number of ops:  27
compiled vars:  !0 = $str, !1 = $b64, !2 = $strrev, !3 = $hex2bin
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'bin2hex'
          1        INIT_FCALL                                               'strrev'
          2        INIT_FCALL                                               'base64_encode'
          3        SEND_VAL                                                 123456789
          4        DO_ICALL                                         $4      
          5        SEND_VAR                                                 $4
          6        DO_ICALL                                         $5      
          7        SEND_VAR                                                 $5
          8        DO_ICALL                                         $6      
          9        ECHO                                                     $6
         10        ECHO                                                     '+'
    3    11        ASSIGN                                                   !0, '3d3d516343746d4d6d6c31566956336'
    4    12        ECHO                                                     !0
         13        ECHO                                                     '+'
    5    14        INIT_FCALL                                               'base64_decode'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $8      
         17        ASSIGN                                                   !1, $8
    7    18        INIT_FCALL                                               'strrev'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $10     
         21        ASSIGN                                                   !2, $10
    9    22        INIT_FCALL                                               'hex2bin'
         23        SEND_VAR                                                 !0
         24        DO_ICALL                                         $12     
         25        ASSIGN                                                   !3, $12
   12    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.46 ms | 1395 KiB | 23 Q