PHP  
 PHP_HEAD
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

==23681== Conditional jump or move depends on uninitialised value(s)
==23681==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==23681==    by 0xDD0883: lex_scan (zend_language_scanner.l:1757)
==23681==    by 0xE2BD80: zendlex (zend_compile.c:6857)
==23681==    by 0xDC0844: zendparse (zend_language_parser.c:3747)
==23681==    by 0xDCE92E: compile_file (zend_language_scanner.l:586)
==23681==    by 0xA324F9: phar_compile_file (phar.c:3359)
==23681==    by 0xE58369: zend_execute_scripts (zend.c:1322)
==23681==    by 0xD79282: php_execute_script (main.c:2549)
==23681==    by 0x100ACEE: do_cli (php_cli.c:994)
==23681==    by 0x100C49B: main (php_cli.c:1378)
==23681== 
==23681== Conditional jump or move depends on uninitialised value(s)
==23681==    at 0xDD0C3C: lex_scan (zend_language_scanner.l:1805)
==23681==    by 0xE2BD80: zendlex (zend_compile.c:6857)
==23681==    by 0xDC0844: zendparse (zend_language_parser.c:3747)
==23681==    by 0xDCE92E: compile_file (zend_language_scanner.l:586)
==23681==    by 0xA324F9: phar_compile_file (phar.c:3359)
==23681==    by 0xE58369: zend_execute_scripts (zend.c:1322)
==23681==    by 0xD79282: php_execute_script (main.c:2549)
==23681==    by 0x100ACEE: do_cli (php_cli.c:994)
==23681==    by 0x100C49B: main (php_cli.c:1378)
==23681== 
==23681== Conditional jump or move depends on uninitialised value(s)
==23681==    at 0xDD0C5C: lex_scan (zend_language_scanner.l:1805)
==23681==    by 0xE2BD80: zendlex (zend_compile.c:6857)
==23681==    by 0xDC0844: zendparse (zend_language_parser.c:3747)
==23681==    by 0xDCE92E: compile_file (zend_language_scanner.l:586)
==23681==    by 0xA324F9: phar_compile_file (phar.c:3359)
==23681==    by 0xE58369: zend_execute_scripts (zend.c:1322)
==23681==    by 0xD79282: php_execute_script (main.c:2549)
==23681==    by 0x100ACEE: do_cli (php_cli.c:994)
==23681==    by 0x100C49B: main (php_cli.c:1378)
==23681== 
==23681== Use of uninitialised value of size 8
==23681==    at 0xE9CD29: zend_new_interned_string_int (zend_string.c:97)
==23681==    by 0xE04FA3: zend_insert_literal (zend_compile.c:343)
==23681==    by 0xE051DF: zend_add_literal (zend_compile.c:366)
==23681==    by 0xE09244: zend_do_echo (zend_compile.c:877)
==23681==    by 0xDC1B9A: zendparse (zend_language_parser.y:339)
==23681==    by 0xDCE92E: compile_file (zend_language_scanner.l:586)
==23681==    by 0xA324F9: phar_compile_file (phar.c:3359)
==23681==    by 0xE58369: zend_execute_scripts (zend.c:1322)
==23681==    by 0xD79282: php_execute_script (main.c:2549)
==23681==    by 0x100ACEE: do_cli (php_cli.c:994)
==23681==    by 0x100C49B: main (php_cli.c:1378)
==23681== 
==23681== Use of uninitialised value of size 8
==23681==    at 0xE9CF51: zend_new_interned_string_int (zend_string.c:133)
==23681==    by 0xE04FA3: zend_insert_literal (zend_compile.c:343)
==23681==    by 0xE051DF: zend_add_literal (zend_compile.c:366)
==23681==    by 0xE09244: zend_do_echo (zend_compile.c:877)
==23681==    by 0xDC1B9A: zendparse (zend_language_parser.y:339)
==23681==    by 0xDCE92E: compile_file (zend_language_scanner.l:586)
==23681==    by 0xA324F9: phar_compile_file (phar.c:3359)
==23681==    by 0xE58369: zend_execute_scripts (zend.c:1322)
==23681==    by 0xD79282: php_execute_script (main.c:2549)
==23681==    by 0x100ACEE: do_cli (php_cli.c:994)
==23681==    by 0x100C49B: main (php_cli.c:1378)
==23681== 
==23681== Use of uninitialised value of size 8
==23681==    at 0xE9D08D: zend_new_interned_string_int (zend_string.c:151)
==23681==    by 0xE04FA3: zend_insert_literal (zend_compile.c:343)
==23681==    by 0xE051DF: zend_add_literal (zend_compile.c:366)
==23681==    by 0xE09244: zend_do_echo (zend_compile.c:877)
==23681==    by 0xDC1B9A: zendparse (zend_language_parser.y:339)
==23681==    by 0xDCE92E: compile_file (zend_language_scanner.l:586)
==23681==    by 0xA324F9: phar_compile_file (phar.c:3359)
==23681==    by 0xE58369: zend_execute_scripts (zend.c:1322)
==23681==    by 0xD79282: php_execute_script (main.c:2549)
==23681==    by 0x100ACEE: do_cli (php_cli.c:994)
==23681==    by 0x100C49B: main (php_cli.c:1378)
==23681== 
==23681== Conditional jump or move depends on uninitialised value(s)
==23681==    at 0xDD0719: lex_scan (zend_language_scanner.c:1082)
==23681==    by 0xE2BD80: zendlex (zend_compile.c:6857)
==23681==    by 0xDC0844: zendparse (zend_language_parser.c:3747)
==23681==    by 0xDCE92E: compile_file (zend_language_scanner.l:586)
==23681==    by 0xA324F9: phar_compile_file (phar.c:3359)
==23681==    by 0xE58369: zend_execute_scripts (zend.c:1322)
==23681==    by 0xD79282: php_execute_script (main.c:2549)
==23681==    by 0x100ACEE: do_cli (php_cli.c:994)
==23681==    by 0x100C49B: main (php_cli.c:1378)
==23681== 
==23681== Syscall param write(buf) points to uninitialised byte(s)
==23681==    at 0xD22E780: __write_nocancel (in /lib64/libc-2.12.so)
==23681==    by 0x10085FC: sapi_cli_single_write (php_cli.c:273)
==23681==    by 0x1008789: sapi_cli_ub_write (php_cli.c:308)
==23681==    by 0xD9D8A6: php_output_op (output.c:1093)
==23681==    by 0xD9A7B0: php_output_write (output.c:269)
==23681==    by 0xD775E1: php_output_wrapper (main.c:1912)
==23681==    by 0xE54F8F: zend_print_zval_ex (zend.c:332)
==23681==    by 0xE54E6D: zend_print_zval (zend.c:313)
==23681==    by 0xE534D5: zend_print_variable (zend_variables.c:159)
==23681==    by 0xECF0D7: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2402)
==23681==    by 0xEC2745: execute_ex (zend_vm_execute.h:363)
==23681==    by 0xEC32E8: zend_execute (zend_vm_execute.h:388)
==23681==  Address 0x141c73c4 is 338,644 bytes inside a block of size 1,048,576 alloc'd
==23681==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==23681==    by 0xE9CA6D: zend_interned_strings_init (zend_string.c:48)
==23681==    by 0xE560C0: zend_startup (zend.c:747)
==23681==    by 0xD77AD2: php_module_startup (main.c:2099)
==23681==    by 0x1008D5B: php_cli_startup (php_cli.c:417)
==23681==    by 0x100C3A2: main (php_cli.c:1358)
==23681== 

 

Generated at Tue, 22 Jul 2014 01:33:26 +0000 (36 hours ago)

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