3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'test'; // hash generated with PHP 5.3.7+ $hash = '$2y$14$MTIzNDU2Nzg5MDEyMzQ1NexAbOIUHkG6Ra.TK9QxHOVUhDxOe4dkW'; $result = crypt($password, $hash); printf("Hash %s (length %d)\n", $result, strlen($result));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CKFm8
function name:  (null)
number of ops:  14
compiled vars:  !0 = $password, !1 = $hash, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'test'
    5     1        ASSIGN                                                   !1, '%242y%2414%24MTIzNDU2Nzg5MDEyMzQ1NexAbOIUHkG6Ra.TK9QxHOVUhDxOe4dkW'
    7     2        INIT_FCALL                                               'crypt'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    8     7        INIT_FCALL                                               'printf'
          8        SEND_VAL                                                 'Hash+%25s+%28length+%25d%29%0A'
          9        SEND_VAR                                                 !2
         10        STRLEN                                           ~7      !2
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.53 ms | 1394 KiB | 17 Q