Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

#33157 [Opn->Ana]: Missing htmlspecialchars_decode
ID:               33157
Updated by:       iliaa@php.net
Reported By:      mjs15451 at hotmail dot com
-Status:           Open
+Status:           Analyzed
-Bug Type:         *General Issues
+Bug Type:         Livedocs problem
Operating System: Linux 2.6.10
PHP Version:      5.0.4
New Comment:

Documentation is wrong, this function is found in PHP 5.1 only


Previous Comments:
------------------------------------------------------------------------

[2005-05-27 01:57:06] mjs15451 at hotmail dot com

Description:
------------
htmlspecialchars_decode() is missing.

Reproduce code:
---------------
echo htmlspecialchars_decode("asdf<>");

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/functi...hars-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 this bug report at http://bugs.php.net/?id=33157&edit=1

Report this thread to moderator Post Follow-up to this message
Old Post
iliaa@php.net
05-27-05 08:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Documentation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:27 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.