[PHP-DEV] Bug #11453 Updated: textdomain() requires parameter From: sniper <email protected>
Date: 06/13/01

ID: 11453
Updated by: sniper
Reported By: peter <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] peter <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: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>