syntax error?
| From: | Jonas Jochum | Date: | Tue, 20 Jun 2000 16:16:26 +0000 |
| Subject: | syntax error? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21847@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[forwarded to -dev, since noone replied on -general, and since it looks
like a bug. Please CC: me, when replying. I'm only subscribed to -general]
Hi,
just a brief question...
why does PHP4 complain about a syntax error in this construct?
IMHO this should be correct, shouldn't it?
$catid = (isset($HTTP_GET_VARS[catid])) ? &$HTTP_GET_VARS["catid"] : 0;
^^^^^ that's the error
- --
MfG,
Jonas Jochum
commandline net services
- -------------------------------------------------------------------------
tel: 07223-911794 | cmd:~ # Systemadministration, Netzwerkverwaltung
fax: 07223-911795 | cmd:~ # Einrichtung von *BSD/Linux-Servern
d2 : 0173-5712481 | cmd:~ # Datenbank/Internetprogrammierung
jj@commandline.de | cmd:~ # Webdesign
www.commandline.de |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (FreeBSD)
Comment: Made with pgp4pine
iEYEARECAAYFAjlPmN0ACgkQF1ki3orczCD8OwCghvWPJzNQHxlaAda59YypywX9
2IUAn2cIQ1PbPvlHUI6FwCRIY8J9wOpY
=nppy
-----END PGP SIGNATURE-----