3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h1='$6$rounds=1$abcdefghijklmnop'; $h2='$6$abcdefghijklmnop'; $p='password'; $c1=crypt($p,$h1); $c2=crypt($p,$h2); var_dump($c1, $c2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KZoIv
function name:  (null)
number of ops:  18
compiled vars:  !0 = $h1, !1 = $h2, !2 = $p, !3 = $c1, !4 = $c2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%246%24rounds%3D1%24abcdefghijklmnop'
    3     1        ASSIGN                                                   !1, '%246%24abcdefghijklmnop'
    4     2        ASSIGN                                                   !2, 'password'
    5     3        INIT_FCALL                                               'crypt'
          4        SEND_VAR                                                 !2
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $8      
          7        ASSIGN                                                   !3, $8
    6     8        INIT_FCALL                                               'crypt'
          9        SEND_VAR                                                 !2
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $10     
         12        ASSIGN                                                   !4, $10
    7    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !3
         15        SEND_VAR                                                 !4
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.23 ms | 1394 KiB | 17 Q