|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-01-19 17:12 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 22:00:01 2025 UTC |
Description: ------------ we have a probleme on production server with php 5.2.6 And the server administrator want to update on the 5.2.8 only if this bug is resolve in this version. Sometimes, substr don't work and sometimes it does The bug come only when there ist a specialchar like é or è. we work in iso. it is a production server with many client, so the administrator will not use the cvs version. Thanks Reproduce code: --------------- <?php echo htmlentities(substr(html_entity_decode("éabcde"),0,3))."<br>"; ?> Expected result: ---------------- éab Actual result: -------------- sometimes : éab sometimes : éabcde