From: Felipe Pena Date: Mon, 3 Aug 2009 15:58:18 +0000 (+0000) Subject: - CS X-Git-Tag: php-5.4.0alpha1~191^2~2874 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69dc1f80fdef51a4381cb92bcd1bb125c1ecee72;p=php - CS --- diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 72498921eb..7cd3879200 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -613,7 +613,7 @@ PHP_FUNCTION(stream_get_wrappers) if ((url_stream_wrappers_hash = php_stream_get_url_stream_wrappers_hash())) { HashPosition pos; array_init(return_value); - for(zend_hash_internal_pointer_reset_ex(url_stream_wrappers_hash, &pos); + for (zend_hash_internal_pointer_reset_ex(url_stream_wrappers_hash, &pos); (key_flags = zend_hash_get_current_key_ex(url_stream_wrappers_hash, &stream_protocol, &stream_protocol_len, &num_key, 0, &pos)) != HASH_KEY_NON_EXISTANT; zend_hash_move_forward_ex(url_stream_wrappers_hash, &pos)) { if (key_flags == HASH_KEY_IS_STRING) { @@ -1743,9 +1743,9 @@ PHP_FUNCTION(stream_is_local) RETURN_FALSE; } - if(Z_TYPE_PP(zstream) == IS_RESOURCE) { + if (Z_TYPE_PP(zstream) == IS_RESOURCE) { php_stream_from_zval(stream, zstream); - if(stream == NULL) { + if (stream == NULL) { RETURN_FALSE; } wrapper = stream->wrapper; @@ -1755,7 +1755,7 @@ PHP_FUNCTION(stream_is_local) wrapper = php_stream_locate_url_wrapper(Z_STRVAL_PP(zstream), NULL, 0 TSRMLS_CC); } - if(!wrapper) { + if (!wrapper) { RETURN_FALSE; }