3v4l.org

run code in 300+ PHP versions simultaneously
<?php $finalData = "This is a test of crc32b why is this different"; echo crc32($finalData); echo "\n"; $hash = hash('crc32b', $finalData, true); $crc = unpack('V', ); echo $hash; echo $crc[1]; echo "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2fSWT
function name:  (null)
number of ops:  21
compiled vars:  !0 = $finalData, !1 = $hash, !2 = $crc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'This+is+a+test+of+crc32b+why+is+this+different'
    5     1        INIT_FCALL                                               'crc32'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ECHO                                                     $4
    6     5        ECHO                                                     '%0A'
    8     6        INIT_FCALL                                               'hash'
          7        SEND_VAL                                                 'crc32b'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    9    12        INIT_FCALL                                               'unpack'
         13        SEND_VAL                                                 'V'
         14        DO_ICALL                                         $7      
         15        ASSIGN                                                   !2, $7
   10    16        ECHO                                                     !1
   11    17        FETCH_DIM_R                                      ~9      !2, 1
         18        ECHO                                                     ~9
   12    19        ECHO                                                     '%0A'
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.25 ms | 1395 KiB | 19 Q