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

==30366== Conditional jump or move depends on uninitialised value(s)
==30366==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==30366==    by 0xE36257: lex_scan (zend_language_scanner.l:1757)
==30366==    by 0xE93CC4: zendlex (zend_compile.c:6909)
==30366==    by 0xE26198: zendparse (zend_language_parser.c:3742)
==30366==    by 0xE34302: compile_file (zend_language_scanner.l:586)
==30366==    by 0xA93034: phar_compile_file (phar.c:3364)
==30366==    by 0xEC0448: zend_execute_scripts (zend.c:1333)
==30366==    by 0xDDE0EB: php_execute_script (main.c:2597)
==30366==    by 0x1078AB6: do_cli (php_cli.c:994)
==30366==    by 0x107A263: main (php_cli.c:1378)
==30366== 
==30366== Conditional jump or move depends on uninitialised value(s)
==30366==    at 0xE36610: lex_scan (zend_language_scanner.l:1805)
==30366==    by 0xE93CC4: zendlex (zend_compile.c:6909)
==30366==    by 0xE26198: zendparse (zend_language_parser.c:3742)
==30366==    by 0xE34302: compile_file (zend_language_scanner.l:586)
==30366==    by 0xA93034: phar_compile_file (phar.c:3364)
==30366==    by 0xEC0448: zend_execute_scripts (zend.c:1333)
==30366==    by 0xDDE0EB: php_execute_script (main.c:2597)
==30366==    by 0x1078AB6: do_cli (php_cli.c:994)
==30366==    by 0x107A263: main (php_cli.c:1378)
==30366== 
==30366== Conditional jump or move depends on uninitialised value(s)
==30366==    at 0xE36630: lex_scan (zend_language_scanner.l:1805)
==30366==    by 0xE93CC4: zendlex (zend_compile.c:6909)
==30366==    by 0xE26198: zendparse (zend_language_parser.c:3742)
==30366==    by 0xE34302: compile_file (zend_language_scanner.l:586)
==30366==    by 0xA93034: phar_compile_file (phar.c:3364)
==30366==    by 0xEC0448: zend_execute_scripts (zend.c:1333)
==30366==    by 0xDDE0EB: php_execute_script (main.c:2597)
==30366==    by 0x1078AB6: do_cli (php_cli.c:994)
==30366==    by 0x107A263: main (php_cli.c:1378)
==30366== 
==30366== Use of uninitialised value of size 8
==30366==    at 0xF05A91: zend_new_interned_string_int (zend_string.c:97)
==30366==    by 0xE6C997: zend_insert_literal (zend_compile.c:343)
==30366==    by 0xE6CBD3: zend_add_literal (zend_compile.c:366)
==30366==    by 0xE70C38: zend_do_echo (zend_compile.c:877)
==30366==    by 0xE274B2: zendparse (zend_language_parser.y:339)
==30366==    by 0xE34302: compile_file (zend_language_scanner.l:586)
==30366==    by 0xA93034: phar_compile_file (phar.c:3364)
==30366==    by 0xEC0448: zend_execute_scripts (zend.c:1333)
==30366==    by 0xDDE0EB: php_execute_script (main.c:2597)
==30366==    by 0x1078AB6: do_cli (php_cli.c:994)
==30366==    by 0x107A263: main (php_cli.c:1378)
==30366== 
==30366== Use of uninitialised value of size 8
==30366==    at 0xF05CB9: zend_new_interned_string_int (zend_string.c:133)
==30366==    by 0xE6C997: zend_insert_literal (zend_compile.c:343)
==30366==    by 0xE6CBD3: zend_add_literal (zend_compile.c:366)
==30366==    by 0xE70C38: zend_do_echo (zend_compile.c:877)
==30366==    by 0xE274B2: zendparse (zend_language_parser.y:339)
==30366==    by 0xE34302: compile_file (zend_language_scanner.l:586)
==30366==    by 0xA93034: phar_compile_file (phar.c:3364)
==30366==    by 0xEC0448: zend_execute_scripts (zend.c:1333)
==30366==    by 0xDDE0EB: php_execute_script (main.c:2597)
==30366==    by 0x1078AB6: do_cli (php_cli.c:994)
==30366==    by 0x107A263: main (php_cli.c:1378)
==30366== 
==30366== Use of uninitialised value of size 8
==30366==    at 0xF05DF5: zend_new_interned_string_int (zend_string.c:151)
==30366==    by 0xE6C997: zend_insert_literal (zend_compile.c:343)
==30366==    by 0xE6CBD3: zend_add_literal (zend_compile.c:366)
==30366==    by 0xE70C38: zend_do_echo (zend_compile.c:877)
==30366==    by 0xE274B2: zendparse (zend_language_parser.y:339)
==30366==    by 0xE34302: compile_file (zend_language_scanner.l:586)
==30366==    by 0xA93034: phar_compile_file (phar.c:3364)
==30366==    by 0xEC0448: zend_execute_scripts (zend.c:1333)
==30366==    by 0xDDE0EB: php_execute_script (main.c:2597)
==30366==    by 0x1078AB6: do_cli (php_cli.c:994)
==30366==    by 0x107A263: main (php_cli.c:1378)
==30366== 
==30366== Conditional jump or move depends on uninitialised value(s)
==30366==    at 0xE360ED: lex_scan (zend_language_scanner.c:1082)
==30366==    by 0xE93CC4: zendlex (zend_compile.c:6909)
==30366==    by 0xE26198: zendparse (zend_language_parser.c:3742)
==30366==    by 0xE34302: compile_file (zend_language_scanner.l:586)
==30366==    by 0xA93034: phar_compile_file (phar.c:3364)
==30366==    by 0xEC0448: zend_execute_scripts (zend.c:1333)
==30366==    by 0xDDE0EB: php_execute_script (main.c:2597)
==30366==    by 0x1078AB6: do_cli (php_cli.c:994)
==30366==    by 0x107A263: main (php_cli.c:1378)
==30366== 
==30366== Syscall param write(buf) points to uninitialised byte(s)
==30366==    at 0xD2385D0: __write_nocancel (in /lib64/libc-2.12.so)
==30366==    by 0x10763C4: sapi_cli_single_write (php_cli.c:273)
==30366==    by 0x1076551: sapi_cli_ub_write (php_cli.c:308)
==30366==    by 0xE03106: php_output_op (output.c:1094)
==30366==    by 0xDFFF36: php_output_write (output.c:270)
==30366==    by 0xDDC35B: php_output_wrapper (main.c:1946)
==30366==    by 0xEBCF5B: zend_print_zval_ex (zend.c:332)
==30366==    by 0xEBCE39: zend_print_zval (zend.c:313)
==30366==    by 0xEBB4A1: zend_print_variable (zend_variables.c:160)
==30366==    by 0xF38283: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2409)
==30366==    by 0xF2B836: execute_ex (zend_vm_execute.h:363)
==30366==    by 0xF2C3D9: zend_execute (zend_vm_execute.h:388)
==30366==  Address 0x14185a94 is 339,460 bytes inside a block of size 1,048,576 alloc'd
==30366==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==30366==    by 0xF057D5: zend_interned_strings_init (zend_string.c:48)
==30366==    by 0xEBE08C: zend_startup (zend.c:747)
==30366==    by 0xDDC84C: php_module_startup (main.c:2133)
==30366==    by 0x1076B23: php_cli_startup (php_cli.c:417)
==30366==    by 0x107A16A: main (php_cli.c:1358)
==30366== 

 

Generated at Mon, 31 Aug 2015 13:36:01 +0000 (4 days ago)

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