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

==28171== Conditional jump or move depends on uninitialised value(s)
==28171==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==28171==    by 0xDE4A8F: lex_scan (zend_language_scanner.l:1757)
==28171==    by 0xE420D0: zendlex (zend_compile.c:6900)
==28171==    by 0xDD49D0: zendparse (zend_language_parser.c:3742)
==28171==    by 0xDE2B3A: compile_file (zend_language_scanner.l:586)
==28171==    by 0xA42912: phar_compile_file (phar.c:3360)
==28171==    by 0xE6E7B4: zend_execute_scripts (zend.c:1333)
==28171==    by 0xD8CD1B: php_execute_script (main.c:2597)
==28171==    by 0x102612E: do_cli (php_cli.c:994)
==28171==    by 0x10278DB: main (php_cli.c:1378)
==28171== 
==28171== Conditional jump or move depends on uninitialised value(s)
==28171==    at 0xDE4E48: lex_scan (zend_language_scanner.l:1805)
==28171==    by 0xE420D0: zendlex (zend_compile.c:6900)
==28171==    by 0xDD49D0: zendparse (zend_language_parser.c:3742)
==28171==    by 0xDE2B3A: compile_file (zend_language_scanner.l:586)
==28171==    by 0xA42912: phar_compile_file (phar.c:3360)
==28171==    by 0xE6E7B4: zend_execute_scripts (zend.c:1333)
==28171==    by 0xD8CD1B: php_execute_script (main.c:2597)
==28171==    by 0x102612E: do_cli (php_cli.c:994)
==28171==    by 0x10278DB: main (php_cli.c:1378)
==28171== 
==28171== Conditional jump or move depends on uninitialised value(s)
==28171==    at 0xDE4E68: lex_scan (zend_language_scanner.l:1805)
==28171==    by 0xE420D0: zendlex (zend_compile.c:6900)
==28171==    by 0xDD49D0: zendparse (zend_language_parser.c:3742)
==28171==    by 0xDE2B3A: compile_file (zend_language_scanner.l:586)
==28171==    by 0xA42912: phar_compile_file (phar.c:3360)
==28171==    by 0xE6E7B4: zend_execute_scripts (zend.c:1333)
==28171==    by 0xD8CD1B: php_execute_script (main.c:2597)
==28171==    by 0x102612E: do_cli (php_cli.c:994)
==28171==    by 0x10278DB: main (php_cli.c:1378)
==28171== 
==28171== Use of uninitialised value of size 8
==28171==    at 0xEB3179: zend_new_interned_string_int (zend_string.c:97)
==28171==    by 0xE1AE73: zend_insert_literal (zend_compile.c:343)
==28171==    by 0xE1B0AF: zend_add_literal (zend_compile.c:366)
==28171==    by 0xE1F114: zend_do_echo (zend_compile.c:877)
==28171==    by 0xDD5CEA: zendparse (zend_language_parser.y:339)
==28171==    by 0xDE2B3A: compile_file (zend_language_scanner.l:586)
==28171==    by 0xA42912: phar_compile_file (phar.c:3360)
==28171==    by 0xE6E7B4: zend_execute_scripts (zend.c:1333)
==28171==    by 0xD8CD1B: php_execute_script (main.c:2597)
==28171==    by 0x102612E: do_cli (php_cli.c:994)
==28171==    by 0x10278DB: main (php_cli.c:1378)
==28171== 
==28171== Use of uninitialised value of size 8
==28171==    at 0xEB33A1: zend_new_interned_string_int (zend_string.c:133)
==28171==    by 0xE1AE73: zend_insert_literal (zend_compile.c:343)
==28171==    by 0xE1B0AF: zend_add_literal (zend_compile.c:366)
==28171==    by 0xE1F114: zend_do_echo (zend_compile.c:877)
==28171==    by 0xDD5CEA: zendparse (zend_language_parser.y:339)
==28171==    by 0xDE2B3A: compile_file (zend_language_scanner.l:586)
==28171==    by 0xA42912: phar_compile_file (phar.c:3360)
==28171==    by 0xE6E7B4: zend_execute_scripts (zend.c:1333)
==28171==    by 0xD8CD1B: php_execute_script (main.c:2597)
==28171==    by 0x102612E: do_cli (php_cli.c:994)
==28171==    by 0x10278DB: main (php_cli.c:1378)
==28171== 
==28171== Use of uninitialised value of size 8
==28171==    at 0xEB34DD: zend_new_interned_string_int (zend_string.c:151)
==28171==    by 0xE1AE73: zend_insert_literal (zend_compile.c:343)
==28171==    by 0xE1B0AF: zend_add_literal (zend_compile.c:366)
==28171==    by 0xE1F114: zend_do_echo (zend_compile.c:877)
==28171==    by 0xDD5CEA: zendparse (zend_language_parser.y:339)
==28171==    by 0xDE2B3A: compile_file (zend_language_scanner.l:586)
==28171==    by 0xA42912: phar_compile_file (phar.c:3360)
==28171==    by 0xE6E7B4: zend_execute_scripts (zend.c:1333)
==28171==    by 0xD8CD1B: php_execute_script (main.c:2597)
==28171==    by 0x102612E: do_cli (php_cli.c:994)
==28171==    by 0x10278DB: main (php_cli.c:1378)
==28171== 
==28171== Conditional jump or move depends on uninitialised value(s)
==28171==    at 0xDE4925: lex_scan (zend_language_scanner.c:1082)
==28171==    by 0xE420D0: zendlex (zend_compile.c:6900)
==28171==    by 0xDD49D0: zendparse (zend_language_parser.c:3742)
==28171==    by 0xDE2B3A: compile_file (zend_language_scanner.l:586)
==28171==    by 0xA42912: phar_compile_file (phar.c:3360)
==28171==    by 0xE6E7B4: zend_execute_scripts (zend.c:1333)
==28171==    by 0xD8CD1B: php_execute_script (main.c:2597)
==28171==    by 0x102612E: do_cli (php_cli.c:994)
==28171==    by 0x10278DB: main (php_cli.c:1378)
==28171== 
==28171== Syscall param write(buf) points to uninitialised byte(s)
==28171==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==28171==    by 0x1023A3C: sapi_cli_single_write (php_cli.c:273)
==28171==    by 0x1023BC9: sapi_cli_ub_write (php_cli.c:308)
==28171==    by 0xDB198A: php_output_op (output.c:1094)
==28171==    by 0xDAE7BA: php_output_write (output.c:270)
==28171==    by 0xD8AF74: php_output_wrapper (main.c:1945)
==28171==    by 0xE6B2C7: zend_print_zval_ex (zend.c:332)
==28171==    by 0xE6B1A5: zend_print_zval (zend.c:313)
==28171==    by 0xE6980D: zend_print_variable (zend_variables.c:160)
==28171==    by 0xEE591E: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2406)
==28171==    by 0xED8EF2: execute_ex (zend_vm_execute.h:363)
==28171==    by 0xED9A95: zend_execute (zend_vm_execute.h:388)
==28171==  Address 0x1417ca94 is 339,460 bytes inside a block of size 1,048,576 alloc'd
==28171==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==28171==    by 0xEB2EBD: zend_interned_strings_init (zend_string.c:48)
==28171==    by 0xE6C3F8: zend_startup (zend.c:747)
==28171==    by 0xD8B465: php_module_startup (main.c:2132)
==28171==    by 0x102419B: php_cli_startup (php_cli.c:417)
==28171==    by 0x10277E2: main (php_cli.c:1358)
==28171== 

 

Generated at Sun, 12 Apr 2015 11:30:11 +0000 (7 days ago)

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