From 330168a2477666212797095449029e78dcce0844 Mon Sep 17 00:00:00 2001 From: Eric Stenson Date: Fri, 13 Dec 2013 10:42:32 -0800 Subject: 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(). --- ext/standard/tests/array/each.phpt | Bin 9570 -> 9574 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'ext/standard/tests/array/each.phpt') diff --git a/ext/standard/tests/array/each.phpt b/ext/standard/tests/array/each.phpt index 19ee728fd2..974808c08c 100644 Binary files a/ext/standard/tests/array/each.phpt and b/ext/standard/tests/array/each.phpt differ -- cgit v1.2.1