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

==10549== Conditional jump or move depends on uninitialised value(s)
==10549==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==10549==    by 0xDC9E24: lex_scan (zend_language_scanner.l:1815)
==10549==    by 0xE26699: zendlex (zend_compile.c:6767)
==10549==    by 0xDBA8E4: zendparse (zend_language_parser.c:3446)
==10549==    by 0xDC7EAF: compile_file (zend_language_scanner.l:588)
==10549==    by 0xA31F33: phar_compile_file (phar.c:3384)
==10549==    by 0xE504CD: zend_execute_scripts (zend.c:1319)
==10549==    by 0xD73590: php_execute_script (main.c:2506)
==10549==    by 0x1034BFD: do_cli (php_cli.c:994)
==10549==    by 0x10363AA: main (php_cli.c:1378)
==10549== 
==10549== Conditional jump or move depends on uninitialised value(s)
==10549==    at 0xDCA1DD: lex_scan (zend_language_scanner.l:1863)
==10549==    by 0xE26699: zendlex (zend_compile.c:6767)
==10549==    by 0xDBA8E4: zendparse (zend_language_parser.c:3446)
==10549==    by 0xDC7EAF: compile_file (zend_language_scanner.l:588)
==10549==    by 0xA31F33: phar_compile_file (phar.c:3384)
==10549==    by 0xE504CD: zend_execute_scripts (zend.c:1319)
==10549==    by 0xD73590: php_execute_script (main.c:2506)
==10549==    by 0x1034BFD: do_cli (php_cli.c:994)
==10549==    by 0x10363AA: main (php_cli.c:1378)
==10549== 
==10549== Conditional jump or move depends on uninitialised value(s)
==10549==    at 0xDCA1FD: lex_scan (zend_language_scanner.l:1863)
==10549==    by 0xE26699: zendlex (zend_compile.c:6767)
==10549==    by 0xDBA8E4: zendparse (zend_language_parser.c:3446)
==10549==    by 0xDC7EAF: compile_file (zend_language_scanner.l:588)
==10549==    by 0xA31F33: phar_compile_file (phar.c:3384)
==10549==    by 0xE504CD: zend_execute_scripts (zend.c:1319)
==10549==    by 0xD73590: php_execute_script (main.c:2506)
==10549==    by 0x1034BFD: do_cli (php_cli.c:994)
==10549==    by 0x10363AA: main (php_cli.c:1378)
==10549== 
==10549== Use of uninitialised value of size 8
==10549==    at 0xE94BF5: zend_new_interned_string_int (zend_string.c:95)
==10549==    by 0xDFDE54: zend_insert_literal (zend_compile.c:339)
==10549==    by 0xDFE090: zend_add_literal (zend_compile.c:362)
==10549==    by 0xE02C52: zend_do_echo (zend_compile.c:869)
==10549==    by 0xDBB9C1: zendparse (zend_language_parser.y:309)
==10549==    by 0xDC7EAF: compile_file (zend_language_scanner.l:588)
==10549==    by 0xA31F33: phar_compile_file (phar.c:3384)
==10549==    by 0xE504CD: zend_execute_scripts (zend.c:1319)
==10549==    by 0xD73590: php_execute_script (main.c:2506)
==10549==    by 0x1034BFD: do_cli (php_cli.c:994)
==10549==    by 0x10363AA: main (php_cli.c:1378)
==10549== 
==10549== Use of uninitialised value of size 8
==10549==    at 0xE94E1D: zend_new_interned_string_int (zend_string.c:131)
==10549==    by 0xDFDE54: zend_insert_literal (zend_compile.c:339)
==10549==    by 0xDFE090: zend_add_literal (zend_compile.c:362)
==10549==    by 0xE02C52: zend_do_echo (zend_compile.c:869)
==10549==    by 0xDBB9C1: zendparse (zend_language_parser.y:309)
==10549==    by 0xDC7EAF: compile_file (zend_language_scanner.l:588)
==10549==    by 0xA31F33: phar_compile_file (phar.c:3384)
==10549==    by 0xE504CD: zend_execute_scripts (zend.c:1319)
==10549==    by 0xD73590: php_execute_script (main.c:2506)
==10549==    by 0x1034BFD: do_cli (php_cli.c:994)
==10549==    by 0x10363AA: main (php_cli.c:1378)
==10549== 
==10549== Use of uninitialised value of size 8
==10549==    at 0xE94F59: zend_new_interned_string_int (zend_string.c:149)
==10549==    by 0xDFDE54: zend_insert_literal (zend_compile.c:339)
==10549==    by 0xDFE090: zend_add_literal (zend_compile.c:362)
==10549==    by 0xE02C52: zend_do_echo (zend_compile.c:869)
==10549==    by 0xDBB9C1: zendparse (zend_language_parser.y:309)
==10549==    by 0xDC7EAF: compile_file (zend_language_scanner.l:588)
==10549==    by 0xA31F33: phar_compile_file (phar.c:3384)
==10549==    by 0xE504CD: zend_execute_scripts (zend.c:1319)
==10549==    by 0xD73590: php_execute_script (main.c:2506)
==10549==    by 0x1034BFD: do_cli (php_cli.c:994)
==10549==    by 0x10363AA: main (php_cli.c:1378)
==10549== 
==10549== Conditional jump or move depends on uninitialised value(s)
==10549==    at 0xDC9CBA: lex_scan (zend_language_scanner.c:1091)
==10549==    by 0xE26699: zendlex (zend_compile.c:6767)
==10549==    by 0xDBA8E4: zendparse (zend_language_parser.c:3446)
==10549==    by 0xDC7EAF: compile_file (zend_language_scanner.l:588)
==10549==    by 0xA31F33: phar_compile_file (phar.c:3384)
==10549==    by 0xE504CD: zend_execute_scripts (zend.c:1319)
==10549==    by 0xD73590: php_execute_script (main.c:2506)
==10549==    by 0x1034BFD: do_cli (php_cli.c:994)
==10549==    by 0x10363AA: main (php_cli.c:1378)
==10549== 
==10549== Syscall param write(buf) points to uninitialised byte(s)
==10549==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==10549==    by 0x1032502: sapi_cli_single_write (php_cli.c:273)
==10549==    by 0x103268F: sapi_cli_ub_write (php_cli.c:308)
==10549==    by 0xD979D6: php_output_op (output.c:1093)
==10549==    by 0xD948DA: php_output_write (output.c:269)
==10549==    by 0xD7191A: php_output_wrapper (main.c:1868)
==10549==    by 0xE4CFBA: zend_print_zval_ex (zend.c:331)
==10549==    by 0xE4CE98: zend_print_zval (zend.c:312)
==10549==    by 0xE4B47D: zend_print_variable (zend_variables.c:155)
==10549==    by 0xEBE24B: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2141)
==10549==    by 0xEB3480: execute_ex (zend_vm_execute.h:363)
==10549==    by 0xEB4012: zend_execute (zend_vm_execute.h:388)
==10549==  Address 0x1417bb94 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==10549==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==10549==    by 0xE94969: zend_interned_strings_init (zend_string.c:48)
==10549==    by 0xE4E0FB: zend_startup (zend.c:744)
==10549==    by 0xD71E0B: php_module_startup (main.c:2055)
==10549==    by 0x1032C6A: php_cli_startup (php_cli.c:417)
==10549==    by 0x10362B1: main (php_cli.c:1358)
==10549== 

 

Generated at Thu, 22 Jan 2015 10:23:14 +0000 (6 days ago)

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