]> granicus.if.org Git - php/commitdiff
- CS
authorFelipe Pena <felipe@php.net>
Mon, 3 Aug 2009 15:58:18 +0000 (15:58 +0000)
committerFelipe Pena <felipe@php.net>
Mon, 3 Aug 2009 15:58:18 +0000 (15:58 +0000)
ext/standard/streamsfuncs.c

index 72498921ebd009a916705ab1b3e86852a1a0a751..7cd387920035aa8f7928f956179bb6bef6e1496f 100644 (file)
@@ -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;
        }