#23353 [NEW]: inline variable detection only handles one dereference
| From: | spagmoid at yahoo dot com | Date: | Fri, 25 Apr 2003 22:21:17 +0000 |
| Subject: | #23353 [NEW]: inline variable detection only handles one dereference | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-38423@lists.php.net to get a copy of this message | ||
From: spagmoid at yahoo dot com
Operating system: WinXP
PHP version: 4.3.1
PHP Bug Type: *General Issues
Bug description: inline variable detection only handles one dereference
php is supposed to use "as much text as possible" when detecting variables
in strings, but it stops at the first object.
$Obj->Prop = "purple";
$String = "text $Obj->Prop text";
result: text purple text
$Obj->Obj->Prop = "purple";
$String = "text $Obj->Obj->Prop text";
result: text object->Prop text
--
Edit bug report at http://bugs.php.net/?id=23353&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23353&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23353&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23353&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23353&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23353&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23353&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23353&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23353&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23353&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23353&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23353&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23353&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23353&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23353&r=gnused