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

==32308== Conditional jump or move depends on uninitialised value(s)
==32308==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==32308==    by 0xE1DDB0: lex_scan (zend_language_scanner.l:1815)
==32308==    by 0xE7A833: zendlex (zend_compile.c:6788)
==32308==    by 0xE0E884: zendparse (zend_language_parser.c:3446)
==32308==    by 0xE1BE3B: compile_file (zend_language_scanner.l:588)
==32308==    by 0xA84359: phar_compile_file (phar.c:3388)
==32308==    by 0xEA4829: zend_execute_scripts (zend.c:1319)
==32308==    by 0xDC71AA: php_execute_script (main.c:2525)
==32308==    by 0x108E86D: do_cli (php_cli.c:994)
==32308==    by 0x109001A: main (php_cli.c:1378)
==32308== 
==32308== Conditional jump or move depends on uninitialised value(s)
==32308==    at 0xE1E169: lex_scan (zend_language_scanner.l:1863)
==32308==    by 0xE7A833: zendlex (zend_compile.c:6788)
==32308==    by 0xE0E884: zendparse (zend_language_parser.c:3446)
==32308==    by 0xE1BE3B: compile_file (zend_language_scanner.l:588)
==32308==    by 0xA84359: phar_compile_file (phar.c:3388)
==32308==    by 0xEA4829: zend_execute_scripts (zend.c:1319)
==32308==    by 0xDC71AA: php_execute_script (main.c:2525)
==32308==    by 0x108E86D: do_cli (php_cli.c:994)
==32308==    by 0x109001A: main (php_cli.c:1378)
==32308== 
==32308== Conditional jump or move depends on uninitialised value(s)
==32308==    at 0xE1E189: lex_scan (zend_language_scanner.l:1863)
==32308==    by 0xE7A833: zendlex (zend_compile.c:6788)
==32308==    by 0xE0E884: zendparse (zend_language_parser.c:3446)
==32308==    by 0xE1BE3B: compile_file (zend_language_scanner.l:588)
==32308==    by 0xA84359: phar_compile_file (phar.c:3388)
==32308==    by 0xEA4829: zend_execute_scripts (zend.c:1319)
==32308==    by 0xDC71AA: php_execute_script (main.c:2525)
==32308==    by 0x108E86D: do_cli (php_cli.c:994)
==32308==    by 0x109001A: main (php_cli.c:1378)
==32308== 
==32308== Use of uninitialised value of size 8
==32308==    at 0xEE9C01: zend_new_interned_string_int (zend_string.c:95)
==32308==    by 0xE51E64: zend_insert_literal (zend_compile.c:339)
==32308==    by 0xE520A0: zend_add_literal (zend_compile.c:362)
==32308==    by 0xE56C62: zend_do_echo (zend_compile.c:869)
==32308==    by 0xE0F94D: zendparse (zend_language_parser.y:309)
==32308==    by 0xE1BE3B: compile_file (zend_language_scanner.l:588)
==32308==    by 0xA84359: phar_compile_file (phar.c:3388)
==32308==    by 0xEA4829: zend_execute_scripts (zend.c:1319)
==32308==    by 0xDC71AA: php_execute_script (main.c:2525)
==32308==    by 0x108E86D: do_cli (php_cli.c:994)
==32308==    by 0x109001A: main (php_cli.c:1378)
==32308== 
==32308== Use of uninitialised value of size 8
==32308==    at 0xEE9E29: zend_new_interned_string_int (zend_string.c:131)
==32308==    by 0xE51E64: zend_insert_literal (zend_compile.c:339)
==32308==    by 0xE520A0: zend_add_literal (zend_compile.c:362)
==32308==    by 0xE56C62: zend_do_echo (zend_compile.c:869)
==32308==    by 0xE0F94D: zendparse (zend_language_parser.y:309)
==32308==    by 0xE1BE3B: compile_file (zend_language_scanner.l:588)
==32308==    by 0xA84359: phar_compile_file (phar.c:3388)
==32308==    by 0xEA4829: zend_execute_scripts (zend.c:1319)
==32308==    by 0xDC71AA: php_execute_script (main.c:2525)
==32308==    by 0x108E86D: do_cli (php_cli.c:994)
==32308==    by 0x109001A: main (php_cli.c:1378)
==32308== 
==32308== Use of uninitialised value of size 8
==32308==    at 0xEE9F65: zend_new_interned_string_int (zend_string.c:149)
==32308==    by 0xE51E64: zend_insert_literal (zend_compile.c:339)
==32308==    by 0xE520A0: zend_add_literal (zend_compile.c:362)
==32308==    by 0xE56C62: zend_do_echo (zend_compile.c:869)
==32308==    by 0xE0F94D: zendparse (zend_language_parser.y:309)
==32308==    by 0xE1BE3B: compile_file (zend_language_scanner.l:588)
==32308==    by 0xA84359: phar_compile_file (phar.c:3388)
==32308==    by 0xEA4829: zend_execute_scripts (zend.c:1319)
==32308==    by 0xDC71AA: php_execute_script (main.c:2525)
==32308==    by 0x108E86D: do_cli (php_cli.c:994)
==32308==    by 0x109001A: main (php_cli.c:1378)
==32308== 
==32308== Conditional jump or move depends on uninitialised value(s)
==32308==    at 0xE1DC46: lex_scan (zend_language_scanner.c:1091)
==32308==    by 0xE7A833: zendlex (zend_compile.c:6788)
==32308==    by 0xE0E884: zendparse (zend_language_parser.c:3446)
==32308==    by 0xE1BE3B: compile_file (zend_language_scanner.l:588)
==32308==    by 0xA84359: phar_compile_file (phar.c:3388)
==32308==    by 0xEA4829: zend_execute_scripts (zend.c:1319)
==32308==    by 0xDC71AA: php_execute_script (main.c:2525)
==32308==    by 0x108E86D: do_cli (php_cli.c:994)
==32308==    by 0x109001A: main (php_cli.c:1378)
==32308== 
==32308== Syscall param write(buf) points to uninitialised byte(s)
==32308==    at 0xD2385D0: __write_nocancel (in /lib64/libc-2.12.so)
==32308==    by 0x108C172: sapi_cli_single_write (php_cli.c:273)
==32308==    by 0x108C2FF: sapi_cli_ub_write (php_cli.c:308)
==32308==    by 0xDEB8CB: php_output_op (output.c:1094)
==32308==    by 0xDE87CF: php_output_write (output.c:270)
==32308==    by 0xDC5445: php_output_wrapper (main.c:1873)
==32308==    by 0xEA1316: zend_print_zval_ex (zend.c:331)
==32308==    by 0xEA11F4: zend_print_zval (zend.c:312)
==32308==    by 0xE9F7D9: zend_print_variable (zend_variables.c:155)
==32308==    by 0xF132D2: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2145)
==32308==    by 0xF0849C: execute_ex (zend_vm_execute.h:363)
==32308==    by 0xF0902E: zend_execute (zend_vm_execute.h:388)
==32308==  Address 0x14184b94 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==32308==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==32308==    by 0xEE9975: zend_interned_strings_init (zend_string.c:48)
==32308==    by 0xEA2457: zend_startup (zend.c:744)
==32308==    by 0xDC5936: php_module_startup (main.c:2060)
==32308==    by 0x108C8DA: php_cli_startup (php_cli.c:417)
==32308==    by 0x108FF21: main (php_cli.c:1358)
==32308== 

 

Generated at Sun, 23 Aug 2015 03:59:42 +0000 (8 days ago)

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