downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

tidy_access_count> <Fonctions Tidy
[edit] Last updated: Fri, 10 Feb 2012

view this page in

ob_tidyhandler

(PHP 5)

ob_tidyhandlerFonction de rappel ob_start pour réparer le buffer

Description

string ob_tidyhandler ( string $input [, int $mode ] )

Fonction de rappel pour la fonction ob_start() afin de réparer le buffer.

Liste de paramètres

input

Le buffer.

mode

Le mode du buffer.

Valeurs de retour

Retourne le buffer modifié.

Exemples

Exemple #1 Exemple avec ob_tidyhandler()

<?php
ob_start
('ob_tidyhandler');

echo 
'<p>test</i>';
?>

L'exemple ci-dessus va afficher :

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title></title>
</head>
<body>
<p>test</p>
</body>
</html>

Voir aussi

  • ob_start() - Enclenche la tamporisation de sortie



add a note add a note User Contributed Notes ob_tidyhandler
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites