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

==4007== Conditional jump or move depends on uninitialised value(s)
==4007==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==4007==    by 0xDCAD04: lex_scan (zend_language_scanner.l:1815)
==4007==    by 0xE276B4: zendlex (zend_compile.c:6786)
==4007==    by 0xDBB7C4: zendparse (zend_language_parser.c:3446)
==4007==    by 0xDC8D8F: compile_file (zend_language_scanner.l:588)
==4007==    by 0xA32193: phar_compile_file (phar.c:3384)
==4007==    by 0xE5156D: zend_execute_scripts (zend.c:1319)
==4007==    by 0xD7441A: php_execute_script (main.c:2525)
==4007==    by 0x103A981: do_cli (php_cli.c:994)
==4007==    by 0x103C12E: main (php_cli.c:1378)
==4007== 
==4007== Conditional jump or move depends on uninitialised value(s)
==4007==    at 0xDCB0BD: lex_scan (zend_language_scanner.l:1863)
==4007==    by 0xE276B4: zendlex (zend_compile.c:6786)
==4007==    by 0xDBB7C4: zendparse (zend_language_parser.c:3446)
==4007==    by 0xDC8D8F: compile_file (zend_language_scanner.l:588)
==4007==    by 0xA32193: phar_compile_file (phar.c:3384)
==4007==    by 0xE5156D: zend_execute_scripts (zend.c:1319)
==4007==    by 0xD7441A: php_execute_script (main.c:2525)
==4007==    by 0x103A981: do_cli (php_cli.c:994)
==4007==    by 0x103C12E: main (php_cli.c:1378)
==4007== 
==4007== Conditional jump or move depends on uninitialised value(s)
==4007==    at 0xDCB0DD: lex_scan (zend_language_scanner.l:1863)
==4007==    by 0xE276B4: zendlex (zend_compile.c:6786)
==4007==    by 0xDBB7C4: zendparse (zend_language_parser.c:3446)
==4007==    by 0xDC8D8F: compile_file (zend_language_scanner.l:588)
==4007==    by 0xA32193: phar_compile_file (phar.c:3384)
==4007==    by 0xE5156D: zend_execute_scripts (zend.c:1319)
==4007==    by 0xD7441A: php_execute_script (main.c:2525)
==4007==    by 0x103A981: do_cli (php_cli.c:994)
==4007==    by 0x103C12E: main (php_cli.c:1378)
==4007== 
==4007== Use of uninitialised value of size 8
==4007==    at 0xE95D15: zend_new_interned_string_int (zend_string.c:95)
==4007==    by 0xDFED34: zend_insert_literal (zend_compile.c:339)
==4007==    by 0xDFEF70: zend_add_literal (zend_compile.c:362)
==4007==    by 0xE03B32: zend_do_echo (zend_compile.c:869)
==4007==    by 0xDBC8A1: zendparse (zend_language_parser.y:309)
==4007==    by 0xDC8D8F: compile_file (zend_language_scanner.l:588)
==4007==    by 0xA32193: phar_compile_file (phar.c:3384)
==4007==    by 0xE5156D: zend_execute_scripts (zend.c:1319)
==4007==    by 0xD7441A: php_execute_script (main.c:2525)
==4007==    by 0x103A981: do_cli (php_cli.c:994)
==4007==    by 0x103C12E: main (php_cli.c:1378)
==4007== 
==4007== Use of uninitialised value of size 8
==4007==    at 0xE95F3D: zend_new_interned_string_int (zend_string.c:131)
==4007==    by 0xDFED34: zend_insert_literal (zend_compile.c:339)
==4007==    by 0xDFEF70: zend_add_literal (zend_compile.c:362)
==4007==    by 0xE03B32: zend_do_echo (zend_compile.c:869)
==4007==    by 0xDBC8A1: zendparse (zend_language_parser.y:309)
==4007==    by 0xDC8D8F: compile_file (zend_language_scanner.l:588)
==4007==    by 0xA32193: phar_compile_file (phar.c:3384)
==4007==    by 0xE5156D: zend_execute_scripts (zend.c:1319)
==4007==    by 0xD7441A: php_execute_script (main.c:2525)
==4007==    by 0x103A981: do_cli (php_cli.c:994)
==4007==    by 0x103C12E: main (php_cli.c:1378)
==4007== 
==4007== Use of uninitialised value of size 8
==4007==    at 0xE96079: zend_new_interned_string_int (zend_string.c:149)
==4007==    by 0xDFED34: zend_insert_literal (zend_compile.c:339)
==4007==    by 0xDFEF70: zend_add_literal (zend_compile.c:362)
==4007==    by 0xE03B32: zend_do_echo (zend_compile.c:869)
==4007==    by 0xDBC8A1: zendparse (zend_language_parser.y:309)
==4007==    by 0xDC8D8F: compile_file (zend_language_scanner.l:588)
==4007==    by 0xA32193: phar_compile_file (phar.c:3384)
==4007==    by 0xE5156D: zend_execute_scripts (zend.c:1319)
==4007==    by 0xD7441A: php_execute_script (main.c:2525)
==4007==    by 0x103A981: do_cli (php_cli.c:994)
==4007==    by 0x103C12E: main (php_cli.c:1378)
==4007== 
==4007== Conditional jump or move depends on uninitialised value(s)
==4007==    at 0xDCAB9A: lex_scan (zend_language_scanner.c:1091)
==4007==    by 0xE276B4: zendlex (zend_compile.c:6786)
==4007==    by 0xDBB7C4: zendparse (zend_language_parser.c:3446)
==4007==    by 0xDC8D8F: compile_file (zend_language_scanner.l:588)
==4007==    by 0xA32193: phar_compile_file (phar.c:3384)
==4007==    by 0xE5156D: zend_execute_scripts (zend.c:1319)
==4007==    by 0xD7441A: php_execute_script (main.c:2525)
==4007==    by 0x103A981: do_cli (php_cli.c:994)
==4007==    by 0x103C12E: main (php_cli.c:1378)
==4007== 
==4007== Syscall param write(buf) points to uninitialised byte(s)
==4007==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==4007==    by 0x1038286: sapi_cli_single_write (php_cli.c:273)
==4007==    by 0x1038413: sapi_cli_ub_write (php_cli.c:308)
==4007==    by 0xD9880B: php_output_op (output.c:1094)
==4007==    by 0xD9570F: php_output_write (output.c:270)
==4007==    by 0xD7269E: php_output_wrapper (main.c:1872)
==4007==    by 0xE4E05A: zend_print_zval_ex (zend.c:331)
==4007==    by 0xE4DF38: zend_print_zval (zend.c:312)
==4007==    by 0xE4C51D: zend_print_variable (zend_variables.c:155)
==4007==    by 0xEBF3EF: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2145)
==4007==    by 0xEB45B0: execute_ex (zend_vm_execute.h:363)
==4007==    by 0xEB5142: zend_execute (zend_vm_execute.h:388)
==4007==  Address 0x1417bb94 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==4007==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==4007==    by 0xE95A89: zend_interned_strings_init (zend_string.c:48)
==4007==    by 0xE4F19B: zend_startup (zend.c:744)
==4007==    by 0xD72B8F: php_module_startup (main.c:2059)
==4007==    by 0x10389EE: php_cli_startup (php_cli.c:417)
==4007==    by 0x103C035: main (php_cli.c:1358)
==4007== 

 

Generated at Wed, 25 Mar 2015 00:39:23 +0000 (6 days ago)

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