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

==2246== Conditional jump or move depends on uninitialised value(s)
==2246==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==2246==    by 0xDC09F0: lex_scan (zend_language_scanner.l:1815)
==2246==    by 0xE1D0DD: zendlex (zend_compile.c:6761)
==2246==    by 0xDB14B0: zendparse (zend_language_parser.c:3446)
==2246==    by 0xDBEA7B: compile_file (zend_language_scanner.l:588)
==2246==    by 0xA28E5B: phar_compile_file (phar.c:3384)
==2246==    by 0xE47025: zend_execute_scripts (zend.c:1322)
==2246==    by 0xD6A0EC: php_execute_script (main.c:2506)
==2246==    by 0x102B755: do_cli (php_cli.c:994)
==2246==    by 0x102CF02: main (php_cli.c:1378)
==2246== 
==2246== Conditional jump or move depends on uninitialised value(s)
==2246==    at 0xDC0DA9: lex_scan (zend_language_scanner.l:1863)
==2246==    by 0xE1D0DD: zendlex (zend_compile.c:6761)
==2246==    by 0xDB14B0: zendparse (zend_language_parser.c:3446)
==2246==    by 0xDBEA7B: compile_file (zend_language_scanner.l:588)
==2246==    by 0xA28E5B: phar_compile_file (phar.c:3384)
==2246==    by 0xE47025: zend_execute_scripts (zend.c:1322)
==2246==    by 0xD6A0EC: php_execute_script (main.c:2506)
==2246==    by 0x102B755: do_cli (php_cli.c:994)
==2246==    by 0x102CF02: main (php_cli.c:1378)
==2246== 
==2246== Conditional jump or move depends on uninitialised value(s)
==2246==    at 0xDC0DC9: lex_scan (zend_language_scanner.l:1863)
==2246==    by 0xE1D0DD: zendlex (zend_compile.c:6761)
==2246==    by 0xDB14B0: zendparse (zend_language_parser.c:3446)
==2246==    by 0xDBEA7B: compile_file (zend_language_scanner.l:588)
==2246==    by 0xA28E5B: phar_compile_file (phar.c:3384)
==2246==    by 0xE47025: zend_execute_scripts (zend.c:1322)
==2246==    by 0xD6A0EC: php_execute_script (main.c:2506)
==2246==    by 0x102B755: do_cli (php_cli.c:994)
==2246==    by 0x102CF02: main (php_cli.c:1378)
==2246== 
==2246== Use of uninitialised value of size 8
==2246==    at 0xE8B74D: zend_new_interned_string_int (zend_string.c:95)
==2246==    by 0xDF4A20: zend_insert_literal (zend_compile.c:339)
==2246==    by 0xDF4C5C: zend_add_literal (zend_compile.c:362)
==2246==    by 0xDF981E: zend_do_echo (zend_compile.c:869)
==2246==    by 0xDB258D: zendparse (zend_language_parser.y:309)
==2246==    by 0xDBEA7B: compile_file (zend_language_scanner.l:588)
==2246==    by 0xA28E5B: phar_compile_file (phar.c:3384)
==2246==    by 0xE47025: zend_execute_scripts (zend.c:1322)
==2246==    by 0xD6A0EC: php_execute_script (main.c:2506)
==2246==    by 0x102B755: do_cli (php_cli.c:994)
==2246==    by 0x102CF02: main (php_cli.c:1378)
==2246== 
==2246== Use of uninitialised value of size 8
==2246==    at 0xE8B975: zend_new_interned_string_int (zend_string.c:131)
==2246==    by 0xDF4A20: zend_insert_literal (zend_compile.c:339)
==2246==    by 0xDF4C5C: zend_add_literal (zend_compile.c:362)
==2246==    by 0xDF981E: zend_do_echo (zend_compile.c:869)
==2246==    by 0xDB258D: zendparse (zend_language_parser.y:309)
==2246==    by 0xDBEA7B: compile_file (zend_language_scanner.l:588)
==2246==    by 0xA28E5B: phar_compile_file (phar.c:3384)
==2246==    by 0xE47025: zend_execute_scripts (zend.c:1322)
==2246==    by 0xD6A0EC: php_execute_script (main.c:2506)
==2246==    by 0x102B755: do_cli (php_cli.c:994)
==2246==    by 0x102CF02: main (php_cli.c:1378)
==2246== 
==2246== Use of uninitialised value of size 8
==2246==    at 0xE8BAB1: zend_new_interned_string_int (zend_string.c:149)
==2246==    by 0xDF4A20: zend_insert_literal (zend_compile.c:339)
==2246==    by 0xDF4C5C: zend_add_literal (zend_compile.c:362)
==2246==    by 0xDF981E: zend_do_echo (zend_compile.c:869)
==2246==    by 0xDB258D: zendparse (zend_language_parser.y:309)
==2246==    by 0xDBEA7B: compile_file (zend_language_scanner.l:588)
==2246==    by 0xA28E5B: phar_compile_file (phar.c:3384)
==2246==    by 0xE47025: zend_execute_scripts (zend.c:1322)
==2246==    by 0xD6A0EC: php_execute_script (main.c:2506)
==2246==    by 0x102B755: do_cli (php_cli.c:994)
==2246==    by 0x102CF02: main (php_cli.c:1378)
==2246== 
==2246== Conditional jump or move depends on uninitialised value(s)
==2246==    at 0xDC0886: lex_scan (zend_language_scanner.c:1091)
==2246==    by 0xE1D0DD: zendlex (zend_compile.c:6761)
==2246==    by 0xDB14B0: zendparse (zend_language_parser.c:3446)
==2246==    by 0xDBEA7B: compile_file (zend_language_scanner.l:588)
==2246==    by 0xA28E5B: phar_compile_file (phar.c:3384)
==2246==    by 0xE47025: zend_execute_scripts (zend.c:1322)
==2246==    by 0xD6A0EC: php_execute_script (main.c:2506)
==2246==    by 0x102B755: do_cli (php_cli.c:994)
==2246==    by 0x102CF02: main (php_cli.c:1378)
==2246== 
==2246== Syscall param write(buf) points to uninitialised byte(s)
==2246==    at 0xD232490: __write_nocancel (in /lib64/libc-2.12.so)
==2246==    by 0x102905A: sapi_cli_single_write (php_cli.c:273)
==2246==    by 0x10291E7: sapi_cli_ub_write (php_cli.c:308)
==2246==    by 0xD8E532: php_output_op (output.c:1093)
==2246==    by 0xD8B436: php_output_write (output.c:269)
==2246==    by 0xD68476: php_output_wrapper (main.c:1868)
==2246==    by 0xE43B12: zend_print_zval_ex (zend.c:331)
==2246==    by 0xE439F0: zend_print_zval (zend.c:312)
==2246==    by 0xE41FD5: zend_print_variable (zend_variables.c:155)
==2246==    by 0xEB4DA3: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2141)
==2246==    by 0xEA9FD8: execute_ex (zend_vm_execute.h:363)
==2246==    by 0xEAAB6A: zend_execute (zend_vm_execute.h:388)
==2246==  Address 0x141cd7f4 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==2246==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==2246==    by 0xE8B4C1: zend_interned_strings_init (zend_string.c:48)
==2246==    by 0xE44C53: zend_startup (zend.c:744)
==2246==    by 0xD68967: php_module_startup (main.c:2055)
==2246==    by 0x10297C2: php_cli_startup (php_cli.c:417)
==2246==    by 0x102CE09: main (php_cli.c:1358)
==2246== 

 

Generated at Sun, 26 Oct 2014 06:24:57 +0000 (6 days ago)

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