Issue Bug Closed

#14998Bad usage of mb_strpos() in the utf8_strpos() function

Eloy Lafuente 10/02/05, 00:26 updated 08/12/06, 14:24

Description

Hi,

under PHP5 (not reproducible with PHP4), I get this warning:

Warning: mb_strpos() expects parameter 3 to be long, string given in cvs_moodle/contrib/testutf/typo3/class.t3lib_cs.php on line 1700

It seems that the parameters passed don’t match with the function specification (offset is missing)
(http://php.morva.net/manual/en/function.mb-strpos.php)

I’m a Moodle developer and we are testing your charset library to use it to perform our transition to UFT-8. Cheers and thanks by it!

Ciao, Eloy :-)
(issue imported from #M1516)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.