3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p1 = crypt( 'super_secret_pass', '$1$salt' ); $p2 = crypt( '', '$1$salt' ); echo( $p1 === $p2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6v9pr
function name:  (null)
number of ops:  13
compiled vars:  !0 = $p1, !1 = $p2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'crypt'
          1        SEND_VAL                                                 'super_secret_pass'
          2        SEND_VAL                                                 '%241%24salt'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        INIT_FCALL                                               'crypt'
          6        SEND_VAL                                                 ''
          7        SEND_VAL                                                 '%241%24salt'
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    5    10        IS_IDENTICAL                                     ~6      !0, !1
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.43 ms | 1398 KiB | 15 Q