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

==4522== Conditional jump or move depends on uninitialised value(s)
==4522==    at 0x4C2A2D0: memchr (vg_replace_strmem.c:883)
==4522==    by 0xE6A3FF: lex_scan (zend_language_scanner.l:1757)
==4522==    by 0xEC81B8: zendlex (zend_compile.c:6919)
==4522==    by 0xE5A340: zendparse (zend_language_parser.c:3742)
==4522==    by 0xE684AA: compile_file (zend_language_scanner.l:586)
==4522==    by 0xAA5E6C: phar_compile_file (phar.c:3371)
==4522==    by 0xEF4AE3: zend_execute_scripts (zend.c:1333)
==4522==    by 0xE111E1: php_execute_script (main.c:2613)
==4522==    by 0x10AF62E: do_cli (php_cli.c:998)
==4522==    by 0x10B0E27: main (php_cli.c:1382)
==4522== 
==4522== Conditional jump or move depends on uninitialised value(s)
==4522==    at 0xE6A7B8: lex_scan (zend_language_scanner.l:1805)
==4522==    by 0xEC81B8: zendlex (zend_compile.c:6919)
==4522==    by 0xE5A340: zendparse (zend_language_parser.c:3742)
==4522==    by 0xE684AA: compile_file (zend_language_scanner.l:586)
==4522==    by 0xAA5E6C: phar_compile_file (phar.c:3371)
==4522==    by 0xEF4AE3: zend_execute_scripts (zend.c:1333)
==4522==    by 0xE111E1: php_execute_script (main.c:2613)
==4522==    by 0x10AF62E: do_cli (php_cli.c:998)
==4522==    by 0x10B0E27: main (php_cli.c:1382)
==4522== 
==4522== Conditional jump or move depends on uninitialised value(s)
==4522==    at 0xE6A7D8: lex_scan (zend_language_scanner.l:1805)
==4522==    by 0xEC81B8: zendlex (zend_compile.c:6919)
==4522==    by 0xE5A340: zendparse (zend_language_parser.c:3742)
==4522==    by 0xE684AA: compile_file (zend_language_scanner.l:586)
==4522==    by 0xAA5E6C: phar_compile_file (phar.c:3371)
==4522==    by 0xEF4AE3: zend_execute_scripts (zend.c:1333)
==4522==    by 0xE111E1: php_execute_script (main.c:2613)
==4522==    by 0x10AF62E: do_cli (php_cli.c:998)
==4522==    by 0x10B0E27: main (php_cli.c:1382)
==4522== 
==4522== Use of uninitialised value of size 8
==4522==    at 0xF3A739: zend_new_interned_string_int (zend_string.c:97)
==4522==    by 0xEA0CD3: zend_insert_literal (zend_compile.c:343)
==4522==    by 0xEA0F0F: zend_add_literal (zend_compile.c:366)
==4522==    by 0xEA4F74: zend_do_echo (zend_compile.c:877)
==4522==    by 0xE5B65A: zendparse (zend_language_parser.y:339)
==4522==    by 0xE684AA: compile_file (zend_language_scanner.l:586)
==4522==    by 0xAA5E6C: phar_compile_file (phar.c:3371)
==4522==    by 0xEF4AE3: zend_execute_scripts (zend.c:1333)
==4522==    by 0xE111E1: php_execute_script (main.c:2613)
==4522==    by 0x10AF62E: do_cli (php_cli.c:998)
==4522==    by 0x10B0E27: main (php_cli.c:1382)
==4522== 
==4522== Use of uninitialised value of size 8
==4522==    at 0xF3A961: zend_new_interned_string_int (zend_string.c:133)
==4522==    by 0xEA0CD3: zend_insert_literal (zend_compile.c:343)
==4522==    by 0xEA0F0F: zend_add_literal (zend_compile.c:366)
==4522==    by 0xEA4F74: zend_do_echo (zend_compile.c:877)
==4522==    by 0xE5B65A: zendparse (zend_language_parser.y:339)
==4522==    by 0xE684AA: compile_file (zend_language_scanner.l:586)
==4522==    by 0xAA5E6C: phar_compile_file (phar.c:3371)
==4522==    by 0xEF4AE3: zend_execute_scripts (zend.c:1333)
==4522==    by 0xE111E1: php_execute_script (main.c:2613)
==4522==    by 0x10AF62E: do_cli (php_cli.c:998)
==4522==    by 0x10B0E27: main (php_cli.c:1382)
==4522== 
==4522== Use of uninitialised value of size 8
==4522==    at 0xF3AA9D: zend_new_interned_string_int (zend_string.c:151)
==4522==    by 0xEA0CD3: zend_insert_literal (zend_compile.c:343)
==4522==    by 0xEA0F0F: zend_add_literal (zend_compile.c:366)
==4522==    by 0xEA4F74: zend_do_echo (zend_compile.c:877)
==4522==    by 0xE5B65A: zendparse (zend_language_parser.y:339)
==4522==    by 0xE684AA: compile_file (zend_language_scanner.l:586)
==4522==    by 0xAA5E6C: phar_compile_file (phar.c:3371)
==4522==    by 0xEF4AE3: zend_execute_scripts (zend.c:1333)
==4522==    by 0xE111E1: php_execute_script (main.c:2613)
==4522==    by 0x10AF62E: do_cli (php_cli.c:998)
==4522==    by 0x10B0E27: main (php_cli.c:1382)
==4522== 
==4522== Conditional jump or move depends on uninitialised value(s)
==4522==    at 0xE6A295: lex_scan (zend_language_scanner.c:1082)
==4522==    by 0xEC81B8: zendlex (zend_compile.c:6919)
==4522==    by 0xE5A340: zendparse (zend_language_parser.c:3742)
==4522==    by 0xE684AA: compile_file (zend_language_scanner.l:586)
==4522==    by 0xAA5E6C: phar_compile_file (phar.c:3371)
==4522==    by 0xEF4AE3: zend_execute_scripts (zend.c:1333)
==4522==    by 0xE111E1: php_execute_script (main.c:2613)
==4522==    by 0x10AF62E: do_cli (php_cli.c:998)
==4522==    by 0x10B0E27: main (php_cli.c:1382)
==4522== 
==4522== Syscall param write(buf) points to uninitialised byte(s)
==4522==    at 0xD2396D0: __write_nocancel (in /lib64/libc-2.12.so)
==4522==    by 0x10ACF3C: sapi_cli_single_write (php_cli.c:277)
==4522==    by 0x10AD0C9: sapi_cli_ub_write (php_cli.c:312)
==4522==    by 0xE36AC2: php_output_op (output.c:1094)
==4522==    by 0xE338F2: php_output_write (output.c:270)
==4522==    by 0xE0F451: php_output_wrapper (main.c:1962)
==4522==    by 0xEF15A7: zend_print_zval_ex (zend.c:332)
==4522==    by 0xEF1485: zend_print_zval (zend.c:313)
==4522==    by 0xEEFAED: zend_print_variable (zend_variables.c:160)
==4522==    by 0xF6CF59: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2409)
==4522==    by 0xF6050C: execute_ex (zend_vm_execute.h:363)
==4522==    by 0xF610AF: zend_execute (zend_vm_execute.h:388)
==4522==  Address 0x1418ec94 is 339,652 bytes inside a block of size 1,048,576 alloc'd
==4522==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==4522==    by 0xF3A47D: zend_interned_strings_init (zend_string.c:48)
==4522==    by 0xEF26D8: zend_startup (zend.c:747)
==4522==    by 0xE0F942: php_module_startup (main.c:2149)
==4522==    by 0x10AD69B: php_cli_startup (php_cli.c:421)
==4522==    by 0x10B0D2E: main (php_cli.c:1362)
==4522== 

 

Generated at Wed, 04 Jan 2017 07:31:11 +0000 (12 days ago)

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