summaryrefslogtreecommitdiff
path: root/CODING_STANDARDS
diff options
context:
space:
mode:
authorEric Stenson <ericsten@php.net>2013-12-13 10:42:32 -0800
committerXinchen Hui <laruence@gmail.com>2013-12-15 16:51:21 +0800
commit330168a2477666212797095449029e78dcce0844 (patch)
treef2653b7dbbb14358f0dc42d8543b22bc4e9e9007 /CODING_STANDARDS
parentef73f85079e7563cb82afde35f0e89321257f0d9 (diff)
downloadphp-git-330168a2477666212797095449029e78dcce0844.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 'CODING_STANDARDS')
0 files changed, 0 insertions, 0 deletions