3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash1 = password_hash(str_repeat('a', 256)); $hash2 = password_hash(str_repeat('a', 512)); echo ($hash1 === $hash2 ? 'same' : 'unique');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YTOgh
function name:  (null)
number of ops:  23
compiled vars:  !0 = $hash1, !1 = $hash2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'password_hash'
          1        INIT_FCALL                                               'str_repeat'
          2        SEND_VAL                                                 'a'
          3        SEND_VAL                                                 256
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !0, $3
    3     8        INIT_FCALL                                               'password_hash'
          9        INIT_FCALL                                               'str_repeat'
         10        SEND_VAL                                                 'a'
         11        SEND_VAL                                                 512
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                         $6      
         15        ASSIGN                                                   !1, $6
    4    16        IS_IDENTICAL                                             !0, !1
         17      > JMPZ                                                     ~8, ->20
         18    >   QM_ASSIGN                                        ~9      'same'
         19      > JMP                                                      ->21
         20    >   QM_ASSIGN                                        ~9      'unique'
         21    >   ECHO                                                     ~9
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.32 ms | 1395 KiB | 17 Q