3v4l.org

run code in 300+ PHP versions simultaneously
<?php $setting = '$5$rounds=250000$1234567890987654321$'; $encrypted = crypt('StringToEncrypt', $setting); $hash = \substr($encrypted, strlen($setting)); echo $hash;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1LNEY
function name:  (null)
number of ops:  14
compiled vars:  !0 = $setting, !1 = $encrypted, !2 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%245%24rounds%3D250000%241234567890987654321%24'
    3     1        INIT_FCALL                                               'crypt'
          2        SEND_VAL                                                 'StringToEncrypt'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    4     6        INIT_FCALL                                               'substr'
          7        SEND_VAR                                                 !1
          8        STRLEN                                           ~6      !0
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    5    12        ECHO                                                     !2
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.67 ms | 1394 KiB | 17 Q