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

==23838== Conditional jump or move depends on uninitialised value(s)
==23838==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==23838==    by 0xDE1417: lex_scan (zend_language_scanner.l:1757)
==23838==    by 0xE3E91D: zendlex (zend_compile.c:6881)
==23838==    by 0xDD131C: zendparse (zend_language_parser.c:3742)
==23838==    by 0xDDF4C2: compile_file (zend_language_scanner.l:586)
==23838==    by 0xA3F9D6: phar_compile_file (phar.c:3360)
==23838==    by 0xE6AF18: zend_execute_scripts (zend.c:1333)
==23838==    by 0xD896C9: php_execute_script (main.c:2578)
==23838==    by 0x101DC86: do_cli (php_cli.c:994)
==23838==    by 0x101F433: main (php_cli.c:1378)
==23838== 
==23838== Conditional jump or move depends on uninitialised value(s)
==23838==    at 0xDE17D0: lex_scan (zend_language_scanner.l:1805)
==23838==    by 0xE3E91D: zendlex (zend_compile.c:6881)
==23838==    by 0xDD131C: zendparse (zend_language_parser.c:3742)
==23838==    by 0xDDF4C2: compile_file (zend_language_scanner.l:586)
==23838==    by 0xA3F9D6: phar_compile_file (phar.c:3360)
==23838==    by 0xE6AF18: zend_execute_scripts (zend.c:1333)
==23838==    by 0xD896C9: php_execute_script (main.c:2578)
==23838==    by 0x101DC86: do_cli (php_cli.c:994)
==23838==    by 0x101F433: main (php_cli.c:1378)
==23838== 
==23838== Conditional jump or move depends on uninitialised value(s)
==23838==    at 0xDE17F0: lex_scan (zend_language_scanner.l:1805)
==23838==    by 0xE3E91D: zendlex (zend_compile.c:6881)
==23838==    by 0xDD131C: zendparse (zend_language_parser.c:3742)
==23838==    by 0xDDF4C2: compile_file (zend_language_scanner.l:586)
==23838==    by 0xA3F9D6: phar_compile_file (phar.c:3360)
==23838==    by 0xE6AF18: zend_execute_scripts (zend.c:1333)
==23838==    by 0xD896C9: php_execute_script (main.c:2578)
==23838==    by 0x101DC86: do_cli (php_cli.c:994)
==23838==    by 0x101F433: main (php_cli.c:1378)
==23838== 
==23838== Use of uninitialised value of size 8
==23838==    at 0xEAF931: zend_new_interned_string_int (zend_string.c:97)
==23838==    by 0xE177FB: zend_insert_literal (zend_compile.c:343)
==23838==    by 0xE17A37: zend_add_literal (zend_compile.c:366)
==23838==    by 0xE1BA9C: zend_do_echo (zend_compile.c:877)
==23838==    by 0xDD2672: zendparse (zend_language_parser.y:339)
==23838==    by 0xDDF4C2: compile_file (zend_language_scanner.l:586)
==23838==    by 0xA3F9D6: phar_compile_file (phar.c:3360)
==23838==    by 0xE6AF18: zend_execute_scripts (zend.c:1333)
==23838==    by 0xD896C9: php_execute_script (main.c:2578)
==23838==    by 0x101DC86: do_cli (php_cli.c:994)
==23838==    by 0x101F433: main (php_cli.c:1378)
==23838== 
==23838== Use of uninitialised value of size 8
==23838==    at 0xEAFB59: zend_new_interned_string_int (zend_string.c:133)
==23838==    by 0xE177FB: zend_insert_literal (zend_compile.c:343)
==23838==    by 0xE17A37: zend_add_literal (zend_compile.c:366)
==23838==    by 0xE1BA9C: zend_do_echo (zend_compile.c:877)
==23838==    by 0xDD2672: zendparse (zend_language_parser.y:339)
==23838==    by 0xDDF4C2: compile_file (zend_language_scanner.l:586)
==23838==    by 0xA3F9D6: phar_compile_file (phar.c:3360)
==23838==    by 0xE6AF18: zend_execute_scripts (zend.c:1333)
==23838==    by 0xD896C9: php_execute_script (main.c:2578)
==23838==    by 0x101DC86: do_cli (php_cli.c:994)
==23838==    by 0x101F433: main (php_cli.c:1378)
==23838== 
==23838== Use of uninitialised value of size 8
==23838==    at 0xEAFC95: zend_new_interned_string_int (zend_string.c:151)
==23838==    by 0xE177FB: zend_insert_literal (zend_compile.c:343)
==23838==    by 0xE17A37: zend_add_literal (zend_compile.c:366)
==23838==    by 0xE1BA9C: zend_do_echo (zend_compile.c:877)
==23838==    by 0xDD2672: zendparse (zend_language_parser.y:339)
==23838==    by 0xDDF4C2: compile_file (zend_language_scanner.l:586)
==23838==    by 0xA3F9D6: phar_compile_file (phar.c:3360)
==23838==    by 0xE6AF18: zend_execute_scripts (zend.c:1333)
==23838==    by 0xD896C9: php_execute_script (main.c:2578)
==23838==    by 0x101DC86: do_cli (php_cli.c:994)
==23838==    by 0x101F433: main (php_cli.c:1378)
==23838== 
==23838== Conditional jump or move depends on uninitialised value(s)
==23838==    at 0xDE12AD: lex_scan (zend_language_scanner.c:1082)
==23838==    by 0xE3E91D: zendlex (zend_compile.c:6881)
==23838==    by 0xDD131C: zendparse (zend_language_parser.c:3742)
==23838==    by 0xDDF4C2: compile_file (zend_language_scanner.l:586)
==23838==    by 0xA3F9D6: phar_compile_file (phar.c:3360)
==23838==    by 0xE6AF18: zend_execute_scripts (zend.c:1333)
==23838==    by 0xD896C9: php_execute_script (main.c:2578)
==23838==    by 0x101DC86: do_cli (php_cli.c:994)
==23838==    by 0x101F433: main (php_cli.c:1378)
==23838== 
==23838== Syscall param write(buf) points to uninitialised byte(s)
==23838==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==23838==    by 0x101B594: sapi_cli_single_write (php_cli.c:273)
==23838==    by 0x101B721: sapi_cli_ub_write (php_cli.c:308)
==23838==    by 0xDAE336: php_output_op (output.c:1094)
==23838==    by 0xDAB166: php_output_write (output.c:270)
==23838==    by 0xD87A28: php_output_wrapper (main.c:1941)
==23838==    by 0xE67A2B: zend_print_zval_ex (zend.c:332)
==23838==    by 0xE67909: zend_print_zval (zend.c:313)
==23838==    by 0xE65F71: zend_print_variable (zend_variables.c:160)
==23838==    by 0xEE2052: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2402)
==23838==    by 0xED569A: execute_ex (zend_vm_execute.h:363)
==23838==    by 0xED623D: zend_execute (zend_vm_execute.h:388)
==23838==  Address 0x1417ca94 is 339,460 bytes inside a block of size 1,048,576 alloc'd
==23838==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==23838==    by 0xEAF675: zend_interned_strings_init (zend_string.c:48)
==23838==    by 0xE68B5C: zend_startup (zend.c:747)
==23838==    by 0xD87F19: php_module_startup (main.c:2128)
==23838==    by 0x101BCF3: php_cli_startup (php_cli.c:417)
==23838==    by 0x101F33A: main (php_cli.c:1358)
==23838== 

 

Generated at Fri, 27 Feb 2015 23:00:38 +0000 (14 hours ago)

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