3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h='$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/cmRLt
function name:  (null)
number of ops:  18
compiled vars:  !0 = $h, !1 = $h2, !2 = $p, !3 = $c1, !4 = $h1, !5 = $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                                                 !4
          6        DO_ICALL                                         $9      
          7        ASSIGN                                                   !3, $9
    6     8        INIT_FCALL                                               'crypt'
          9        SEND_VAR                                                 !2
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $11     
         12        ASSIGN                                                   !5, $11
    7    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !3
         15        SEND_VAR                                                 !5
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.7 ms | 1394 KiB | 17 Q