cvs: pear /PHP_Compat/tests html-entity-decode_simple.phpt

From: Date: Sun, 13 Jun 2004 14:08:10 +0000
Subject: cvs: pear /PHP_Compat/tests html-entity-decode_simple.phpt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-20593@lists.php.net to get a copy of this message
aidan Sun Jun 13 10:08:10 2004 EDT Added files: /pear/PHP_Compat/tests html-entity-decode_simple.phpt Log: Initial commit http://cvs.php.net/co.php/pear/PHP_Compat/tests/html-entity-decode_simple.phpt?r=1.1&p=1 Index: pear/PHP_Compat/tests/html-entity-decode_simple.phpt +++ pear/PHP_Compat/tests/html-entity-decode_simple.phpt --TEST-- Function -- html_entity_decode -- simple --SKIPIF-- <?php if (function_exists('html_entity_decode')) { echo 'skip'; } ?> --FILE-- <?php require_once ('PHP/Compat.php'); PHP_Compat::loadFunction('html_entity_decode'); $values = array (2, 'car'); $string = "I'll &quot;walk&quot; the &lt;b&gt;dog&lt;/b&gt; now"; echo html_entity_decode($string); ?> --EXPECT-- I'll "walk" the <b>dog</b> now

« previous php.pear.cvs (#20593) next »