Doc #68516 [Opn]: Wrong Page encoding
| From: | sobak@php.net | Date: | Fri, 28 Nov 2014 20:04:15 +0000 |
| Subject: | Doc #68516 [Opn]: Wrong Page encoding | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11709@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68516&edit=1
ID: 68516
Updated by: sobak@php.net
Reported by: ti dot rcampanari at gmail dot com
Summary: Wrong Page encoding
Status: Open
Type: Documentation Problem
-Package: Documentation problem
+Package: Translation problem
PHP Version: 5.6.3
Block user comment: N
Private report: N
New Comment:
Thanks for your report. However, example in English version is different than you quoted. Did you
mean any translation (this code seems to be very old - it uses split())? If so, please specify
language version. Currently, I've categorized this bug as "translation problem".
Previous Comments:
------------------------------------------------------------------------
[2014-11-27 11:48:18] ti dot rcampanari at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.urldecode
---
1. <?php
2. $a = split ('&', $querystring);
3. $i = 0;
4. while ($i < count ($a)) {
5. $b = split ('=', $a [$i]);
6. echo 'Value for parameter ', htmlspecialchars (urldecode ($b [0])),
7. ' is ', htmlspecialchars (urldecode ($b [1])), "<BR>";
8. $i++;
9. }
10. ?>
On line [4], '<' should be '<'
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68516&edit=1