Bug #11453 Updated: textdomain() requires parameter

From: Date: Wed, 13 Jun 2001 15:49:04 +0000
Subject: Bug #11453 Updated: textdomain() requires parameter
Groups: php.dev 
Request: Send a blank email to php-dev+get-56846@lists.php.net to get a copy of this message
ID: 11453 Updated by: sniper Reported By: peter@petermoulding.com 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@petermoulding.com 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

« previous php.dev (#56846) next »