Re: Bug #14492: Parse error is appearing in transliterated Hebrew T_PAAMAYIM_NEKUDOTAYIM
| From: | Teodor Cimpoesu | Date: | Fri, 14 Dec 2001 08:33:50 +0000 |
| Subject: | Re: Bug #14492: Parse error is appearing in transliterated Hebrew T_PAAMAYIM_NEKUDOTAYIM | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73692@lists.php.net to get a copy of this message | ||
Hi esrig!
On Thu, 13 Dec 2001, esrig@us.ibm.com wrote:
> From: esrig@us.ibm.com
> Operating system: Linux
> PHP version: 4.1.0
> PHP Bug Type: *Languages/Translation
> Bug description: Parse error is appearing in transliterated Hebrew T_PAAMAYIM_NEKUDOTAYIM
>
> I left out some double quotes in the following statement:
> if (empty($d_value)) {$d_value = ;}
>
> This produced the following error message:
> Parse error: parse error, expecting
T_PAAMAYIM_NEKUDOTAYIM' or
> '('' in
> /home/esrig/public_html/macweb/tcfocal.php on line 213
>
> I recognize this as a Hebrew phrase:
> paamayim means two times
> nekudotayim means two punctuations or two vowels
> Probably means missing double quotes
>
> My question is, why am I getting an error message in Hebrew?
>
it's not an error message in Hebrew:
http://lxr.php.net/search?string=T_PAAMAYIM_NEKUDOTAYIM
http://www.google.com/search?q=T_PAAMAYIM_NEKUDOTAYIM
It's because of &variable construct, when the `$' in front of variable is left
out.
I had fun when I first found it too :)
-- teodor