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

==14584== Conditional jump or move depends on uninitialised value(s)
==14584==    at 0x4C2A4A0: memchr (vg_replace_strmem.c:883)
==14584==    by 0xE52047: lex_scan (zend_language_scanner.l:1757)
==14584==    by 0xEAFB66: zendlex (zend_compile.c:6913)
==14584==    by 0xE41F88: zendparse (zend_language_parser.c:3742)
==14584==    by 0xE500F2: compile_file (zend_language_scanner.l:586)
==14584==    by 0xA9B904: phar_compile_file (phar.c:3371)
==14584==    by 0xEDC37C: zend_execute_scripts (zend.c:1333)
==14584==    by 0xDF985D: php_execute_script (main.c:2613)
==14584==    by 0x1096302: do_cli (php_cli.c:994)
==14584==    by 0x1097AAF: main (php_cli.c:1378)
==14584== 
==14584== Conditional jump or move depends on uninitialised value(s)
==14584==    at 0xE52400: lex_scan (zend_language_scanner.l:1805)
==14584==    by 0xEAFB66: zendlex (zend_compile.c:6913)
==14584==    by 0xE41F88: zendparse (zend_language_parser.c:3742)
==14584==    by 0xE500F2: compile_file (zend_language_scanner.l:586)
==14584==    by 0xA9B904: phar_compile_file (phar.c:3371)
==14584==    by 0xEDC37C: zend_execute_scripts (zend.c:1333)
==14584==    by 0xDF985D: php_execute_script (main.c:2613)
==14584==    by 0x1096302: do_cli (php_cli.c:994)
==14584==    by 0x1097AAF: main (php_cli.c:1378)
==14584== 
==14584== Conditional jump or move depends on uninitialised value(s)
==14584==    at 0xE52420: lex_scan (zend_language_scanner.l:1805)
==14584==    by 0xEAFB66: zendlex (zend_compile.c:6913)
==14584==    by 0xE41F88: zendparse (zend_language_parser.c:3742)
==14584==    by 0xE500F2: compile_file (zend_language_scanner.l:586)
==14584==    by 0xA9B904: phar_compile_file (phar.c:3371)
==14584==    by 0xEDC37C: zend_execute_scripts (zend.c:1333)
==14584==    by 0xDF985D: php_execute_script (main.c:2613)
==14584==    by 0x1096302: do_cli (php_cli.c:994)
==14584==    by 0x1097AAF: main (php_cli.c:1378)
==14584== 
==14584== Use of uninitialised value of size 8
==14584==    at 0xF21D15: zend_new_interned_string_int (zend_string.c:97)
==14584==    by 0xE8877B: zend_insert_literal (zend_compile.c:343)
==14584==    by 0xE889B7: zend_add_literal (zend_compile.c:366)
==14584==    by 0xE8CA1C: zend_do_echo (zend_compile.c:877)
==14584==    by 0xE432A2: zendparse (zend_language_parser.y:339)
==14584==    by 0xE500F2: compile_file (zend_language_scanner.l:586)
==14584==    by 0xA9B904: phar_compile_file (phar.c:3371)
==14584==    by 0xEDC37C: zend_execute_scripts (zend.c:1333)
==14584==    by 0xDF985D: php_execute_script (main.c:2613)
==14584==    by 0x1096302: do_cli (php_cli.c:994)
==14584==    by 0x1097AAF: main (php_cli.c:1378)
==14584== 
==14584== Use of uninitialised value of size 8
==14584==    at 0xF21F3D: zend_new_interned_string_int (zend_string.c:133)
==14584==    by 0xE8877B: zend_insert_literal (zend_compile.c:343)
==14584==    by 0xE889B7: zend_add_literal (zend_compile.c:366)
==14584==    by 0xE8CA1C: zend_do_echo (zend_compile.c:877)
==14584==    by 0xE432A2: zendparse (zend_language_parser.y:339)
==14584==    by 0xE500F2: compile_file (zend_language_scanner.l:586)
==14584==    by 0xA9B904: phar_compile_file (phar.c:3371)
==14584==    by 0xEDC37C: zend_execute_scripts (zend.c:1333)
==14584==    by 0xDF985D: php_execute_script (main.c:2613)
==14584==    by 0x1096302: do_cli (php_cli.c:994)
==14584==    by 0x1097AAF: main (php_cli.c:1378)
==14584== 
==14584== Use of uninitialised value of size 8
==14584==    at 0xF22079: zend_new_interned_string_int (zend_string.c:151)
==14584==    by 0xE8877B: zend_insert_literal (zend_compile.c:343)
==14584==    by 0xE889B7: zend_add_literal (zend_compile.c:366)
==14584==    by 0xE8CA1C: zend_do_echo (zend_compile.c:877)
==14584==    by 0xE432A2: zendparse (zend_language_parser.y:339)
==14584==    by 0xE500F2: compile_file (zend_language_scanner.l:586)
==14584==    by 0xA9B904: phar_compile_file (phar.c:3371)
==14584==    by 0xEDC37C: zend_execute_scripts (zend.c:1333)
==14584==    by 0xDF985D: php_execute_script (main.c:2613)
==14584==    by 0x1096302: do_cli (php_cli.c:994)
==14584==    by 0x1097AAF: main (php_cli.c:1378)
==14584== 
==14584== Conditional jump or move depends on uninitialised value(s)
==14584==    at 0xE51EDD: lex_scan (zend_language_scanner.c:1082)
==14584==    by 0xEAFB66: zendlex (zend_compile.c:6913)
==14584==    by 0xE41F88: zendparse (zend_language_parser.c:3742)
==14584==    by 0xE500F2: compile_file (zend_language_scanner.l:586)
==14584==    by 0xA9B904: phar_compile_file (phar.c:3371)
==14584==    by 0xEDC37C: zend_execute_scripts (zend.c:1333)
==14584==    by 0xDF985D: php_execute_script (main.c:2613)
==14584==    by 0x1096302: do_cli (php_cli.c:994)
==14584==    by 0x1097AAF: main (php_cli.c:1378)
==14584== 
==14584== Syscall param write(buf) points to uninitialised byte(s)
==14584==    at 0xD2396D0: __write_nocancel (in /lib64/libc-2.12.so)
==14584==    by 0x1093C10: sapi_cli_single_write (php_cli.c:273)
==14584==    by 0x1093D9D: sapi_cli_ub_write (php_cli.c:308)
==14584==    by 0xE1EE12: php_output_op (output.c:1094)
==14584==    by 0xE1BC42: php_output_write (output.c:270)
==14584==    by 0xDF7ACD: php_output_wrapper (main.c:1962)
==14584==    by 0xED8E8F: zend_print_zval_ex (zend.c:332)
==14584==    by 0xED8D6D: zend_print_zval (zend.c:313)
==14584==    by 0xED73D5: zend_print_variable (zend_variables.c:160)
==14584==    by 0xF54507: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2409)
==14584==    by 0xF47ABA: execute_ex (zend_vm_execute.h:363)
==14584==    by 0xF4865D: zend_execute (zend_vm_execute.h:388)
==14584==  Address 0x1418ec94 is 339,652 bytes inside a block of size 1,048,576 alloc'd
==14584==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==14584==    by 0xF21A59: zend_interned_strings_init (zend_string.c:48)
==14584==    by 0xED9FC0: zend_startup (zend.c:747)
==14584==    by 0xDF7FBE: php_module_startup (main.c:2149)
==14584==    by 0x109436F: php_cli_startup (php_cli.c:417)
==14584==    by 0x10979B6: main (php_cli.c:1358)
==14584== 

 

Generated at Sun, 24 Jul 2016 07:28:44 +0000 (3 days ago)

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