cvs: /php4/ext/standard output.c

From: Date: Tue, 18 Apr 2000 19:19:17 +0000
Subject: cvs: /php4/ext/standard output.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13685@lists.php.net to get a copy of this message
zeev Tue Apr 18 12:19:17 2000 EDT Modified files: /php4/ext/standard output.c Log: Document the ob_*() functions Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.18 php4/ext/standard/output.c:1.19 --- php4/ext/standard/output.c:1.18 Mon Mar 6 12:37:11 2000 +++ php4/ext/standard/output.c Tue Apr 18 12:18:47 2000 @@ -337,32 +337,47 @@ */ +/* {{{ proto void ob_start() + Turn on Output Buffering */ PHP_FUNCTION(ob_start) { php_start_ob_buffering(); } +/* }}} */ +/* {{{ proto void ob_end_flush() + Flush (send) the output buffer, and turn off output buffering */ PHP_FUNCTION(ob_end_flush) { php_end_ob_buffering(1); } +/* }}} */ +/* {{{ proto void ob_end_clean() + Clean (erase) the output buffer, and turn off output buffering */ PHP_FUNCTION(ob_end_clean) { php_end_ob_buffering(0); } +/* }}} */ +/* proto string ob_get_contents() + Return the contents of the output buffer */ PHP_FUNCTION(ob_get_contents) { if (php_ob_get_buffer(return_value)==FAILURE) { RETURN_FALSE; } } +/* }}} */ +/* proto void ob_implicit_flush([flag]) + Turn implicit flush on/off + Implicit flush is equivalent to calling flush() after every output call */ PHP_FUNCTION(ob_implicit_flush) { zval **zv_flag; @@ -389,6 +404,7 @@ php_end_implicit_flush(); } } +/* }}} */ PHPAPI char *php_get_output_start_filename()

« previous php.version4 (#13685) next »