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

==11048== Conditional jump or move depends on uninitialised value(s)
==11048==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==11048==    by 0xDCD568: lex_scan (zend_language_scanner.l:1815)
==11048==    by 0xE29F18: zendlex (zend_compile.c:6786)
==11048==    by 0xDBE03C: zendparse (zend_language_parser.c:3446)
==11048==    by 0xDCB5F3: compile_file (zend_language_scanner.l:588)
==11048==    by 0xA3497F: phar_compile_file (phar.c:3384)
==11048==    by 0xE53D7D: zend_execute_scripts (zend.c:1319)
==11048==    by 0xD76C92: php_execute_script (main.c:2525)
==11048==    by 0x103D13D: do_cli (php_cli.c:994)
==11048==    by 0x103E8EA: main (php_cli.c:1378)
==11048== 
==11048== Conditional jump or move depends on uninitialised value(s)
==11048==    at 0xDCD921: lex_scan (zend_language_scanner.l:1863)
==11048==    by 0xE29F18: zendlex (zend_compile.c:6786)
==11048==    by 0xDBE03C: zendparse (zend_language_parser.c:3446)
==11048==    by 0xDCB5F3: compile_file (zend_language_scanner.l:588)
==11048==    by 0xA3497F: phar_compile_file (phar.c:3384)
==11048==    by 0xE53D7D: zend_execute_scripts (zend.c:1319)
==11048==    by 0xD76C92: php_execute_script (main.c:2525)
==11048==    by 0x103D13D: do_cli (php_cli.c:994)
==11048==    by 0x103E8EA: main (php_cli.c:1378)
==11048== 
==11048== Conditional jump or move depends on uninitialised value(s)
==11048==    at 0xDCD941: lex_scan (zend_language_scanner.l:1863)
==11048==    by 0xE29F18: zendlex (zend_compile.c:6786)
==11048==    by 0xDBE03C: zendparse (zend_language_parser.c:3446)
==11048==    by 0xDCB5F3: compile_file (zend_language_scanner.l:588)
==11048==    by 0xA3497F: phar_compile_file (phar.c:3384)
==11048==    by 0xE53D7D: zend_execute_scripts (zend.c:1319)
==11048==    by 0xD76C92: php_execute_script (main.c:2525)
==11048==    by 0x103D13D: do_cli (php_cli.c:994)
==11048==    by 0x103E8EA: main (php_cli.c:1378)
==11048== 
==11048== Use of uninitialised value of size 8
==11048==    at 0xE984D1: zend_new_interned_string_int (zend_string.c:95)
==11048==    by 0xE01598: zend_insert_literal (zend_compile.c:339)
==11048==    by 0xE017D4: zend_add_literal (zend_compile.c:362)
==11048==    by 0xE06396: zend_do_echo (zend_compile.c:869)
==11048==    by 0xDBF105: zendparse (zend_language_parser.y:309)
==11048==    by 0xDCB5F3: compile_file (zend_language_scanner.l:588)
==11048==    by 0xA3497F: phar_compile_file (phar.c:3384)
==11048==    by 0xE53D7D: zend_execute_scripts (zend.c:1319)
==11048==    by 0xD76C92: php_execute_script (main.c:2525)
==11048==    by 0x103D13D: do_cli (php_cli.c:994)
==11048==    by 0x103E8EA: main (php_cli.c:1378)
==11048== 
==11048== Use of uninitialised value of size 8
==11048==    at 0xE986F9: zend_new_interned_string_int (zend_string.c:131)
==11048==    by 0xE01598: zend_insert_literal (zend_compile.c:339)
==11048==    by 0xE017D4: zend_add_literal (zend_compile.c:362)
==11048==    by 0xE06396: zend_do_echo (zend_compile.c:869)
==11048==    by 0xDBF105: zendparse (zend_language_parser.y:309)
==11048==    by 0xDCB5F3: compile_file (zend_language_scanner.l:588)
==11048==    by 0xA3497F: phar_compile_file (phar.c:3384)
==11048==    by 0xE53D7D: zend_execute_scripts (zend.c:1319)
==11048==    by 0xD76C92: php_execute_script (main.c:2525)
==11048==    by 0x103D13D: do_cli (php_cli.c:994)
==11048==    by 0x103E8EA: main (php_cli.c:1378)
==11048== 
==11048== Use of uninitialised value of size 8
==11048==    at 0xE98835: zend_new_interned_string_int (zend_string.c:149)
==11048==    by 0xE01598: zend_insert_literal (zend_compile.c:339)
==11048==    by 0xE017D4: zend_add_literal (zend_compile.c:362)
==11048==    by 0xE06396: zend_do_echo (zend_compile.c:869)
==11048==    by 0xDBF105: zendparse (zend_language_parser.y:309)
==11048==    by 0xDCB5F3: compile_file (zend_language_scanner.l:588)
==11048==    by 0xA3497F: phar_compile_file (phar.c:3384)
==11048==    by 0xE53D7D: zend_execute_scripts (zend.c:1319)
==11048==    by 0xD76C92: php_execute_script (main.c:2525)
==11048==    by 0x103D13D: do_cli (php_cli.c:994)
==11048==    by 0x103E8EA: main (php_cli.c:1378)
==11048== 
==11048== Conditional jump or move depends on uninitialised value(s)
==11048==    at 0xDCD3FE: lex_scan (zend_language_scanner.c:1091)
==11048==    by 0xE29F18: zendlex (zend_compile.c:6786)
==11048==    by 0xDBE03C: zendparse (zend_language_parser.c:3446)
==11048==    by 0xDCB5F3: compile_file (zend_language_scanner.l:588)
==11048==    by 0xA3497F: phar_compile_file (phar.c:3384)
==11048==    by 0xE53D7D: zend_execute_scripts (zend.c:1319)
==11048==    by 0xD76C92: php_execute_script (main.c:2525)
==11048==    by 0x103D13D: do_cli (php_cli.c:994)
==11048==    by 0x103E8EA: main (php_cli.c:1378)
==11048== 
==11048== Syscall param write(buf) points to uninitialised byte(s)
==11048==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==11048==    by 0x103AA42: sapi_cli_single_write (php_cli.c:273)
==11048==    by 0x103ABCF: sapi_cli_ub_write (php_cli.c:308)
==11048==    by 0xD9B083: php_output_op (output.c:1094)
==11048==    by 0xD97F87: php_output_write (output.c:270)
==11048==    by 0xD74F16: php_output_wrapper (main.c:1872)
==11048==    by 0xE5086A: zend_print_zval_ex (zend.c:331)
==11048==    by 0xE50748: zend_print_zval (zend.c:312)
==11048==    by 0xE4ED2D: zend_print_variable (zend_variables.c:155)
==11048==    by 0xEC1BAB: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2145)
==11048==    by 0xEB6D6C: execute_ex (zend_vm_execute.h:363)
==11048==    by 0xEB78FE: zend_execute (zend_vm_execute.h:388)
==11048==  Address 0x1417bb94 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==11048==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==11048==    by 0xE98245: zend_interned_strings_init (zend_string.c:48)
==11048==    by 0xE519AB: zend_startup (zend.c:744)
==11048==    by 0xD75407: php_module_startup (main.c:2059)
==11048==    by 0x103B1AA: php_cli_startup (php_cli.c:417)
==11048==    by 0x103E7F1: main (php_cli.c:1358)
==11048== 

 

Generated at Fri, 10 Apr 2015 08:43:57 +0000 (8 days ago)

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