Pchp.Library.Output.ob_get_length C# (CSharp) Метод

ob_get_length() публичный статический Метод

Retrieves the length of the output buffer.
public static ob_get_length ( Context ctx ) : PhpValue
ctx Pchp.Core.Context
Результат Pchp.Core.PhpValue
        public static PhpValue ob_get_length(Context ctx)
        {
            var length = ctx.BufferedOutput.Length;
            return (length >= 0) ? PhpValue.Create(length) : PhpValue.False; 
        }