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

Valgrind Report for ext/mbstring/tests/zend_multibyte-07.phpt ('zend multibyte (7)')

Script

1: <?php
2:
declare(encoding="UTF-8");
3:
var_dump(bin2hex("ใƒ†ใ‚นใƒˆ"));
4:
?>
5:

Report

==27839== Conditional jump or move depends on uninitialised value(s)
==27839==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==27839==    by 0xDC09E0: lex_scan (zend_language_scanner.l:1815)
==27839==    by 0xE1D0CD: zendlex (zend_compile.c:6761)
==27839==    by 0xDB14A0: zendparse (zend_language_parser.c:3446)
==27839==    by 0xDBEA6B: compile_file (zend_language_scanner.l:588)
==27839==    by 0xA28E4A: phar_compile_file (phar.c:3383)
==27839==    by 0xE47015: zend_execute_scripts (zend.c:1322)
==27839==    by 0xD6A0DC: php_execute_script (main.c:2506)
==27839==    by 0x102B745: do_cli (php_cli.c:994)
==27839==    by 0x102CEF2: main (php_cli.c:1378)
==27839== 
==27839== Conditional jump or move depends on uninitialised value(s)
==27839==    at 0xDC0D99: lex_scan (zend_language_scanner.l:1863)
==27839==    by 0xE1D0CD: zendlex (zend_compile.c:6761)
==27839==    by 0xDB14A0: zendparse (zend_language_parser.c:3446)
==27839==    by 0xDBEA6B: compile_file (zend_language_scanner.l:588)
==27839==    by 0xA28E4A: phar_compile_file (phar.c:3383)
==27839==    by 0xE47015: zend_execute_scripts (zend.c:1322)
==27839==    by 0xD6A0DC: php_execute_script (main.c:2506)
==27839==    by 0x102B745: do_cli (php_cli.c:994)
==27839==    by 0x102CEF2: main (php_cli.c:1378)
==27839== 
==27839== Conditional jump or move depends on uninitialised value(s)
==27839==    at 0xDC0DB9: lex_scan (zend_language_scanner.l:1863)
==27839==    by 0xE1D0CD: zendlex (zend_compile.c:6761)
==27839==    by 0xDB14A0: zendparse (zend_language_parser.c:3446)
==27839==    by 0xDBEA6B: compile_file (zend_language_scanner.l:588)
==27839==    by 0xA28E4A: phar_compile_file (phar.c:3383)
==27839==    by 0xE47015: zend_execute_scripts (zend.c:1322)
==27839==    by 0xD6A0DC: php_execute_script (main.c:2506)
==27839==    by 0x102B745: do_cli (php_cli.c:994)
==27839==    by 0x102CEF2: main (php_cli.c:1378)
==27839== 
==27839== Use of uninitialised value of size 8
==27839==    at 0xE8B73D: zend_new_interned_string_int (zend_string.c:95)
==27839==    by 0xDF4A10: zend_insert_literal (zend_compile.c:339)
==27839==    by 0xDF4C4C: zend_add_literal (zend_compile.c:362)
==27839==    by 0xDF980E: zend_do_echo (zend_compile.c:869)
==27839==    by 0xDB257D: zendparse (zend_language_parser.y:309)
==27839==    by 0xDBEA6B: compile_file (zend_language_scanner.l:588)
==27839==    by 0xA28E4A: phar_compile_file (phar.c:3383)
==27839==    by 0xE47015: zend_execute_scripts (zend.c:1322)
==27839==    by 0xD6A0DC: php_execute_script (main.c:2506)
==27839==    by 0x102B745: do_cli (php_cli.c:994)
==27839==    by 0x102CEF2: main (php_cli.c:1378)
==27839== 
==27839== Use of uninitialised value of size 8
==27839==    at 0xE8B965: zend_new_interned_string_int (zend_string.c:131)
==27839==    by 0xDF4A10: zend_insert_literal (zend_compile.c:339)
==27839==    by 0xDF4C4C: zend_add_literal (zend_compile.c:362)
==27839==    by 0xDF980E: zend_do_echo (zend_compile.c:869)
==27839==    by 0xDB257D: zendparse (zend_language_parser.y:309)
==27839==    by 0xDBEA6B: compile_file (zend_language_scanner.l:588)
==27839==    by 0xA28E4A: phar_compile_file (phar.c:3383)
==27839==    by 0xE47015: zend_execute_scripts (zend.c:1322)
==27839==    by 0xD6A0DC: php_execute_script (main.c:2506)
==27839==    by 0x102B745: do_cli (php_cli.c:994)
==27839==    by 0x102CEF2: main (php_cli.c:1378)
==27839== 
==27839== Use of uninitialised value of size 8
==27839==    at 0xE8BAA1: zend_new_interned_string_int (zend_string.c:149)
==27839==    by 0xDF4A10: zend_insert_literal (zend_compile.c:339)
==27839==    by 0xDF4C4C: zend_add_literal (zend_compile.c:362)
==27839==    by 0xDF980E: zend_do_echo (zend_compile.c:869)
==27839==    by 0xDB257D: zendparse (zend_language_parser.y:309)
==27839==    by 0xDBEA6B: compile_file (zend_language_scanner.l:588)
==27839==    by 0xA28E4A: phar_compile_file (phar.c:3383)
==27839==    by 0xE47015: zend_execute_scripts (zend.c:1322)
==27839==    by 0xD6A0DC: php_execute_script (main.c:2506)
==27839==    by 0x102B745: do_cli (php_cli.c:994)
==27839==    by 0x102CEF2: main (php_cli.c:1378)
==27839== 
==27839== Conditional jump or move depends on uninitialised value(s)
==27839==    at 0xDC0876: lex_scan (zend_language_scanner.c:1091)
==27839==    by 0xE1D0CD: zendlex (zend_compile.c:6761)
==27839==    by 0xDB14A0: zendparse (zend_language_parser.c:3446)
==27839==    by 0xDBEA6B: compile_file (zend_language_scanner.l:588)
==27839==    by 0xA28E4A: phar_compile_file (phar.c:3383)
==27839==    by 0xE47015: zend_execute_scripts (zend.c:1322)
==27839==    by 0xD6A0DC: php_execute_script (main.c:2506)
==27839==    by 0x102B745: do_cli (php_cli.c:994)
==27839==    by 0x102CEF2: main (php_cli.c:1378)
==27839== 
==27839== Syscall param write(buf) points to uninitialised byte(s)
==27839==    at 0xD22F490: __write_nocancel (in /lib64/libc-2.12.so)
==27839==    by 0x102904A: sapi_cli_single_write (php_cli.c:273)
==27839==    by 0x10291D7: sapi_cli_ub_write (php_cli.c:308)
==27839==    by 0xD8E522: php_output_op (output.c:1093)
==27839==    by 0xD8B426: php_output_write (output.c:269)
==27839==    by 0xD68466: php_output_wrapper (main.c:1868)
==27839==    by 0xE43B02: zend_print_zval_ex (zend.c:331)
==27839==    by 0xE439E0: zend_print_zval (zend.c:312)
==27839==    by 0xE41FC5: zend_print_variable (zend_variables.c:155)
==27839==    by 0xEB4D93: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2141)
==27839==    by 0xEA9FC8: execute_ex (zend_vm_execute.h:363)
==27839==    by 0xEAAB5A: zend_execute (zend_vm_execute.h:388)
==27839==  Address 0x141ca7f4 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==27839==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==27839==    by 0xE8B4B1: zend_interned_strings_init (zend_string.c:48)
==27839==    by 0xE44C43: zend_startup (zend.c:744)
==27839==    by 0xD68957: php_module_startup (main.c:2055)
==27839==    by 0x10297B2: php_cli_startup (php_cli.c:417)
==27839==    by 0x102CDF9: main (php_cli.c:1358)
==27839== 

 

Generated at Sat, 18 Oct 2014 06:38:44 +0000 (2 days ago)

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