Hello,

On Mon, 3 Dec 2001, Yasuo Ohgaki wrote:

+/* {{{ proto integer ob_get_level(void)
+   Return the nesting level of the output buffer */
+PHP_FUNCTION(ob_get_level)
+{
+       Z_LVAL_P(return_value) = OG(ob_nesting_level);
+       Z_TYPE_P(return_value) = IS_LONG;


RETURN_LONG (OG(ob_nesting_level)); seems nicer to me.

regards,
Derick



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to