Edit report at https://bugs.php.net/bug.php?id=60963&edit=1
ID: 60963 Updated by: paj...@php.net Reported by: bugzilla33 at gmail dot com Summary: undefined normalizer_normalize -Status: Open +Status: Feedback Type: Bug Package: Unknown/Other Function Operating System: win 7 PHP Version: 5.4.0RC6 Block user comment: N Private report: N New Comment: Are you sure the intl extension is actually loaded? It works just fine (RC7 here but worked with RC6 too): c:\test\540rc7nts>php -n -d extension_dir=ext -d extension=php_intl.dll --rf normalizer_normalize Function [ <internal:intl> function normalizer_normalize ] { - Parameters [2] { Parameter #0 [ <required> $input ] Parameter #1 [ <optional> $form ] } } c:\test\540rc7nts>php -n -d extension_dir=ext -d extension=php_intl.dll - r"normalizer_normalize();" Warning: normalizer_normalize() expects at least 1 parameter, 0 given in Command line code on line 1 Previous Comments: ------------------------------------------------------------------------ [2012-02-03 07:54:59] bugzilla33 at gmail dot com Description: ------------ Description: ------------ 1. use Apache 2.2.21 VC9 2. download http://windows.php.net/downloads/qa/php-5.4.0RC7-Win32-VC9-x86.zip 3. unpack to c:\php5\ 4. rename php.ini-development -> php.ini 5. change php.ini: extension_dir = "c:\php5\ext" extension=php_intl.dll 6. restart apache 7. run any script Test script: --------------- <?php print(normalizer_normalize('test')); ?> Expected result: ---------------- test Actual result: -------------- Fatal error: Call to undefined function normalizer_normalize() in C:\htdocs\test.pl\1.php on line 2 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60963&edit=1