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

Valgrind Report for ext/spl/tests/iterator_048.phpt ('SPL: RecursiveRegexIterator and exception in has/getChildren')

Script

1: <?php
2:
3:
class MyRecursiveRegexIterator extends RecursiveRegexIterator
4:
{
5:     function 
show()
6:     {
7:         foreach(new 
RecursiveIteratorIterator($this) as $k => $v)
8:         {
9:             
var_dump($k);
10:             
var_dump($v);
11:         }
12:     }
13: }
14:
15:
$ar = new RecursiveArrayIterator(array('Foo', array('Bar'), 'FooBar', array('Baz'), 'Biz'));
16:
$it = new MyRecursiveRegexIterator($ar'/Bar/');
17:
18:
$it->show();
19:
20:
?>
21:
===DONE===
22:

Report

==15693== Conditional jump or move depends on uninitialised value(s)
==15693==    at 0x4131092: ???
==15693==    by 0x14F2B7C7: ???
==15693==    by 0x14F2B7C7: ???
==15693==    by 0x14F2B7CA: ???
==15693== 

 

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

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