|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-03-11 20:31 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
require_once 'HTML/Template/ITX.php'; $tpl = new HTML_Template_ITX(); $tpl->setTemplate('{var}'); // no placeholder {foobar} in template, should return false if ($tpl->placeholderExists('foobar')) { echo 'broken!'; } else { echo 'ok!'; } The script prints 'broken!' instead of 'ok!'. see also comments to http://bugs.php.net/bug.php?id=18949