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

==20636== Conditional jump or move depends on uninitialised value(s)
==20636==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==20636==    by 0xDE096B: lex_scan (zend_language_scanner.l:1757)
==20636==    by 0xE3DDC9: zendlex (zend_compile.c:6881)
==20636==    by 0xDD0870: zendparse (zend_language_parser.c:3742)
==20636==    by 0xDDEA16: compile_file (zend_language_scanner.l:586)
==20636==    by 0xA3F576: phar_compile_file (phar.c:3360)
==20636==    by 0xE6A3C4: zend_execute_scripts (zend.c:1336)
==20636==    by 0xD88C49: php_execute_script (main.c:2584)
==20636==    by 0x101D0B6: do_cli (php_cli.c:994)
==20636==    by 0x101E863: main (php_cli.c:1378)
==20636== 
==20636== Conditional jump or move depends on uninitialised value(s)
==20636==    at 0xDE0D24: lex_scan (zend_language_scanner.l:1805)
==20636==    by 0xE3DDC9: zendlex (zend_compile.c:6881)
==20636==    by 0xDD0870: zendparse (zend_language_parser.c:3742)
==20636==    by 0xDDEA16: compile_file (zend_language_scanner.l:586)
==20636==    by 0xA3F576: phar_compile_file (phar.c:3360)
==20636==    by 0xE6A3C4: zend_execute_scripts (zend.c:1336)
==20636==    by 0xD88C49: php_execute_script (main.c:2584)
==20636==    by 0x101D0B6: do_cli (php_cli.c:994)
==20636==    by 0x101E863: main (php_cli.c:1378)
==20636== 
==20636== Conditional jump or move depends on uninitialised value(s)
==20636==    at 0xDE0D44: lex_scan (zend_language_scanner.l:1805)
==20636==    by 0xE3DDC9: zendlex (zend_compile.c:6881)
==20636==    by 0xDD0870: zendparse (zend_language_parser.c:3742)
==20636==    by 0xDDEA16: compile_file (zend_language_scanner.l:586)
==20636==    by 0xA3F576: phar_compile_file (phar.c:3360)
==20636==    by 0xE6A3C4: zend_execute_scripts (zend.c:1336)
==20636==    by 0xD88C49: php_execute_script (main.c:2584)
==20636==    by 0x101D0B6: do_cli (php_cli.c:994)
==20636==    by 0x101E863: main (php_cli.c:1378)
==20636== 
==20636== Use of uninitialised value of size 8
==20636==    at 0xEAED61: zend_new_interned_string_int (zend_string.c:97)
==20636==    by 0xE16D4F: zend_insert_literal (zend_compile.c:343)
==20636==    by 0xE16F8B: zend_add_literal (zend_compile.c:366)
==20636==    by 0xE1AFF0: zend_do_echo (zend_compile.c:877)
==20636==    by 0xDD1BC6: zendparse (zend_language_parser.y:339)
==20636==    by 0xDDEA16: compile_file (zend_language_scanner.l:586)
==20636==    by 0xA3F576: phar_compile_file (phar.c:3360)
==20636==    by 0xE6A3C4: zend_execute_scripts (zend.c:1336)
==20636==    by 0xD88C49: php_execute_script (main.c:2584)
==20636==    by 0x101D0B6: do_cli (php_cli.c:994)
==20636==    by 0x101E863: main (php_cli.c:1378)
==20636== 
==20636== Use of uninitialised value of size 8
==20636==    at 0xEAEF89: zend_new_interned_string_int (zend_string.c:133)
==20636==    by 0xE16D4F: zend_insert_literal (zend_compile.c:343)
==20636==    by 0xE16F8B: zend_add_literal (zend_compile.c:366)
==20636==    by 0xE1AFF0: zend_do_echo (zend_compile.c:877)
==20636==    by 0xDD1BC6: zendparse (zend_language_parser.y:339)
==20636==    by 0xDDEA16: compile_file (zend_language_scanner.l:586)
==20636==    by 0xA3F576: phar_compile_file (phar.c:3360)
==20636==    by 0xE6A3C4: zend_execute_scripts (zend.c:1336)
==20636==    by 0xD88C49: php_execute_script (main.c:2584)
==20636==    by 0x101D0B6: do_cli (php_cli.c:994)
==20636==    by 0x101E863: main (php_cli.c:1378)
==20636== 
==20636== Use of uninitialised value of size 8
==20636==    at 0xEAF0C5: zend_new_interned_string_int (zend_string.c:151)
==20636==    by 0xE16D4F: zend_insert_literal (zend_compile.c:343)
==20636==    by 0xE16F8B: zend_add_literal (zend_compile.c:366)
==20636==    by 0xE1AFF0: zend_do_echo (zend_compile.c:877)
==20636==    by 0xDD1BC6: zendparse (zend_language_parser.y:339)
==20636==    by 0xDDEA16: compile_file (zend_language_scanner.l:586)
==20636==    by 0xA3F576: phar_compile_file (phar.c:3360)
==20636==    by 0xE6A3C4: zend_execute_scripts (zend.c:1336)
==20636==    by 0xD88C49: php_execute_script (main.c:2584)
==20636==    by 0x101D0B6: do_cli (php_cli.c:994)
==20636==    by 0x101E863: main (php_cli.c:1378)
==20636== 
==20636== Conditional jump or move depends on uninitialised value(s)
==20636==    at 0xDE0801: lex_scan (zend_language_scanner.c:1082)
==20636==    by 0xE3DDC9: zendlex (zend_compile.c:6881)
==20636==    by 0xDD0870: zendparse (zend_language_parser.c:3742)
==20636==    by 0xDDEA16: compile_file (zend_language_scanner.l:586)
==20636==    by 0xA3F576: phar_compile_file (phar.c:3360)
==20636==    by 0xE6A3C4: zend_execute_scripts (zend.c:1336)
==20636==    by 0xD88C49: php_execute_script (main.c:2584)
==20636==    by 0x101D0B6: do_cli (php_cli.c:994)
==20636==    by 0x101E863: main (php_cli.c:1378)
==20636== 
==20636== Syscall param write(buf) points to uninitialised byte(s)
==20636==    at 0xD235600: __write_nocancel (in /lib64/libc-2.12.so)
==20636==    by 0x101A9C4: sapi_cli_single_write (php_cli.c:273)
==20636==    by 0x101AB51: sapi_cli_ub_write (php_cli.c:308)
==20636==    by 0xDAD90A: php_output_op (output.c:1093)
==20636==    by 0xDAA73A: php_output_write (output.c:269)
==20636==    by 0xD86FA8: php_output_wrapper (main.c:1947)
==20636==    by 0xE66ED7: zend_print_zval_ex (zend.c:332)
==20636==    by 0xE66DB5: zend_print_zval (zend.c:313)
==20636==    by 0xE6541D: zend_print_variable (zend_variables.c:160)
==20636==    by 0xEE1482: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2402)
==20636==    by 0xED4ACA: execute_ex (zend_vm_execute.h:363)
==20636==    by 0xED566D: zend_execute (zend_vm_execute.h:388)
==20636==  Address 0x1463ef34 is 339,460 bytes inside a block of size 1,048,576 alloc'd
==20636==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==20636==    by 0xEAEAA5: zend_interned_strings_init (zend_string.c:48)
==20636==    by 0xE68008: zend_startup (zend.c:747)
==20636==    by 0xD87499: php_module_startup (main.c:2134)
==20636==    by 0x101B123: php_cli_startup (php_cli.c:417)
==20636==    by 0x101E76A: main (php_cli.c:1358)
==20636== 

 

Generated at Wed, 10 Dec 2014 19:30:08 +0000 (12 days ago)

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