php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29414 Fatal error: Call to undefined function textdomain()
Submitted: 2004-07-27 21:40 UTC Modified: 2004-07-30 00:28 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: f dot braem at skynet dot be Assigned:
Status: Closed Package: Gettext related
PHP Version: 5.0.0 OS: Win98
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 - 31 = ?
Subscribe to this entry?

 
 [2004-07-27 21:40 UTC] f dot braem at skynet dot be
Description:
------------
Although php_gettext.dll is loaded a fatal error occurs when using the function textdomain:

Fatal error: Call to undefined function textdomain()


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-29 10:35 UTC] tony2001@php.net
Why do you think, that php_gettext.dll is loaded?
What does get_extension_funcs('gettext'); say?

 [2004-07-29 19:59 UTC] f dot braem at skynet dot be
I've used the following script:

<?php
echo '<pre>';
print_r(get_loaded_extensions());
echo '</pre>';
echo '<br />------------------<br />';
echo '<pre>';
print_r(get_extension_funcs('gettext'));
echo '</pre>';
?>

This is the result of the script:

Array
(
    [0] => bcmath
    [1] => calendar
    [2] => com_dotnet
    [3] => ctype
    [4] => ftp
    [5] => iconv
    [6] => libxml
    [7] => odbc
    [8] => pcre
    [9] => session
    [10] => SPL
    [11] => SQLite
    [12] => standard
    [13] => tokenizer
    [14] => zlib
    [15] => dom
    [16] => SimpleXML
    [17] => wddx
    [18] => xml
    [19] => apache2handler
    [20] => gd
    [21] => gettext
    [22] => ming
    [23] => mssql
    [24] => mysql
    [25] => openssl
    [26] => pdf
    [27] => xsl
    [28] => zip
    [29] => Zend Optimizer
)

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


Array
(
    [0] => libintl_textdomain
    [1] => libintl_gettext
    [2] => _
    [3] => libintl_dgettext
    [4] => libintl_dcgettext
    [5] => libintl_bindtextdomain
    [6] => libintl_ngettext
    [7] => libintl_dngettext
    [8] => libintl_bind_textdomain_codeset
)

It seems that there is something wrong with the names of functions.
 [2004-07-30 00:28 UTC] edink@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 25 14:01:32 2024 UTC