[Bug 338720] [NEW] Function lookup problem after calling setlocale(LC_ALL, "tr_TR")
cankoy
cankoy at ymail.com
Fri Mar 6 12:19:11 GMT 2009
Public bug reported:
Binary package hint: php5-cli
Ubuntu 8.10
php5-cli:
Installed: 5.2.6-2ubuntu4.1
Candidate: 5.2.6-2ubuntu4.1
Version table:
*** 5.2.6-2ubuntu4.1 0
500 http://tr.archive.ubuntu.com intrepid-updates/main Packages
500 http://security.ubuntu.com intrepid-security/main Packages
100 /var/lib/dpkg/status
5.2.6-2ubuntu4 0
500 http://tr.archive.ubuntu.com intrepid/main Packages
Bug Details:
<?php
echo setlocale(LC_ALL, 'tr_TR')."\n";
HI5();
function HI5() { echo "Five!\n";}
?>
outputs the following:
---
tr_TR
Fatal error: Call to undefined function HI5() in...
---
Notes:
1. Make sure you have tr_TR locale installed, i.e. check the output of first echo statement.
2. The locale before executing the script must be different from tr_TR to repeat this case, e.g. en_US.utf-8
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
--
Function lookup problem after calling setlocale(LC_ALL, "tr_TR")
https://bugs.launchpad.net/bugs/338720
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list