執行 ❯
獲取您
自己的 PHP
伺服器
×
更改方向
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <body> <?php $buffer_count = ob_get_level(); echo "Buffer level: $buffer_count.<br>"; // Add an output buffer ob_start(); $buffer_count = ob_get_level(); echo "Buffer level: $buffer_count.<br>"; // Add another output buffer ob_start(); $buffer_count = ob_get_level(); echo "Buffer level: $buffer_count.<br>"; // Close all buffers ob_end_flush(); ob_end_flush(); ?> </body> </html>
緩衝區級別:0。
緩衝區級別:1。
緩衝區級別:2。