(PHP 5)
ob_tidyhandler — تابع بازگشتی ob_start برای تعمیر بافر
تابع بازگشتی ob_start() برای تعمیر بافر.
بافر.
حالت بافر.
بازگرداندن بافر تغییر یافته.
Example #1 مثال ob_tidyhandler()
<?php
ob_start('ob_tidyhandler');
echo '<p>test</i>';
?>
The above example will output:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title></title> </head> <body> <p>test</p> </body> </html>