summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug36306.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/strings/bug36306.phpt')
-rw-r--r--ext/standard/tests/strings/bug36306.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/bug36306.phpt b/ext/standard/tests/strings/bug36306.phpt
new file mode 100644
index 0000000..2d8449a
--- /dev/null
+++ b/ext/standard/tests/strings/bug36306.phpt
@@ -0,0 +1,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 truely reproduce
+ the problem, this example being not a problem
+*/
+echo dechex(crc32("platform independant")) . "\n";
+?>
+--EXPECT--
+ccd9fe66