Uname:
Linux server.thebazaar99.com 5.14.0-687.17.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 22 07:21:26 EDT 2026 x86_64
Software:
Apache
PHP version:
8.3.32 [ PHP INFO ] PHP os:
Linux
Server Ip:
163.227.92.254
Your Ip:
216.73.217.24
User:
gutlooks (1003) | Group:
gutlooks (1005)
Safe Mode:
OFF
Disable Function:
exec,passthru,shell_exec,system
--TEST--
crc32c() extend tests
--SKIPIF--
<?php
if (!extension_loaded('crc32c')) {
echo 'skip';
}
?>
--FILE--
<?php
$crc = crc32c('ABCDEFG', hex2bin('00000000'));
echo bin2hex($crc), "\n";
$crc = null;
$crc = crc32c('ABCDEFG', $crc);
echo bin2hex($crc), "\n";
$crc = crc32c('HIJKLMNOP', $crc);
echo bin2hex($crc), "\n";
$crc = crc32c('QRSTUVWXYZ', $crc);
echo bin2hex($crc), "\n";
$crc = crc32c('abcdefghijklmno', $crc);
echo bin2hex($crc), "\n";
$crc = crc32c('pqrstuvwxyz0', $crc);
echo bin2hex($crc), "\n";
$crc = crc32c('123456789', $crc);
echo bin2hex($crc), "\n";
$crc = crc32c('', $crc);
echo bin2hex($crc), "\n";
?>
--EXPECT--
2c775665
2c775665
5e2b5be5
319897cd
2f6298bc
86bd0651
a245d57d
a245d57d