3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( //sha224 $a = hash('sha224', 'Ward van der '), $b = hash('sha224', 'Willem VP'), $a === $b, //sha256 $a = hash('sha256', 'Ward van der '), $b = hash('sha256', 'Willem VP'), $a === $b, //sha384 $a = hash('sha384', 'Ward van der '), $b = hash('sha384', 'Willem VP'), $a === $b, // sha512 $a = hash('sha512', 'Ward van der '), $b = hash('sha512', 'Willem VP'), $a === $b );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A0enR
function name:  (null)
number of ops:  59
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    5     1        INIT_FCALL                                               'hash'
          2        SEND_VAL                                                 'sha224'
          3        SEND_VAL                                                 'Ward+van+der+'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                           ~3      !0, $2
          6        SEND_VAL                                                 ~3
    6     7        INIT_FCALL                                               'hash'
          8        SEND_VAL                                                 'sha224'
          9        SEND_VAL                                                 'Willem+VP'
         10        DO_ICALL                                         $4      
         11        ASSIGN                                           ~5      !1, $4
         12        SEND_VAL                                                 ~5
    7    13        IS_IDENTICAL                                     ~6      !0, !1
         14        SEND_VAL                                                 ~6
    9    15        INIT_FCALL                                               'hash'
         16        SEND_VAL                                                 'sha256'
         17        SEND_VAL                                                 'Ward+van+der+'
         18        DO_ICALL                                         $7      
         19        ASSIGN                                           ~8      !0, $7
         20        SEND_VAL                                                 ~8
   10    21        INIT_FCALL                                               'hash'
         22        SEND_VAL                                                 'sha256'
         23        SEND_VAL                                                 'Willem+VP'
         24        DO_ICALL                                         $9      
         25        ASSIGN                                           ~10     !1, $9
         26        SEND_VAL                                                 ~10
   11    27        IS_IDENTICAL                                     ~11     !0, !1
         28        SEND_VAL                                                 ~11
   13    29        INIT_FCALL                                               'hash'
         30        SEND_VAL                                                 'sha384'
         31        SEND_VAL                                                 'Ward+van+der+'
         32        DO_ICALL                                         $12     
         33        ASSIGN                                           ~13     !0, $12
         34        SEND_VAL                                                 ~13
   14    35        INIT_FCALL                                               'hash'
         36        SEND_VAL                                                 'sha384'
         37        SEND_VAL                                                 'Willem+VP'
         38        DO_ICALL                                         $14     
         39        ASSIGN                                           ~15     !1, $14
         40        SEND_VAL                                                 ~15
   15    41        IS_IDENTICAL                                     ~16     !0, !1
         42        SEND_VAL                                                 ~16
   17    43        INIT_FCALL                                               'hash'
         44        SEND_VAL                                                 'sha512'
         45        SEND_VAL                                                 'Ward+van+der+'
         46        DO_ICALL                                         $17     
         47        ASSIGN                                           ~18     !0, $17
         48        SEND_VAL                                                 ~18
   18    49        INIT_FCALL                                               'hash'
         50        SEND_VAL                                                 'sha512'
         51        SEND_VAL                                                 'Willem+VP'
         52        DO_ICALL                                         $19     
         53        ASSIGN                                           ~20     !1, $19
         54        SEND_VAL                                                 ~20
   19    55        IS_IDENTICAL                                     ~21     !0, !1
         56        SEND_VAL                                                 ~21
    3    57        DO_ICALL                                                 
   20    58      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.73 ms | 1451 KiB | 15 Q