Re: A Review Request
| From: | Joshua Kehn | Date: | Thu, 19 May 2011 18:49:43 +0000 |
| Subject: | Re: A Review Request | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312922@lists.php.net to get a copy of this message | ||
On May 19, 2011, at 2:44 PM, Andre Polykanine wrote:
> Hello Alex,
>
> Two (stupid?) questions:
> 1. Why PHP_SELF is better than SCRIPT_NAME?
> 2. Why strcmp() is better than just comparing?
>
> --
> With best regards from Ukraine,
> Andre
> Skype: Francophile
> My blog: http://oire.org/menelion (mostly in Russian)
> Twitter: http://twitter.com/m_elensule
> Facebook: http://facebook.com/menelion
No idea about the first, and I've never used strcmp() before for an equality check. If there is
something I'm missing I would love to know.
Regards,
-Josh
____________________________________
Joshua Kehn | Josh.kehn@gmail.com
http://joshuakehn.com