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

==28526== Conditional jump or move depends on uninitialised value(s)
==28526==    at 0x4C2A2D0: memchr (vg_replace_strmem.c:883)
==28526==    by 0xE6A2BF: lex_scan (zend_language_scanner.l:1757)
==28526==    by 0xEC8078: zendlex (zend_compile.c:6919)
==28526==    by 0xE5A200: zendparse (zend_language_parser.c:3742)
==28526==    by 0xE6836A: compile_file (zend_language_scanner.l:586)
==28526==    by 0xAA5E28: phar_compile_file (phar.c:3371)
==28526==    by 0xEF49A3: zend_execute_scripts (zend.c:1333)
==28526==    by 0xE110A1: php_execute_script (main.c:2613)
==28526==    by 0x10AF4EE: do_cli (php_cli.c:998)
==28526==    by 0x10B0CE7: main (php_cli.c:1382)
==28526== 
==28526== Conditional jump or move depends on uninitialised value(s)
==28526==    at 0xE6A678: lex_scan (zend_language_scanner.l:1805)
==28526==    by 0xEC8078: zendlex (zend_compile.c:6919)
==28526==    by 0xE5A200: zendparse (zend_language_parser.c:3742)
==28526==    by 0xE6836A: compile_file (zend_language_scanner.l:586)
==28526==    by 0xAA5E28: phar_compile_file (phar.c:3371)
==28526==    by 0xEF49A3: zend_execute_scripts (zend.c:1333)
==28526==    by 0xE110A1: php_execute_script (main.c:2613)
==28526==    by 0x10AF4EE: do_cli (php_cli.c:998)
==28526==    by 0x10B0CE7: main (php_cli.c:1382)
==28526== 
==28526== Conditional jump or move depends on uninitialised value(s)
==28526==    at 0xE6A698: lex_scan (zend_language_scanner.l:1805)
==28526==    by 0xEC8078: zendlex (zend_compile.c:6919)
==28526==    by 0xE5A200: zendparse (zend_language_parser.c:3742)
==28526==    by 0xE6836A: compile_file (zend_language_scanner.l:586)
==28526==    by 0xAA5E28: phar_compile_file (phar.c:3371)
==28526==    by 0xEF49A3: zend_execute_scripts (zend.c:1333)
==28526==    by 0xE110A1: php_execute_script (main.c:2613)
==28526==    by 0x10AF4EE: do_cli (php_cli.c:998)
==28526==    by 0x10B0CE7: main (php_cli.c:1382)
==28526== 
==28526== Use of uninitialised value of size 8
==28526==    at 0xF3A5F9: zend_new_interned_string_int (zend_string.c:97)
==28526==    by 0xEA0B93: zend_insert_literal (zend_compile.c:343)
==28526==    by 0xEA0DCF: zend_add_literal (zend_compile.c:366)
==28526==    by 0xEA4E34: zend_do_echo (zend_compile.c:877)
==28526==    by 0xE5B51A: zendparse (zend_language_parser.y:339)
==28526==    by 0xE6836A: compile_file (zend_language_scanner.l:586)
==28526==    by 0xAA5E28: phar_compile_file (phar.c:3371)
==28526==    by 0xEF49A3: zend_execute_scripts (zend.c:1333)
==28526==    by 0xE110A1: php_execute_script (main.c:2613)
==28526==    by 0x10AF4EE: do_cli (php_cli.c:998)
==28526==    by 0x10B0CE7: main (php_cli.c:1382)
==28526== 
==28526== Use of uninitialised value of size 8
==28526==    at 0xF3A821: zend_new_interned_string_int (zend_string.c:133)
==28526==    by 0xEA0B93: zend_insert_literal (zend_compile.c:343)
==28526==    by 0xEA0DCF: zend_add_literal (zend_compile.c:366)
==28526==    by 0xEA4E34: zend_do_echo (zend_compile.c:877)
==28526==    by 0xE5B51A: zendparse (zend_language_parser.y:339)
==28526==    by 0xE6836A: compile_file (zend_language_scanner.l:586)
==28526==    by 0xAA5E28: phar_compile_file (phar.c:3371)
==28526==    by 0xEF49A3: zend_execute_scripts (zend.c:1333)
==28526==    by 0xE110A1: php_execute_script (main.c:2613)
==28526==    by 0x10AF4EE: do_cli (php_cli.c:998)
==28526==    by 0x10B0CE7: main (php_cli.c:1382)
==28526== 
==28526== Use of uninitialised value of size 8
==28526==    at 0xF3A95D: zend_new_interned_string_int (zend_string.c:151)
==28526==    by 0xEA0B93: zend_insert_literal (zend_compile.c:343)
==28526==    by 0xEA0DCF: zend_add_literal (zend_compile.c:366)
==28526==    by 0xEA4E34: zend_do_echo (zend_compile.c:877)
==28526==    by 0xE5B51A: zendparse (zend_language_parser.y:339)
==28526==    by 0xE6836A: compile_file (zend_language_scanner.l:586)
==28526==    by 0xAA5E28: phar_compile_file (phar.c:3371)
==28526==    by 0xEF49A3: zend_execute_scripts (zend.c:1333)
==28526==    by 0xE110A1: php_execute_script (main.c:2613)
==28526==    by 0x10AF4EE: do_cli (php_cli.c:998)
==28526==    by 0x10B0CE7: main (php_cli.c:1382)
==28526== 
==28526== Conditional jump or move depends on uninitialised value(s)
==28526==    at 0xE6A155: lex_scan (zend_language_scanner.c:1082)
==28526==    by 0xEC8078: zendlex (zend_compile.c:6919)
==28526==    by 0xE5A200: zendparse (zend_language_parser.c:3742)
==28526==    by 0xE6836A: compile_file (zend_language_scanner.l:586)
==28526==    by 0xAA5E28: phar_compile_file (phar.c:3371)
==28526==    by 0xEF49A3: zend_execute_scripts (zend.c:1333)
==28526==    by 0xE110A1: php_execute_script (main.c:2613)
==28526==    by 0x10AF4EE: do_cli (php_cli.c:998)
==28526==    by 0x10B0CE7: main (php_cli.c:1382)
==28526== 
==28526== Syscall param write(buf) points to uninitialised byte(s)
==28526==    at 0xD2396D0: __write_nocancel (in /lib64/libc-2.12.so)
==28526==    by 0x10ACDFC: sapi_cli_single_write (php_cli.c:277)
==28526==    by 0x10ACF89: sapi_cli_ub_write (php_cli.c:312)
==28526==    by 0xE36982: php_output_op (output.c:1094)
==28526==    by 0xE337B2: php_output_write (output.c:270)
==28526==    by 0xE0F311: php_output_wrapper (main.c:1962)
==28526==    by 0xEF1467: zend_print_zval_ex (zend.c:332)
==28526==    by 0xEF1345: zend_print_zval (zend.c:313)
==28526==    by 0xEEF9AD: zend_print_variable (zend_variables.c:160)
==28526==    by 0xF6CE19: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2409)
==28526==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==28526==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==28526==  Address 0x1418ec94 is 339,652 bytes inside a block of size 1,048,576 alloc'd
==28526==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==28526==    by 0xF3A33D: zend_interned_strings_init (zend_string.c:48)
==28526==    by 0xEF2598: zend_startup (zend.c:747)
==28526==    by 0xE0F802: php_module_startup (main.c:2149)
==28526==    by 0x10AD55B: php_cli_startup (php_cli.c:421)
==28526==    by 0x10B0BEE: main (php_cli.c:1362)
==28526== 

 

Generated at Fri, 02 Dec 2016 03:24:46 +0000 (38 hours ago)

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