3v4l.org

run code in 300+ PHP versions simultaneously
<?php $crc=StdCRC32('https://www.phpbb.com/bugs/phpbb3/ticket.php?ticket_id=57755&sid=d978f45791ef5567cdc06446c78a8d72'); echo $crc; function StdCRC32( $uValue ) { $uCRC = crc32( $uValue ); if( $uCRC & 0x80000000 ) { $uCRC ^= 0xffffffff; $uCRC += 1; $uCRC = -$uCRC; } return $uCRC; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q2mt1
function name:  (null)
number of ops:  6
compiled vars:  !0 = $crc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'StdCRC32'
          1        SEND_VAL_EX                                              'https%3A%2F%2Fwww.phpbb.com%2Fbugs%2Fphpbb3%2Fticket.php%3Fticket_id%3D57755%26sid%3Dd978f45791ef5567cdc06446c78a8d72'
          2        DO_FCALL                                      0  $1      
          3        ASSIGN                                                   !0, $1
    3     4        ECHO                                                     !0
   16     5      > RETURN                                                   1

Function stdcrc32:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/Q2mt1
function name:  StdCRC32
number of ops:  13
compiled vars:  !0 = $uValue, !1 = $uCRC
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    7     1        INIT_FCALL                                               'crc32'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !1, $2
    8     5        BW_AND                                           ~4      !1, 2147483648
          6      > JMPZ                                                     ~4, ->11
   10     7    >   ASSIGN_OP                                    11          !1, 4294967295
   11     8        ASSIGN_OP                                     1          !1, 1
   12     9        MUL                                              ~7      !1, -1
         10        ASSIGN                                                   !1, ~7
   15    11    > > RETURN                                                   !1
   16    12*     > RETURN                                                   null

End of function stdcrc32

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.87 ms | 1395 KiB | 15 Q