Re: what's a "T_VARIABLE" ?

From: Date: Sat, 09 Dec 2000 01:09:10 +0000
Subject: Re: what's a "T_VARIABLE" ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-29438@lists.php.net to get a copy of this message
> ok, ok, I forgot the '$' but whats the error mean ? > > Parse error: parse error, expecting `T_VARIABLE' in > > is a helluva way of saying > > you forgot the '$' Not necessarily.. The error handling isn't *trying* to be easy to understand - T_VARIABLE is probably just the macro definition for a string (with characters allowed in a variable) with a $ in front of it, as defined in the php source. More precise definitions of errors would slow php down and bluk up the program - this puts the onus on the developer to be good :) |\__/,| (`\ Zeno / Furry / Adam Wright - http://zeno.ucc.asn.au/ =|O o |= ) ) -----------------------------------------------------(((---(((------- Email: zeno@zeno.iwz.com Snail mail: 241 Hancock St Doubleview ICQ #: 2800546 Phone: 04093 77939 6018, WA, Australia

« previous php.general (#29438) next »