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

==26964== Conditional jump or move depends on uninitialised value(s)
==26964==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==26964==    by 0xE346A3: lex_scan (zend_language_scanner.l:1757)
==26964==    by 0xE91DBC: zendlex (zend_compile.c:6902)
==26964==    by 0xE245E4: zendparse (zend_language_parser.c:3742)
==26964==    by 0xE3274E: compile_file (zend_language_scanner.l:586)
==26964==    by 0xA91AFE: phar_compile_file (phar.c:3358)
==26964==    by 0xEBE540: zend_execute_scripts (zend.c:1333)
==26964==    by 0xDDC5FF: php_execute_script (main.c:2597)
==26964==    by 0x1075F6E: do_cli (php_cli.c:994)
==26964==    by 0x107771B: main (php_cli.c:1378)
==26964== 
==26964== Conditional jump or move depends on uninitialised value(s)
==26964==    at 0xE34A5C: lex_scan (zend_language_scanner.l:1805)
==26964==    by 0xE91DBC: zendlex (zend_compile.c:6902)
==26964==    by 0xE245E4: zendparse (zend_language_parser.c:3742)
==26964==    by 0xE3274E: compile_file (zend_language_scanner.l:586)
==26964==    by 0xA91AFE: phar_compile_file (phar.c:3358)
==26964==    by 0xEBE540: zend_execute_scripts (zend.c:1333)
==26964==    by 0xDDC5FF: php_execute_script (main.c:2597)
==26964==    by 0x1075F6E: do_cli (php_cli.c:994)
==26964==    by 0x107771B: main (php_cli.c:1378)
==26964== 
==26964== Conditional jump or move depends on uninitialised value(s)
==26964==    at 0xE34A7C: lex_scan (zend_language_scanner.l:1805)
==26964==    by 0xE91DBC: zendlex (zend_compile.c:6902)
==26964==    by 0xE245E4: zendparse (zend_language_parser.c:3742)
==26964==    by 0xE3274E: compile_file (zend_language_scanner.l:586)
==26964==    by 0xA91AFE: phar_compile_file (phar.c:3358)
==26964==    by 0xEBE540: zend_execute_scripts (zend.c:1333)
==26964==    by 0xDDC5FF: php_execute_script (main.c:2597)
==26964==    by 0x1075F6E: do_cli (php_cli.c:994)
==26964==    by 0x107771B: main (php_cli.c:1378)
==26964== 
==26964== Use of uninitialised value of size 8
==26964==    at 0xF02F71: zend_new_interned_string_int (zend_string.c:97)
==26964==    by 0xE6AB0B: zend_insert_literal (zend_compile.c:343)
==26964==    by 0xE6AD47: zend_add_literal (zend_compile.c:366)
==26964==    by 0xE6EDAC: zend_do_echo (zend_compile.c:877)
==26964==    by 0xE258FE: zendparse (zend_language_parser.y:339)
==26964==    by 0xE3274E: compile_file (zend_language_scanner.l:586)
==26964==    by 0xA91AFE: phar_compile_file (phar.c:3358)
==26964==    by 0xEBE540: zend_execute_scripts (zend.c:1333)
==26964==    by 0xDDC5FF: php_execute_script (main.c:2597)
==26964==    by 0x1075F6E: do_cli (php_cli.c:994)
==26964==    by 0x107771B: main (php_cli.c:1378)
==26964== 
==26964== Use of uninitialised value of size 8
==26964==    at 0xF03199: zend_new_interned_string_int (zend_string.c:133)
==26964==    by 0xE6AB0B: zend_insert_literal (zend_compile.c:343)
==26964==    by 0xE6AD47: zend_add_literal (zend_compile.c:366)
==26964==    by 0xE6EDAC: zend_do_echo (zend_compile.c:877)
==26964==    by 0xE258FE: zendparse (zend_language_parser.y:339)
==26964==    by 0xE3274E: compile_file (zend_language_scanner.l:586)
==26964==    by 0xA91AFE: phar_compile_file (phar.c:3358)
==26964==    by 0xEBE540: zend_execute_scripts (zend.c:1333)
==26964==    by 0xDDC5FF: php_execute_script (main.c:2597)
==26964==    by 0x1075F6E: do_cli (php_cli.c:994)
==26964==    by 0x107771B: main (php_cli.c:1378)
==26964== 
==26964== Use of uninitialised value of size 8
==26964==    at 0xF032D5: zend_new_interned_string_int (zend_string.c:151)
==26964==    by 0xE6AB0B: zend_insert_literal (zend_compile.c:343)
==26964==    by 0xE6AD47: zend_add_literal (zend_compile.c:366)
==26964==    by 0xE6EDAC: zend_do_echo (zend_compile.c:877)
==26964==    by 0xE258FE: zendparse (zend_language_parser.y:339)
==26964==    by 0xE3274E: compile_file (zend_language_scanner.l:586)
==26964==    by 0xA91AFE: phar_compile_file (phar.c:3358)
==26964==    by 0xEBE540: zend_execute_scripts (zend.c:1333)
==26964==    by 0xDDC5FF: php_execute_script (main.c:2597)
==26964==    by 0x1075F6E: do_cli (php_cli.c:994)
==26964==    by 0x107771B: main (php_cli.c:1378)
==26964== 
==26964== Conditional jump or move depends on uninitialised value(s)
==26964==    at 0xE34539: lex_scan (zend_language_scanner.c:1082)
==26964==    by 0xE91DBC: zendlex (zend_compile.c:6902)
==26964==    by 0xE245E4: zendparse (zend_language_parser.c:3742)
==26964==    by 0xE3274E: compile_file (zend_language_scanner.l:586)
==26964==    by 0xA91AFE: phar_compile_file (phar.c:3358)
==26964==    by 0xEBE540: zend_execute_scripts (zend.c:1333)
==26964==    by 0xDDC5FF: php_execute_script (main.c:2597)
==26964==    by 0x1075F6E: do_cli (php_cli.c:994)
==26964==    by 0x107771B: main (php_cli.c:1378)
==26964== 
==26964== Syscall param write(buf) points to uninitialised byte(s)
==26964==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==26964==    by 0x107387C: sapi_cli_single_write (php_cli.c:273)
==26964==    by 0x1073A09: sapi_cli_ub_write (php_cli.c:308)
==26964==    by 0xE0159E: php_output_op (output.c:1094)
==26964==    by 0xDFE3CE: php_output_write (output.c:270)
==26964==    by 0xDDA86F: php_output_wrapper (main.c:1946)
==26964==    by 0xEBB053: zend_print_zval_ex (zend.c:332)
==26964==    by 0xEBAF31: zend_print_zval (zend.c:313)
==26964==    by 0xEB9599: zend_print_variable (zend_variables.c:160)
==26964==    by 0xF35739: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2406)
==26964==    by 0xF28D16: execute_ex (zend_vm_execute.h:363)
==26964==    by 0xF298B9: zend_execute (zend_vm_execute.h:388)
==26964==  Address 0x1417ca94 is 339,460 bytes inside a block of size 1,048,576 alloc'd
==26964==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==26964==    by 0xF02CB5: zend_interned_strings_init (zend_string.c:48)
==26964==    by 0xEBC184: zend_startup (zend.c:747)
==26964==    by 0xDDAD60: php_module_startup (main.c:2133)
==26964==    by 0x1073FDB: php_cli_startup (php_cli.c:417)
==26964==    by 0x1077622: main (php_cli.c:1358)
==26964== 

 

Generated at Thu, 25 Jun 2015 08:17:01 +0000 (6 days ago)

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