Re: `T_VARIABLE' or `'$''
| From: | Ken | Date: | Fri, 24 Aug 2001 19:45:38 +0000 |
| Subject: | Re: `T_VARIABLE' or `'$'' | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64319@lists.php.net to get a copy of this message | ||
At 02:31 PM 8/24/01 +0100, Paul Roberts wrote:
>I'm using preg_replace and getting the following error
>
>parse error, expecting
T_VARIABLE' or '$''
This sounds like PHP was expecting a variable name somewhere where you didn't provide one.
Perhaps you left off a "$" before a variable name.
It might not be in your preg_replace call.
- Ken
kenzo@free-music.com
ken's last ever radio extravaganza http://free-music.com/ken/extrav/
>anyone know where I can find out abut them, I did a search of the manual but
>nothing came up.
>
>Paul Roberts
>
>roberts_paul@bigfoot.com