3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str="Wello!"; $h1=dechex(crc32($str)); $h2=hash("crc32",$str); var_dump($h1===$h2,$h1,$h2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ng7hi
function name:  (null)
number of ops:  18
compiled vars:  !0 = $str, !1 = $h1, !2 = $h2
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'Wello%21'
    3     1        INIT_FCALL                                                   'crc32'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                             $4      
          4        FRAMELESS_ICALL_1                dechex              ~5      $4
          5        ASSIGN                                                       !1, ~5
    4     6        INIT_FCALL                                                   'hash'
          7        SEND_VAL                                                     'crc32'
          8        SEND_VAR                                                     !0
          9        DO_ICALL                                             $7      
         10        ASSIGN                                                       !2, $7
    5    11        INIT_FCALL                                                   'var_dump'
         12        IS_IDENTICAL                                         ~9      !1, !2
         13        SEND_VAL                                                     ~9
         14        SEND_VAR                                                     !1
         15        SEND_VAR                                                     !2
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.44 ms | 2144 KiB | 16 Q