#23353 [Opn->Bgs]: inline variable detection only handles one dereference

From: Date: Fri, 25 Apr 2003 22:22:16 +0000
Subject: #23353 [Opn->Bgs]: inline variable detection only handles one dereference
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38425@lists.php.net to get a copy of this message
ID: 23353 Updated by: sniper@php.net Reported By: spagmoid at yahoo dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: WinXP PHP Version: 4.3.1 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2003-04-25 17:21:17] spagmoid at yahoo dot com 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 this bug report at http://bugs.php.net/?id=23353&edit=1

« previous php.bugs (#38425) next »