diff --git a/ext/standard/dir.c b/ext/standard/dir.c index cfa792f4771..7a2cb4028dc 100644 --- a/ext/standard/dir.c +++ b/ext/standard/dir.c @@ -401,10 +401,10 @@ PHP_FUNCTION(glob) } #ifndef GLOB_NOMATCH - // now catch the FreeBSD style of "no matches" + /* now catch the FreeBSD style of "no matches" */ if (!globbuf.gl_pathc) { - array_init(return_value); - return; + array_init(return_value); + return; } #endif