|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-15 04:26 UTC] thesaur@php.net
[2003-06-21 17:14 UTC] thesaur@php.net
[2003-06-21 17:31 UTC] thesaur@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 02:00:01 2025 UTC |
Description: ------------ Looks like the new pass by reference on the addBodyContent has broken the examples. This script dont work: <?php require_once('HTML/Page.php'); $p = new HTML_Page(); $p->addBodyContent("Teste"); $p->display(); ?> But this one does: <?php require_once('HTML/Page.php'); $p = new HTML_Page(); $body = "Teste"; $p->addBodyContent($body); $p->display(); ?> Another problem, after fix the above in the example file Page_Complex.php, addMetaData() doesnt exists, it is setMetaData rigth? Even fixing that I got the page, but with errors: Notice: Error: "STRICT" is an unsupported or illegal document type. in /usr/lib/php/PEAR.php on line 744 Object Regards S.Rocha