3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = "test\0something"; $y = "test\0anything"; $salt = '$2y$04$sdlkfjsd2lkf4h6zldf35ksj252gh'; var_dump(crypt($x, $salt), crypt($y, $salt)); echo("dsjkfdaf");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TNGnv
function name:  (null)
number of ops:  17
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                                                 
   10    15        ECHO                                                     'dsjkfdaf'
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.8 ms | 1394 KiB | 17 Q