Hello Yasuo,
I applied the patch (and added documentation for it)
Derick
On Mon, 3 Dec 2001, Yasuo Ohgaki wrote:
> I needed to know output buffering nesting level to replace output
> when there is error. This is the patch for this.
>
> int ob_get_level(void)
Derick Rethans
--
Yasuo Ohgaki wrote:
> Derick Rethans wrote:
>
>> 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_leve
Derick Rethans wrote:
> 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_va
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_nestin
I needed to know output buffering nesting level to replace output
when there is error. This is the patch for this.
int ob_get_level(void)
Return current output buffering nesting level. It includes output
buffers set in php.ini (output_buffer, output_handler and
zlib.output_compression if set)
--