Annotation of embedaddon/php/ext/standard/tests/strings/bug36306.phpt, revision 1.1.1.2

1.1       misho       1: --TEST--
                      2: Bug #36306 (crc32() 64bit)
                      3: --FILE--
                      4: <?php
                      5: 
                      6: /* as an example how to write crc32 tests
                      7:    PHP does not have uint values, you cannot
                      8:    display crc32 like a signed integer.
1.1.1.2 ! misho       9:    Have to find some small strings to truly reproduce 
1.1       misho      10:    the problem, this example being not a problem
                     11: */
1.1.1.2 ! misho      12: echo dechex(crc32("platform independent")) . "\n";
1.1       misho      13: ?>
                     14: --EXPECT--
1.1.1.2 ! misho      15: cbd056ba

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>