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

==26151== Conditional jump or move depends on uninitialised value(s)
==26151==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==26151==    by 0xE18EB8: lex_scan (zend_language_scanner.l:1815)
==26151==    by 0xE75917: zendlex (zend_compile.c:6788)
==26151==    by 0xE0998C: zendparse (zend_language_parser.c:3446)
==26151==    by 0xE16F43: compile_file (zend_language_scanner.l:588)
==26151==    by 0xA7FC17: phar_compile_file (phar.c:3382)
==26151==    by 0xE9F90D: zend_execute_scripts (zend.c:1319)
==26151==    by 0xDC22B2: php_execute_script (main.c:2525)
==26151==    by 0x1088D15: do_cli (php_cli.c:994)
==26151==    by 0x108A4C2: main (php_cli.c:1378)
==26151== 
==26151== Conditional jump or move depends on uninitialised value(s)
==26151==    at 0xE19271: lex_scan (zend_language_scanner.l:1863)
==26151==    by 0xE75917: zendlex (zend_compile.c:6788)
==26151==    by 0xE0998C: zendparse (zend_language_parser.c:3446)
==26151==    by 0xE16F43: compile_file (zend_language_scanner.l:588)
==26151==    by 0xA7FC17: phar_compile_file (phar.c:3382)
==26151==    by 0xE9F90D: zend_execute_scripts (zend.c:1319)
==26151==    by 0xDC22B2: php_execute_script (main.c:2525)
==26151==    by 0x1088D15: do_cli (php_cli.c:994)
==26151==    by 0x108A4C2: main (php_cli.c:1378)
==26151== 
==26151== Conditional jump or move depends on uninitialised value(s)
==26151==    at 0xE19291: lex_scan (zend_language_scanner.l:1863)
==26151==    by 0xE75917: zendlex (zend_compile.c:6788)
==26151==    by 0xE0998C: zendparse (zend_language_parser.c:3446)
==26151==    by 0xE16F43: compile_file (zend_language_scanner.l:588)
==26151==    by 0xA7FC17: phar_compile_file (phar.c:3382)
==26151==    by 0xE9F90D: zend_execute_scripts (zend.c:1319)
==26151==    by 0xDC22B2: php_execute_script (main.c:2525)
==26151==    by 0x1088D15: do_cli (php_cli.c:994)
==26151==    by 0x108A4C2: main (php_cli.c:1378)
==26151== 
==26151== Use of uninitialised value of size 8
==26151==    at 0xEE40A9: zend_new_interned_string_int (zend_string.c:95)
==26151==    by 0xE4CF48: zend_insert_literal (zend_compile.c:339)
==26151==    by 0xE4D184: zend_add_literal (zend_compile.c:362)
==26151==    by 0xE51D46: zend_do_echo (zend_compile.c:869)
==26151==    by 0xE0AA55: zendparse (zend_language_parser.y:309)
==26151==    by 0xE16F43: compile_file (zend_language_scanner.l:588)
==26151==    by 0xA7FC17: phar_compile_file (phar.c:3382)
==26151==    by 0xE9F90D: zend_execute_scripts (zend.c:1319)
==26151==    by 0xDC22B2: php_execute_script (main.c:2525)
==26151==    by 0x1088D15: do_cli (php_cli.c:994)
==26151==    by 0x108A4C2: main (php_cli.c:1378)
==26151== 
==26151== Use of uninitialised value of size 8
==26151==    at 0xEE42D1: zend_new_interned_string_int (zend_string.c:131)
==26151==    by 0xE4CF48: zend_insert_literal (zend_compile.c:339)
==26151==    by 0xE4D184: zend_add_literal (zend_compile.c:362)
==26151==    by 0xE51D46: zend_do_echo (zend_compile.c:869)
==26151==    by 0xE0AA55: zendparse (zend_language_parser.y:309)
==26151==    by 0xE16F43: compile_file (zend_language_scanner.l:588)
==26151==    by 0xA7FC17: phar_compile_file (phar.c:3382)
==26151==    by 0xE9F90D: zend_execute_scripts (zend.c:1319)
==26151==    by 0xDC22B2: php_execute_script (main.c:2525)
==26151==    by 0x1088D15: do_cli (php_cli.c:994)
==26151==    by 0x108A4C2: main (php_cli.c:1378)
==26151== 
==26151== Use of uninitialised value of size 8
==26151==    at 0xEE440D: zend_new_interned_string_int (zend_string.c:149)
==26151==    by 0xE4CF48: zend_insert_literal (zend_compile.c:339)
==26151==    by 0xE4D184: zend_add_literal (zend_compile.c:362)
==26151==    by 0xE51D46: zend_do_echo (zend_compile.c:869)
==26151==    by 0xE0AA55: zendparse (zend_language_parser.y:309)
==26151==    by 0xE16F43: compile_file (zend_language_scanner.l:588)
==26151==    by 0xA7FC17: phar_compile_file (phar.c:3382)
==26151==    by 0xE9F90D: zend_execute_scripts (zend.c:1319)
==26151==    by 0xDC22B2: php_execute_script (main.c:2525)
==26151==    by 0x1088D15: do_cli (php_cli.c:994)
==26151==    by 0x108A4C2: main (php_cli.c:1378)
==26151== 
==26151== Conditional jump or move depends on uninitialised value(s)
==26151==    at 0xE18D4E: lex_scan (zend_language_scanner.c:1091)
==26151==    by 0xE75917: zendlex (zend_compile.c:6788)
==26151==    by 0xE0998C: zendparse (zend_language_parser.c:3446)
==26151==    by 0xE16F43: compile_file (zend_language_scanner.l:588)
==26151==    by 0xA7FC17: phar_compile_file (phar.c:3382)
==26151==    by 0xE9F90D: zend_execute_scripts (zend.c:1319)
==26151==    by 0xDC22B2: php_execute_script (main.c:2525)
==26151==    by 0x1088D15: do_cli (php_cli.c:994)
==26151==    by 0x108A4C2: main (php_cli.c:1378)
==26151== 
==26151== Syscall param write(buf) points to uninitialised byte(s)
==26151==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==26151==    by 0x108661A: sapi_cli_single_write (php_cli.c:273)
==26151==    by 0x10867A7: sapi_cli_ub_write (php_cli.c:308)
==26151==    by 0xDE69D3: php_output_op (output.c:1094)
==26151==    by 0xDE38D7: php_output_write (output.c:270)
==26151==    by 0xDC054D: php_output_wrapper (main.c:1873)
==26151==    by 0xE9C3FA: zend_print_zval_ex (zend.c:331)
==26151==    by 0xE9C2D8: zend_print_zval (zend.c:312)
==26151==    by 0xE9A8BD: zend_print_variable (zend_variables.c:155)
==26151==    by 0xF0D77A: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2145)
==26151==    by 0xF02944: execute_ex (zend_vm_execute.h:363)
==26151==    by 0xF034D6: zend_execute (zend_vm_execute.h:388)
==26151==  Address 0x1417bb94 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==26151==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==26151==    by 0xEE3E1D: zend_interned_strings_init (zend_string.c:48)
==26151==    by 0xE9D53B: zend_startup (zend.c:744)
==26151==    by 0xDC0A3E: php_module_startup (main.c:2060)
==26151==    by 0x1086D82: php_cli_startup (php_cli.c:417)
==26151==    by 0x108A3C9: main (php_cli.c:1358)
==26151== 

 

Generated at Tue, 19 May 2015 18:58:02 +0000 (2 days ago)

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