Re: R: [PHP-GENERAL] syntax error?

From: Date: Wed, 21 Jun 2000 14:53:35 +0000
Subject: Re: R: [PHP-GENERAL] syntax error?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2497@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 21.06.00 um 16:29 hat Roberto Sartor geschrieben: [sorry, pgp4pine screwed up... it cut out your reply] alright, then there was a (minor) syntax error. I just corrected it in my script, so that it says $a = (isset($b) ? &$b : &$c); however, it still doesn't work. It still complains about a syntax error. Now, before someone replies again, Andi from Zend wrote: >>& isn't an operator in PHP. >>It can only be used under very specific circuimstances such as >>assigning references (= &) function parameter list (&$param). >In any case, improving the references support in PHP might happen >sometime in the future but don't expect this to happen soon. So, this seems to be not a syntax error in itself, but a "limitation of PHP". Thanks to everybody who replied! - -- Reg., 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 iEYEARECAAYFAjlQ1vQACgkQF1ki3orczCAi/wCeIcVKy3QRVTuJNTMqx923/TtN 2HwAn2pmxOrLy7WubKQDOG8inAUheHmy =/w4+ -----END PGP SIGNATURE-----

« previous php.general (#2497) next »