- fix bug #47358, glob returns error, should be empty array()

Conflicts:
	ext/standard/dir.c
fixed glob() edge case on windows, ref bug #47358
split the glob() test to test different basedir
fix test
Fix bug #67716 - Segfault in cdf.c