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

==19289== Conditional jump or move depends on uninitialised value(s)
==19289==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==19289==    by 0xDC0A4C: lex_scan (zend_language_scanner.l:1815)
==19289==    by 0xE1D139: zendlex (zend_compile.c:6761)
==19289==    by 0xDB150C: zendparse (zend_language_parser.c:3446)
==19289==    by 0xDBEAD7: compile_file (zend_language_scanner.l:588)
==19289==    by 0xA28DA7: phar_compile_file (phar.c:3384)
==19289==    by 0xE46F6D: zend_execute_scripts (zend.c:1322)
==19289==    by 0xD6A0EC: php_execute_script (main.c:2506)
==19289==    by 0x102B69D: do_cli (php_cli.c:994)
==19289==    by 0x102CE4A: main (php_cli.c:1378)
==19289== 
==19289== Conditional jump or move depends on uninitialised value(s)
==19289==    at 0xDC0E05: lex_scan (zend_language_scanner.l:1863)
==19289==    by 0xE1D139: zendlex (zend_compile.c:6761)
==19289==    by 0xDB150C: zendparse (zend_language_parser.c:3446)
==19289==    by 0xDBEAD7: compile_file (zend_language_scanner.l:588)
==19289==    by 0xA28DA7: phar_compile_file (phar.c:3384)
==19289==    by 0xE46F6D: zend_execute_scripts (zend.c:1322)
==19289==    by 0xD6A0EC: php_execute_script (main.c:2506)
==19289==    by 0x102B69D: do_cli (php_cli.c:994)
==19289==    by 0x102CE4A: main (php_cli.c:1378)
==19289== 
==19289== Conditional jump or move depends on uninitialised value(s)
==19289==    at 0xDC0E25: lex_scan (zend_language_scanner.l:1863)
==19289==    by 0xE1D139: zendlex (zend_compile.c:6761)
==19289==    by 0xDB150C: zendparse (zend_language_parser.c:3446)
==19289==    by 0xDBEAD7: compile_file (zend_language_scanner.l:588)
==19289==    by 0xA28DA7: phar_compile_file (phar.c:3384)
==19289==    by 0xE46F6D: zend_execute_scripts (zend.c:1322)
==19289==    by 0xD6A0EC: php_execute_script (main.c:2506)
==19289==    by 0x102B69D: do_cli (php_cli.c:994)
==19289==    by 0x102CE4A: main (php_cli.c:1378)
==19289== 
==19289== Use of uninitialised value of size 8
==19289==    at 0xE8B695: zend_new_interned_string_int (zend_string.c:95)
==19289==    by 0xDF4A7C: zend_insert_literal (zend_compile.c:339)
==19289==    by 0xDF4CB8: zend_add_literal (zend_compile.c:362)
==19289==    by 0xDF987A: zend_do_echo (zend_compile.c:869)
==19289==    by 0xDB25E9: zendparse (zend_language_parser.y:309)
==19289==    by 0xDBEAD7: compile_file (zend_language_scanner.l:588)
==19289==    by 0xA28DA7: phar_compile_file (phar.c:3384)
==19289==    by 0xE46F6D: zend_execute_scripts (zend.c:1322)
==19289==    by 0xD6A0EC: php_execute_script (main.c:2506)
==19289==    by 0x102B69D: do_cli (php_cli.c:994)
==19289==    by 0x102CE4A: main (php_cli.c:1378)
==19289== 
==19289== Use of uninitialised value of size 8
==19289==    at 0xE8B8BD: zend_new_interned_string_int (zend_string.c:131)
==19289==    by 0xDF4A7C: zend_insert_literal (zend_compile.c:339)
==19289==    by 0xDF4CB8: zend_add_literal (zend_compile.c:362)
==19289==    by 0xDF987A: zend_do_echo (zend_compile.c:869)
==19289==    by 0xDB25E9: zendparse (zend_language_parser.y:309)
==19289==    by 0xDBEAD7: compile_file (zend_language_scanner.l:588)
==19289==    by 0xA28DA7: phar_compile_file (phar.c:3384)
==19289==    by 0xE46F6D: zend_execute_scripts (zend.c:1322)
==19289==    by 0xD6A0EC: php_execute_script (main.c:2506)
==19289==    by 0x102B69D: do_cli (php_cli.c:994)
==19289==    by 0x102CE4A: main (php_cli.c:1378)
==19289== 
==19289== Use of uninitialised value of size 8
==19289==    at 0xE8B9F9: zend_new_interned_string_int (zend_string.c:149)
==19289==    by 0xDF4A7C: zend_insert_literal (zend_compile.c:339)
==19289==    by 0xDF4CB8: zend_add_literal (zend_compile.c:362)
==19289==    by 0xDF987A: zend_do_echo (zend_compile.c:869)
==19289==    by 0xDB25E9: zendparse (zend_language_parser.y:309)
==19289==    by 0xDBEAD7: compile_file (zend_language_scanner.l:588)
==19289==    by 0xA28DA7: phar_compile_file (phar.c:3384)
==19289==    by 0xE46F6D: zend_execute_scripts (zend.c:1322)
==19289==    by 0xD6A0EC: php_execute_script (main.c:2506)
==19289==    by 0x102B69D: do_cli (php_cli.c:994)
==19289==    by 0x102CE4A: main (php_cli.c:1378)
==19289== 
==19289== Conditional jump or move depends on uninitialised value(s)
==19289==    at 0xDC08E2: lex_scan (zend_language_scanner.c:1091)
==19289==    by 0xE1D139: zendlex (zend_compile.c:6761)
==19289==    by 0xDB150C: zendparse (zend_language_parser.c:3446)
==19289==    by 0xDBEAD7: compile_file (zend_language_scanner.l:588)
==19289==    by 0xA28DA7: phar_compile_file (phar.c:3384)
==19289==    by 0xE46F6D: zend_execute_scripts (zend.c:1322)
==19289==    by 0xD6A0EC: php_execute_script (main.c:2506)
==19289==    by 0x102B69D: do_cli (php_cli.c:994)
==19289==    by 0x102CE4A: main (php_cli.c:1378)
==19289== 
==19289== Syscall param write(buf) points to uninitialised byte(s)
==19289==    at 0xD235600: __write_nocancel (in /lib64/libc-2.12.so)
==19289==    by 0x1028FA2: sapi_cli_single_write (php_cli.c:273)
==19289==    by 0x102912F: sapi_cli_ub_write (php_cli.c:308)
==19289==    by 0xD8E532: php_output_op (output.c:1093)
==19289==    by 0xD8B436: php_output_write (output.c:269)
==19289==    by 0xD68476: php_output_wrapper (main.c:1868)
==19289==    by 0xE43A5A: zend_print_zval_ex (zend.c:331)
==19289==    by 0xE43938: zend_print_zval (zend.c:312)
==19289==    by 0xE41F1D: zend_print_variable (zend_variables.c:155)
==19289==    by 0xEB4CEB: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2141)
==19289==    by 0xEA9F20: execute_ex (zend_vm_execute.h:363)
==19289==    by 0xEAAAB2: zend_execute (zend_vm_execute.h:388)
==19289==  Address 0x1463dc94 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==19289==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==19289==    by 0xE8B409: zend_interned_strings_init (zend_string.c:48)
==19289==    by 0xE44B9B: zend_startup (zend.c:744)
==19289==    by 0xD68967: php_module_startup (main.c:2055)
==19289==    by 0x102970A: php_cli_startup (php_cli.c:417)
==19289==    by 0x102CD51: main (php_cli.c:1358)
==19289== 

 

Generated at Thu, 27 Nov 2014 23:16:49 +0000 (3 hours ago)

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