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

==19590== Conditional jump or move depends on uninitialised value(s)
==19590==    at 0x4C2B310: memchr (vg_replace_strmem.c:887)
==19590==    by 0xE67A23: lex_scan (zend_language_scanner.l:1757)
==19590==    by 0xEC57DC: zendlex (zend_compile.c:6919)
==19590==    by 0xE57964: zendparse (zend_language_parser.c:3742)
==19590==    by 0xE65ACE: compile_file (zend_language_scanner.l:586)
==19590==    by 0xAA2F65: phar_compile_file (phar.c:3370)
==19590==    by 0xEF2107: zend_execute_scripts (zend.c:1333)
==19590==    by 0xE0E799: php_execute_script (main.c:2613)
==19590==    by 0x10ACC52: do_cli (php_cli.c:998)
==19590==    by 0x10AE44B: main (php_cli.c:1382)
==19590== 
==19590== Conditional jump or move depends on uninitialised value(s)
==19590==    at 0xE67DDC: lex_scan (zend_language_scanner.l:1805)
==19590==    by 0xEC57DC: zendlex (zend_compile.c:6919)
==19590==    by 0xE57964: zendparse (zend_language_parser.c:3742)
==19590==    by 0xE65ACE: compile_file (zend_language_scanner.l:586)
==19590==    by 0xAA2F65: phar_compile_file (phar.c:3370)
==19590==    by 0xEF2107: zend_execute_scripts (zend.c:1333)
==19590==    by 0xE0E799: php_execute_script (main.c:2613)
==19590==    by 0x10ACC52: do_cli (php_cli.c:998)
==19590==    by 0x10AE44B: main (php_cli.c:1382)
==19590== 
==19590== Conditional jump or move depends on uninitialised value(s)
==19590==    at 0xE67DFC: lex_scan (zend_language_scanner.l:1805)
==19590==    by 0xEC57DC: zendlex (zend_compile.c:6919)
==19590==    by 0xE57964: zendparse (zend_language_parser.c:3742)
==19590==    by 0xE65ACE: compile_file (zend_language_scanner.l:586)
==19590==    by 0xAA2F65: phar_compile_file (phar.c:3370)
==19590==    by 0xEF2107: zend_execute_scripts (zend.c:1333)
==19590==    by 0xE0E799: php_execute_script (main.c:2613)
==19590==    by 0x10ACC52: do_cli (php_cli.c:998)
==19590==    by 0x10AE44B: main (php_cli.c:1382)
==19590== 
==19590== Use of uninitialised value of size 8
==19590==    at 0xF37D5D: zend_new_interned_string_int (zend_string.c:97)
==19590==    by 0xE9E2F7: zend_insert_literal (zend_compile.c:343)
==19590==    by 0xE9E533: zend_add_literal (zend_compile.c:366)
==19590==    by 0xEA2598: zend_do_echo (zend_compile.c:877)
==19590==    by 0xE58C7E: zendparse (zend_language_parser.y:339)
==19590==    by 0xE65ACE: compile_file (zend_language_scanner.l:586)
==19590==    by 0xAA2F65: phar_compile_file (phar.c:3370)
==19590==    by 0xEF2107: zend_execute_scripts (zend.c:1333)
==19590==    by 0xE0E799: php_execute_script (main.c:2613)
==19590==    by 0x10ACC52: do_cli (php_cli.c:998)
==19590==    by 0x10AE44B: main (php_cli.c:1382)
==19590== 
==19590== Use of uninitialised value of size 8
==19590==    at 0xF37F85: zend_new_interned_string_int (zend_string.c:133)
==19590==    by 0xE9E2F7: zend_insert_literal (zend_compile.c:343)
==19590==    by 0xE9E533: zend_add_literal (zend_compile.c:366)
==19590==    by 0xEA2598: zend_do_echo (zend_compile.c:877)
==19590==    by 0xE58C7E: zendparse (zend_language_parser.y:339)
==19590==    by 0xE65ACE: compile_file (zend_language_scanner.l:586)
==19590==    by 0xAA2F65: phar_compile_file (phar.c:3370)
==19590==    by 0xEF2107: zend_execute_scripts (zend.c:1333)
==19590==    by 0xE0E799: php_execute_script (main.c:2613)
==19590==    by 0x10ACC52: do_cli (php_cli.c:998)
==19590==    by 0x10AE44B: main (php_cli.c:1382)
==19590== 
==19590== Use of uninitialised value of size 8
==19590==    at 0xF380C1: zend_new_interned_string_int (zend_string.c:151)
==19590==    by 0xE9E2F7: zend_insert_literal (zend_compile.c:343)
==19590==    by 0xE9E533: zend_add_literal (zend_compile.c:366)
==19590==    by 0xEA2598: zend_do_echo (zend_compile.c:877)
==19590==    by 0xE58C7E: zendparse (zend_language_parser.y:339)
==19590==    by 0xE65ACE: compile_file (zend_language_scanner.l:586)
==19590==    by 0xAA2F65: phar_compile_file (phar.c:3370)
==19590==    by 0xEF2107: zend_execute_scripts (zend.c:1333)
==19590==    by 0xE0E799: php_execute_script (main.c:2613)
==19590==    by 0x10ACC52: do_cli (php_cli.c:998)
==19590==    by 0x10AE44B: main (php_cli.c:1382)
==19590== 
==19590== Conditional jump or move depends on uninitialised value(s)
==19590==    at 0xE678B9: lex_scan (zend_language_scanner.c:1082)
==19590==    by 0xEC57DC: zendlex (zend_compile.c:6919)
==19590==    by 0xE57964: zendparse (zend_language_parser.c:3742)
==19590==    by 0xE65ACE: compile_file (zend_language_scanner.l:586)
==19590==    by 0xAA2F65: phar_compile_file (phar.c:3370)
==19590==    by 0xEF2107: zend_execute_scripts (zend.c:1333)
==19590==    by 0xE0E799: php_execute_script (main.c:2613)
==19590==    by 0x10ACC52: do_cli (php_cli.c:998)
==19590==    by 0x10AE44B: main (php_cli.c:1382)
==19590== 
==19590== Syscall param write(buf) points to uninitialised byte(s)
==19590==    at 0xD23B7D0: __write_nocancel (in /lib64/libc-2.12.so)
==19590==    by 0x10AA560: sapi_cli_single_write (php_cli.c:277)
==19590==    by 0x10AA6ED: sapi_cli_ub_write (php_cli.c:312)
==19590==    by 0xE340E6: php_output_op (output.c:1094)
==19590==    by 0xE30F16: php_output_write (output.c:270)
==19590==    by 0xE0CA09: php_output_wrapper (main.c:1962)
==19590==    by 0xEEEBCB: zend_print_zval_ex (zend.c:332)
==19590==    by 0xEEEAA9: zend_print_zval (zend.c:313)
==19590==    by 0xEED111: zend_print_variable (zend_variables.c:160)
==19590==    by 0xF6A57D: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2409)
==19590==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==19590==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==19590==  Address 0x141b2274 is 339,652 bytes inside a block of size 1,048,576 alloc'd
==19590==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19590==    by 0xF37AA1: zend_interned_strings_init (zend_string.c:48)
==19590==    by 0xEEFCFC: zend_startup (zend.c:747)
==19590==    by 0xE0CEFA: php_module_startup (main.c:2149)
==19590==    by 0x10AACBF: php_cli_startup (php_cli.c:421)
==19590==    by 0x10AE352: main (php_cli.c:1362)
==19590== 

 

Generated at Tue, 13 Feb 2018 22:58:06 +0000 (7 days ago)

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