summaryrefslogtreecommitdiff
path: root/ext/spl/spl_directory.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-12-22 00:10:46 -0500
committerXinchen Hui <laruence@php.net>2014-12-22 00:10:46 -0500
commitb5b617674e035343ce836b79c2cc8a0ce8aece64 (patch)
tree9b726f0e31d5ef5a6ef72af1c18970d16833dd48 /ext/spl/spl_directory.c
parentcc4a198d1938c59f30f899d4270242c738253053 (diff)
downloadphp-git-b5b617674e035343ce836b79c2cc8a0ce8aece64.tar.gz
Micro optimaztion (yeah, I know compiler supposed to do that)
Diffstat (limited to 'ext/spl/spl_directory.c')
-rw-r--r--ext/spl/spl_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c
index 2d8a1d62bd..ce0a601bd3 100644
--- a/ext/spl/spl_directory.c
+++ b/ext/spl/spl_directory.c
@@ -616,7 +616,7 @@ static HashTable *spl_filesystem_object_get_debug_info(zval *object, int *is_tem
if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) {
ZVAL_STRINGL(&tmp, intern->_path, intern->_path_len);
} else {
- ZVAL_BOOL(&tmp, 0);
+ ZVAL_FALSE(&tmp);
}
zend_symtable_update(rv, pnstr, &tmp);
zend_string_release(pnstr);