PHP  
 PHP_5_5
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

==17628== Conditional jump or move depends on uninitialised value(s)
==17628==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==17628==    by 0xDC01D8: lex_scan (zend_language_scanner.l:1815)
==17628==    by 0xE1C8C5: zendlex (zend_compile.c:6761)
==17628==    by 0xDB0C98: zendparse (zend_language_parser.c:3446)
==17628==    by 0xDBE263: compile_file (zend_language_scanner.l:588)
==17628==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==17628==    by 0xE4680D: zend_execute_scripts (zend.c:1322)
==17628==    by 0xD698D4: php_execute_script (main.c:2506)
==17628==    by 0x102AF3D: do_cli (php_cli.c:994)
==17628==    by 0x102C6EA: main (php_cli.c:1378)
==17628== 
==17628== Conditional jump or move depends on uninitialised value(s)
==17628==    at 0xDC0591: lex_scan (zend_language_scanner.l:1863)
==17628==    by 0xE1C8C5: zendlex (zend_compile.c:6761)
==17628==    by 0xDB0C98: zendparse (zend_language_parser.c:3446)
==17628==    by 0xDBE263: compile_file (zend_language_scanner.l:588)
==17628==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==17628==    by 0xE4680D: zend_execute_scripts (zend.c:1322)
==17628==    by 0xD698D4: php_execute_script (main.c:2506)
==17628==    by 0x102AF3D: do_cli (php_cli.c:994)
==17628==    by 0x102C6EA: main (php_cli.c:1378)
==17628== 
==17628== Conditional jump or move depends on uninitialised value(s)
==17628==    at 0xDC05B1: lex_scan (zend_language_scanner.l:1863)
==17628==    by 0xE1C8C5: zendlex (zend_compile.c:6761)
==17628==    by 0xDB0C98: zendparse (zend_language_parser.c:3446)
==17628==    by 0xDBE263: compile_file (zend_language_scanner.l:588)
==17628==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==17628==    by 0xE4680D: zend_execute_scripts (zend.c:1322)
==17628==    by 0xD698D4: php_execute_script (main.c:2506)
==17628==    by 0x102AF3D: do_cli (php_cli.c:994)
==17628==    by 0x102C6EA: main (php_cli.c:1378)
==17628== 
==17628== Use of uninitialised value of size 8
==17628==    at 0xE8AF35: zend_new_interned_string_int (zend_string.c:95)
==17628==    by 0xDF4208: zend_insert_literal (zend_compile.c:339)
==17628==    by 0xDF4444: zend_add_literal (zend_compile.c:362)
==17628==    by 0xDF9006: zend_do_echo (zend_compile.c:869)
==17628==    by 0xDB1D75: zendparse (zend_language_parser.y:309)
==17628==    by 0xDBE263: compile_file (zend_language_scanner.l:588)
==17628==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==17628==    by 0xE4680D: zend_execute_scripts (zend.c:1322)
==17628==    by 0xD698D4: php_execute_script (main.c:2506)
==17628==    by 0x102AF3D: do_cli (php_cli.c:994)
==17628==    by 0x102C6EA: main (php_cli.c:1378)
==17628== 
==17628== Use of uninitialised value of size 8
==17628==    at 0xE8B15D: zend_new_interned_string_int (zend_string.c:131)
==17628==    by 0xDF4208: zend_insert_literal (zend_compile.c:339)
==17628==    by 0xDF4444: zend_add_literal (zend_compile.c:362)
==17628==    by 0xDF9006: zend_do_echo (zend_compile.c:869)
==17628==    by 0xDB1D75: zendparse (zend_language_parser.y:309)
==17628==    by 0xDBE263: compile_file (zend_language_scanner.l:588)
==17628==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==17628==    by 0xE4680D: zend_execute_scripts (zend.c:1322)
==17628==    by 0xD698D4: php_execute_script (main.c:2506)
==17628==    by 0x102AF3D: do_cli (php_cli.c:994)
==17628==    by 0x102C6EA: main (php_cli.c:1378)
==17628== 
==17628== Use of uninitialised value of size 8
==17628==    at 0xE8B299: zend_new_interned_string_int (zend_string.c:149)
==17628==    by 0xDF4208: zend_insert_literal (zend_compile.c:339)
==17628==    by 0xDF4444: zend_add_literal (zend_compile.c:362)
==17628==    by 0xDF9006: zend_do_echo (zend_compile.c:869)
==17628==    by 0xDB1D75: zendparse (zend_language_parser.y:309)
==17628==    by 0xDBE263: compile_file (zend_language_scanner.l:588)
==17628==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==17628==    by 0xE4680D: zend_execute_scripts (zend.c:1322)
==17628==    by 0xD698D4: php_execute_script (main.c:2506)
==17628==    by 0x102AF3D: do_cli (php_cli.c:994)
==17628==    by 0x102C6EA: main (php_cli.c:1378)
==17628== 
==17628== Conditional jump or move depends on uninitialised value(s)
==17628==    at 0xDC006E: lex_scan (zend_language_scanner.c:1091)
==17628==    by 0xE1C8C5: zendlex (zend_compile.c:6761)
==17628==    by 0xDB0C98: zendparse (zend_language_parser.c:3446)
==17628==    by 0xDBE263: compile_file (zend_language_scanner.l:588)
==17628==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==17628==    by 0xE4680D: zend_execute_scripts (zend.c:1322)
==17628==    by 0xD698D4: php_execute_script (main.c:2506)
==17628==    by 0x102AF3D: do_cli (php_cli.c:994)
==17628==    by 0x102C6EA: main (php_cli.c:1378)
==17628== 
==17628== Syscall param write(buf) points to uninitialised byte(s)
==17628==    at 0xD22F490: __write_nocancel (in /lib64/libc-2.12.so)
==17628==    by 0x1028842: sapi_cli_single_write (php_cli.c:273)
==17628==    by 0x10289CF: sapi_cli_ub_write (php_cli.c:308)
==17628==    by 0xD8DD1A: php_output_op (output.c:1093)
==17628==    by 0xD8AC1E: php_output_write (output.c:269)
==17628==    by 0xD67C5E: php_output_wrapper (main.c:1868)
==17628==    by 0xE432FA: zend_print_zval_ex (zend.c:331)
==17628==    by 0xE431D8: zend_print_zval (zend.c:312)
==17628==    by 0xE417BD: zend_print_variable (zend_variables.c:155)
==17628==    by 0xEB458B: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2141)
==17628==    by 0xEA97C0: execute_ex (zend_vm_execute.h:363)
==17628==    by 0xEAA352: zend_execute (zend_vm_execute.h:388)
==17628==  Address 0x141ca7f4 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==17628==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==17628==    by 0xE8ACA9: zend_interned_strings_init (zend_string.c:48)
==17628==    by 0xE4443B: zend_startup (zend.c:744)
==17628==    by 0xD6814F: php_module_startup (main.c:2055)
==17628==    by 0x1028FAA: php_cli_startup (php_cli.c:417)
==17628==    by 0x102C5F1: main (php_cli.c:1358)
==17628== 

 

Generated at Tue, 23 Sep 2014 16:38:04 +0000 (6 days ago)

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