3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data='iujhklsc'; if ( base64_encode(base64_decode($data)) === $data){ echo '$data is valid'; } else { echo '$data is NOT valid'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7ltgs
function name:  (null)
number of ops:  13
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'iujhklsc'
    5     1        INIT_FCALL                                               'base64_encode'
          2        INIT_FCALL                                               'base64_decode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                         $3      
          7        IS_IDENTICAL                                             !0, $3
          8      > JMPZ                                                     ~4, ->11
    6     9    >   ECHO                                                     '%24data+is+valid'
         10      > JMP                                                      ->12
    8    11    >   ECHO                                                     '%24data+is+NOT+valid'
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.72 ms | 1394 KiB | 17 Q