主页
PHP
PHP 输出控制 ob_get_length() 函数
tryphp_oc_ob_get_length
运行 ❯
×
更改方向
保存代码
更改主题
<?php ob_start(); echo "Hello World!"; $length = ob_get_length(); ob_end_clean(); echo "The contents of the buffer are $length characters long"; ?>