3v4l.org

run code in 500+ PHP versions simultaneously
<?php $x = "test\0something"; $y = "test\0anything"; $salt = '$2y$04$sdlkfjsd2lkf4h6zldf35ksj252gh'; var_dump(crypt($x, $salt), crypt($y, $salt));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Y6onV
function name:  (null)
number of ops:  16
compiled vars:  !0 = $x, !1 = $y, !2 = $salt
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'test%00something'
    4     1        ASSIGN                                                       !1, 'test%00anything'
    6     2        ASSIGN                                                       !2, '%242y%2404%24sdlkfjsd2lkf4h6zldf35ksj252gh'
    8     3        INIT_FCALL                                                   'var_dump'
          4        INIT_FCALL                                                   'crypt'
          5        SEND_VAR                                                     !0
          6        SEND_VAR                                                     !2
          7        DO_ICALL                                             $6      
          8        SEND_VAR                                                     $6
          9        INIT_FCALL                                                   'crypt'
         10        SEND_VAR                                                     !1
         11        SEND_VAR                                                     !2
         12        DO_ICALL                                             $7      
         13        SEND_VAR                                                     $7
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.63 ms | 2978 KiB | 15 Q