>Hi, >I upgraded to 4.2 and now I get those errormessages >"Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting >T_STRING or T_VARIABLE or T_NUM_STRING in ..." > >when doing sth like: >$name = "My $row['name']"; > >Why?
My Best Guess: The $row['name'] part should be $row[name] and always has been. It used to work as an "undocumented feature" (aka "bug") but it just doesn't any more. "Why?" would probably involve about two hours of Ze'ev and Andi talking about parser stuff that you really don't want to listen to... Corner them at a PHP Conference if I'm wrong on that score :-) -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php