#25742 [NEW]: smth bad with pear or php

From: Date: Fri, 03 Oct 2003 09:42:57 +0000
Subject: #25742 [NEW]: smth bad with pear or php
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22349@lists.php.net to get a copy of this message
From: creator at sacura dot net Operating system: windows 2000 PHP version: 4.3.3 PHP Bug Type: PEAR related Bug description: smth bad with pear or php Description: ------------ Problem with some names of variables in templates files (PEAR/IT). Reproduce code: --------------- <?php require('HTML/Template/IT.php'); $tsql = new HTML_Template_IT(); $tsql->loadTemplateFile("test.sql"); $tsql->setVariable('C2','1'); print "test=". $tsql->get(); ?> and template (test.sql) {DUMMY} '{C2}/' {DUMMY} Expected result: ---------------- Warning: Compilation failed: nothing to repeat at offset 3 in c:\php\pear\HTML\Template\IT.php on line 575 test= '/' Actual result: -------------- it should be this: '1/' I think so. -- Edit bug report at http://bugs.php.net/?id=25742&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25742&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25742&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25742&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25742&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25742&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25742&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25742&r=support Expected behavior: http://bugs.php.net/fix.php?id=25742&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25742&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25742&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25742&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25742&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25742&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25742&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25742&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25742&r=float

« previous php.pear.dev (#22349) next »