This test reveals a difference between TS and NTS through all the
versions, which is probably too late to fix at this stage of 7.3.
While NTS always relies on the system getcwd(), TS uses a fake CWD
which might get out of sync when the real dir is deleted. Thus,
skip test on unsuitable build. Investigate possibilities to fix this
edge case for later versions.
if (substr(PHP_OS, 0, 3) == 'WIN') {
die("skip can't remove CWD on Windows");
}
+if (PHP_ZTS) {
+ /* TODO eliminate difference in TS build. */
+ die("skip Not for ZTS");
+}
?>
--FILE--
<?php