summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug36306.phpt
blob: 3c52250718ed000a4beab15c8f95323ae9f1b095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Bug #36306 (crc32() 64bit)
--FILE--
<?php

/* as an example how to write crc32 tests
   PHP does not have uint values, you cannot
   display crc32 like a signed integer.
   Have to find some small strings to truly reproduce
   the problem, this example being not a problem
*/
echo dechex(crc32("platform independent")) . "\n";
?>
--EXPECT--
cbd056ba