Project

General

Profile

Actions

Bug #14998

closed

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

Added by Eloy Lafuente over 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-10-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Martin Kutschker over 18 years ago

Fixed in CVS.

Actions

Also available in: Atom PDF