cvs: php4 /ext/standard/tests/strings htmlentities.phpt /tests/strings 003.phpt
| From: | Moriyoshi Koizumi | Date: | Thu, 31 Oct 2002 15:28:21 +0000 |
| Subject: | cvs: php4 /ext/standard/tests/strings htmlentities.phpt /tests/strings 003.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15679@lists.php.net to get a copy of this message | ||
moriyoshi Thu Oct 31 10:28:21 2002 EDT
Added files:
/php4/ext/standard/tests/strings htmlentities.phpt
Removed files:
/php4/tests/strings 003.phpt
Log:
Moved the test into the suitable place
Index: php4/ext/standard/tests/strings/htmlentities.phpt
+++ php4/ext/standard/tests/strings/htmlentities.phpt
--TEST--
HTML entities
--POST--
--GET--
--FILE--
<?php
setlocale (LC_CTYPE, "C");
$sc_encoded = htmlspecialchars ("<>\"&åÄ\n");
echo $sc_encoded;
$ent_encoded = htmlentities ("<>\"&åÄ\n");
echo $ent_encoded;
echo html_entity_decode($sc_encoded);
echo html_entity_decode($ent_encoded);
?>
--EXPECT--
<>"&åÄ
<>"&åÄ
<>"&åÄ
<>"&åÄ