summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/implode1.phpt
diff options
context:
space:
mode:
authorEric Stenson <ericsten@php.net>2013-12-13 10:42:32 -0800
committerEric Stenson <ericsten@php.net>2013-12-13 10:42:32 -0800
commit50377b5bf2bc4cd6f77816a9216e035d71bc2ec8 (patch)
tree85f90c53fb1f5e29f2a8e336961d33c90b658bec /ext/standard/tests/strings/implode1.phpt
parent41eaac3491cfcad02ebab5f86ece018d9e3c4cc6 (diff)
downloadphp-git-50377b5bf2bc4cd6f77816a9216e035d71bc2ec8.tar.gz
Fix tests expecting specific resource IDs
When Wincache or APC are installed, the resource IDs are not the same. This is because Wincache takes a few resource objects for itself. As a result, these tests become false positives. On Windows boxes, the microtime precision is not granular enough to reliably register a difference if two calls to uniqid() are made concurrently. This is a fix to the uniqid() test to avoid the false positive when run on Windows machines. Also, added a test to exercise the 'more_entropy' variant of uniqid().
Diffstat (limited to 'ext/standard/tests/strings/implode1.phpt')
-rw-r--r--ext/standard/tests/strings/implode1.phptbin5875 -> 5877 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/implode1.phpt b/ext/standard/tests/strings/implode1.phpt
index 3997c54b59..3720c06927 100644
--- a/ext/standard/tests/strings/implode1.phpt
+++ b/ext/standard/tests/strings/implode1.phpt
Binary files differ