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

==17162== Conditional jump or move depends on uninitialised value(s)
==17162==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==17162==    by 0xDD6C87: lex_scan (zend_language_scanner.l:1757)
==17162==    by 0xE33F4C: zendlex (zend_compile.c:6866)
==17162==    by 0xDC6B8C: zendparse (zend_language_parser.c:3742)
==17162==    by 0xDD4D32: compile_file (zend_language_scanner.l:586)
==17162==    by 0xA35AEE: phar_compile_file (phar.c:3360)
==17162==    by 0xE6065C: zend_execute_scripts (zend.c:1336)
==17162==    by 0xD7F079: php_execute_script (main.c:2584)
==17162==    by 0x101312E: do_cli (php_cli.c:994)
==17162==    by 0x10148DB: main (php_cli.c:1378)
==17162== 
==17162== Conditional jump or move depends on uninitialised value(s)
==17162==    at 0xDD7040: lex_scan (zend_language_scanner.l:1805)
==17162==    by 0xE33F4C: zendlex (zend_compile.c:6866)
==17162==    by 0xDC6B8C: zendparse (zend_language_parser.c:3742)
==17162==    by 0xDD4D32: compile_file (zend_language_scanner.l:586)
==17162==    by 0xA35AEE: phar_compile_file (phar.c:3360)
==17162==    by 0xE6065C: zend_execute_scripts (zend.c:1336)
==17162==    by 0xD7F079: php_execute_script (main.c:2584)
==17162==    by 0x101312E: do_cli (php_cli.c:994)
==17162==    by 0x10148DB: main (php_cli.c:1378)
==17162== 
==17162== Conditional jump or move depends on uninitialised value(s)
==17162==    at 0xDD7060: lex_scan (zend_language_scanner.l:1805)
==17162==    by 0xE33F4C: zendlex (zend_compile.c:6866)
==17162==    by 0xDC6B8C: zendparse (zend_language_parser.c:3742)
==17162==    by 0xDD4D32: compile_file (zend_language_scanner.l:586)
==17162==    by 0xA35AEE: phar_compile_file (phar.c:3360)
==17162==    by 0xE6065C: zend_execute_scripts (zend.c:1336)
==17162==    by 0xD7F079: php_execute_script (main.c:2584)
==17162==    by 0x101312E: do_cli (php_cli.c:994)
==17162==    by 0x10148DB: main (php_cli.c:1378)
==17162== 
==17162== Use of uninitialised value of size 8
==17162==    at 0xEA501D: zend_new_interned_string_int (zend_string.c:97)
==17162==    by 0xE0D06B: zend_insert_literal (zend_compile.c:343)
==17162==    by 0xE0D2A7: zend_add_literal (zend_compile.c:366)
==17162==    by 0xE1130C: zend_do_echo (zend_compile.c:877)
==17162==    by 0xDC7EE2: zendparse (zend_language_parser.y:339)
==17162==    by 0xDD4D32: compile_file (zend_language_scanner.l:586)
==17162==    by 0xA35AEE: phar_compile_file (phar.c:3360)
==17162==    by 0xE6065C: zend_execute_scripts (zend.c:1336)
==17162==    by 0xD7F079: php_execute_script (main.c:2584)
==17162==    by 0x101312E: do_cli (php_cli.c:994)
==17162==    by 0x10148DB: main (php_cli.c:1378)
==17162== 
==17162== Use of uninitialised value of size 8
==17162==    at 0xEA5245: zend_new_interned_string_int (zend_string.c:133)
==17162==    by 0xE0D06B: zend_insert_literal (zend_compile.c:343)
==17162==    by 0xE0D2A7: zend_add_literal (zend_compile.c:366)
==17162==    by 0xE1130C: zend_do_echo (zend_compile.c:877)
==17162==    by 0xDC7EE2: zendparse (zend_language_parser.y:339)
==17162==    by 0xDD4D32: compile_file (zend_language_scanner.l:586)
==17162==    by 0xA35AEE: phar_compile_file (phar.c:3360)
==17162==    by 0xE6065C: zend_execute_scripts (zend.c:1336)
==17162==    by 0xD7F079: php_execute_script (main.c:2584)
==17162==    by 0x101312E: do_cli (php_cli.c:994)
==17162==    by 0x10148DB: main (php_cli.c:1378)
==17162== 
==17162== Use of uninitialised value of size 8
==17162==    at 0xEA5381: zend_new_interned_string_int (zend_string.c:151)
==17162==    by 0xE0D06B: zend_insert_literal (zend_compile.c:343)
==17162==    by 0xE0D2A7: zend_add_literal (zend_compile.c:366)
==17162==    by 0xE1130C: zend_do_echo (zend_compile.c:877)
==17162==    by 0xDC7EE2: zendparse (zend_language_parser.y:339)
==17162==    by 0xDD4D32: compile_file (zend_language_scanner.l:586)
==17162==    by 0xA35AEE: phar_compile_file (phar.c:3360)
==17162==    by 0xE6065C: zend_execute_scripts (zend.c:1336)
==17162==    by 0xD7F079: php_execute_script (main.c:2584)
==17162==    by 0x101312E: do_cli (php_cli.c:994)
==17162==    by 0x10148DB: main (php_cli.c:1378)
==17162== 
==17162== Conditional jump or move depends on uninitialised value(s)
==17162==    at 0xDD6B1D: lex_scan (zend_language_scanner.c:1082)
==17162==    by 0xE33F4C: zendlex (zend_compile.c:6866)
==17162==    by 0xDC6B8C: zendparse (zend_language_parser.c:3742)
==17162==    by 0xDD4D32: compile_file (zend_language_scanner.l:586)
==17162==    by 0xA35AEE: phar_compile_file (phar.c:3360)
==17162==    by 0xE6065C: zend_execute_scripts (zend.c:1336)
==17162==    by 0xD7F079: php_execute_script (main.c:2584)
==17162==    by 0x101312E: do_cli (php_cli.c:994)
==17162==    by 0x10148DB: main (php_cli.c:1378)
==17162== 
==17162== Syscall param write(buf) points to uninitialised byte(s)
==17162==    at 0xD232490: __write_nocancel (in /lib64/libc-2.12.so)
==17162==    by 0x1010A3C: sapi_cli_single_write (php_cli.c:273)
==17162==    by 0x1010BC9: sapi_cli_ub_write (php_cli.c:308)
==17162==    by 0xDA3BEE: php_output_op (output.c:1093)
==17162==    by 0xDA0AF8: php_output_write (output.c:269)
==17162==    by 0xD7D3D8: php_output_wrapper (main.c:1947)
==17162==    by 0xE5D16F: zend_print_zval_ex (zend.c:332)
==17162==    by 0xE5D04D: zend_print_zval (zend.c:313)
==17162==    by 0xE5B6B5: zend_print_variable (zend_variables.c:160)
==17162==    by 0xED74FB: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2402)
==17162==    by 0xECAB69: execute_ex (zend_vm_execute.h:363)
==17162==    by 0xECB70C: zend_execute (zend_vm_execute.h:388)
==17162==  Address 0x141ce5dc is 339,196 bytes inside a block of size 1,048,576 alloc'd
==17162==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==17162==    by 0xEA4D61: zend_interned_strings_init (zend_string.c:48)
==17162==    by 0xE5E2A0: zend_startup (zend.c:747)
==17162==    by 0xD7D8C9: php_module_startup (main.c:2134)
==17162==    by 0x101119B: php_cli_startup (php_cli.c:417)
==17162==    by 0x10147E2: main (php_cli.c:1358)
==17162== 

 

Generated at Tue, 28 Oct 2014 09:43:43 +0000 (3 days ago)

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