Re: [PHP4BETA] urldecode diff php3<->php4
| From: | Zeev Suraski | Date: | Tue, 22 Jun 1999 19:22:16 +0000 |
| Subject: | Re: [PHP4BETA] urldecode diff php3<->php4 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1652@lists.php.net to get a copy of this message | ||
At 15:33 22/06/99 , Thies C. Arntzen wrote:
hmm, not quite sure with this one: script: <?php $data = urldecode(""); var_dump($data); ?> result with php4: Content-Type: text/html i:0 result with php3: Content-type: text/html string(0) "" i just got "badly" bitten by this one! i think we should change the RETURN_FASLE in encode/decode to return an empty string 'cause urldecode("") in deed is "" - and not FALSE - any objections??Yes - I object. RETURN_FALSE should return false. We have a boolean type now. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il