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/dit_001.phpt ('SPL: Problem with casting to string')

Script

1: <?php
2: $d 
= new DirectoryIterator('.');
3:
var_dump($d);
4:
var_dump(is_string($d));
5:
preg_match('/x/'$d);
6:
var_dump(is_string($d));
7:
?>
8:
===DONE===
9:

Report

==15258== Conditional jump or move depends on uninitialised value(s)
==15258==    at 0x41310AF: ???
==15258==    by 0x14F36C77: ???
==15258==    by 0x14F36C77: ???
==15258==    by 0x14F36C81: ???
==15258==    by 0x1FFEFFBFBF: ???
==15258== 

 

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

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