3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Current PHP version: ' . phpversion() . '<br />'; $salt = substr( '$1$' . md5('+~alkjsgf43234'. '6534' .'lkdyjfg128956~++-'), 0, 12 ); echo 'Salt: ' . $salt . '<br />'; echo 'Crypt: ' . crypt('test123', $salt); var_dump(CRYPT_BLOWFISH == 1); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5VipK
function name:  (null)
number of ops:  28
compiled vars:  !0 = $salt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'phpversion'
          1        DO_ICALL                                         $1      
          2        CONCAT                                           ~2      'Current+PHP+version%3A+', $1
          3        CONCAT                                           ~3      ~2, '%3Cbr+%2F%3E'
          4        ECHO                                                     ~3
    3     5        INIT_FCALL                                               'substr'
          6        INIT_FCALL                                               'md5'
          7        SEND_VAL                                                 '%2B%7Ealkjsgf432346534lkdyjfg128956%7E%2B%2B-'
          8        DO_ICALL                                         $4      
          9        CONCAT                                           ~5      '%241%24', $4
         10        SEND_VAL                                                 ~5
         11        SEND_VAL                                                 0
         12        SEND_VAL                                                 12
         13        DO_ICALL                                         $6      
         14        ASSIGN                                                   !0, $6
    4    15        CONCAT                                           ~8      'Salt%3A+', !0
         16        CONCAT                                           ~9      ~8, '%3Cbr+%2F%3E'
         17        ECHO                                                     ~9
    5    18        INIT_FCALL                                               'crypt'
         19        SEND_VAL                                                 'test123'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                         $10     
         22        CONCAT                                           ~11     'Crypt%3A+', $10
         23        ECHO                                                     ~11
    6    24        INIT_FCALL                                               'var_dump'
         25        SEND_VAL                                                 <true>
         26        DO_ICALL                                                 
    7    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.45 ms | 1395 KiB | 23 Q