ID: 11453
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Old-Bug Type: Gettext related
Bug Type: Documentation problem
Operating system: 
PHP Version: 4.0 Latest CVS (2001-06-12)
Assigned To: 
Comments:

The documentation is wrong. You need to use this:

textdomain(NULL);

Fixed in CVS of the documentation.

--Jani


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

[2001-06-12 22:29:00] [EMAIL PROTECTED]
Release:
php4win.de: php-4.0.7-dev-20010611.exe
Documentation:
Call textdomain() with no parameters to get the current setting without changing it. 
Code:
print("<br>Text domain: " . textdomain());
Result:
Warning: Wrong parameter count for textdomain()

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11453&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to