PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/pcre/tests/bug52971.phpt ('Bug #52971 (PCRE-Meta-Characters not working with utf-8)')

Script

1: <?php
2:
3: $message 
'Der ist ein Süßwasserpool Süsswasserpool ... verschiedene Wassersportmöglichkeiten bei ...';
4:
5:
$pattern '/\bwasser/iu';
6:
preg_match_all($pattern$message$matchPREG_OFFSET_CAPTURE);
7:
var_dump($match);
8:
9:
$pattern '/[^\w]wasser/iu';
10:
preg_match_all($pattern$message$matchPREG_OFFSET_CAPTURE);
11:
var_dump($match);
12:
13:
?>
14:

Report

==29086== Conditional jump or move depends on uninitialised value(s)
==29086==    at 0x41310E3: ???
==29086==    by 0x14F2B28A: ???
==29086==    by 0x14F2B247: ???
==29086==    by 0x14F2B2A5: ???
==29086==    by 0x1FFEFFBFAF: ???
==29086==    by 0x14F2B246: ???
==29086== 

 

Generated at Sat, 09 Sep 2017 03:10:54 +0000 (14 days ago)

Copyright © 2005-2017 The PHP Group
All rights reserved.