#33157 [NEW]: Missing htmlspecialchars_decode

From: Date: Thu, 26 May 2005 23:57:07 +0000
Subject: #33157 [NEW]: Missing htmlspecialchars_decode
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79582@lists.php.net to get a copy of this message
From: mjs15451 at hotmail dot com Operating system: Linux 2.6.10 PHP version: 5.0.4 PHP Bug Type: *General Issues Bug description: Missing htmlspecialchars_decode Description: ------------ htmlspecialchars_decode() is missing. Reproduce code: --------------- echo htmlspecialchars_decode("asdf&lt;&gt;"); Expected result: ---------------- Should output: asdf<> Actual result: -------------- Fatal error: Call to undefined function htmlspecialchars_decode() I double checked my php version and I am definitely running php 5.0.4 and according to the docs this function should be available in PHP 5. http://us2.php.net/manual/en/function.htmlspecialchars-decode.php I did the usual configure, make, make install. ./configure --prefix=/usr/lib/php --with-apxs2=/usr/sbin/apxs2 --with-openssl --with-zlib --enable-dio --with-bz2 --enable-calendar --enable-bcmath --with-curl=/usr/include/curl --enable-exif --enable-filepro --enable-ftp --with-ttf --enable-mbstring --enable-zend-multibyte --without-mysql --with-mysqli=/usr/lib/mysql/bin/mysql_config --with-mysql-sock=/var/run/mysqld/mysql.sock --enable-sockets --enable-sqllite-utf8 --enable-wddx --with-gettext=/usr/lib/gettext --with-imagick=/usr --with-mcrypt --with-mhash --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-zlib-dir --with-libxml-dir make make install -- Edit bug report at http://bugs.php.net/?id=33157&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33157&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33157&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33157&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33157&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33157&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33157&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33157&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33157&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33157&r=support Expected behavior: http://bugs.php.net/fix.php?id=33157&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33157&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33157&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33157&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33157&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33157&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33157&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33157&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33157&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33157&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33157&r=mysqlcfg

« previous php.bugs (#79582) next »