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

==27943== Conditional jump or move depends on uninitialised value(s)
==27943==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==27943==    by 0xDBE744: lex_scan (zend_language_scanner.l:1815)
==27943==    by 0xE1AD2D: zendlex (zend_compile.c:6752)
==27943==    by 0xDAF204: zendparse (zend_language_parser.c:3446)
==27943==    by 0xDBC7CF: compile_file (zend_language_scanner.l:588)
==27943==    by 0xA278E2: phar_compile_file (phar.c:3383)
==27943==    by 0xE446D6: zend_execute_scripts (zend.c:1308)
==27943==    by 0xD67E6C: php_execute_script (main.c:2506)
==27943==    by 0x1028DA5: do_cli (php_cli.c:994)
==27943==    by 0x102A552: main (php_cli.c:1378)
==27943== 
==27943== Conditional jump or move depends on uninitialised value(s)
==27943==    at 0xDBEAFD: lex_scan (zend_language_scanner.l:1863)
==27943==    by 0xE1AD2D: zendlex (zend_compile.c:6752)
==27943==    by 0xDAF204: zendparse (zend_language_parser.c:3446)
==27943==    by 0xDBC7CF: compile_file (zend_language_scanner.l:588)
==27943==    by 0xA278E2: phar_compile_file (phar.c:3383)
==27943==    by 0xE446D6: zend_execute_scripts (zend.c:1308)
==27943==    by 0xD67E6C: php_execute_script (main.c:2506)
==27943==    by 0x1028DA5: do_cli (php_cli.c:994)
==27943==    by 0x102A552: main (php_cli.c:1378)
==27943== 
==27943== Conditional jump or move depends on uninitialised value(s)
==27943==    at 0xDBEB1D: lex_scan (zend_language_scanner.l:1863)
==27943==    by 0xE1AD2D: zendlex (zend_compile.c:6752)
==27943==    by 0xDAF204: zendparse (zend_language_parser.c:3446)
==27943==    by 0xDBC7CF: compile_file (zend_language_scanner.l:588)
==27943==    by 0xA278E2: phar_compile_file (phar.c:3383)
==27943==    by 0xE446D6: zend_execute_scripts (zend.c:1308)
==27943==    by 0xD67E6C: php_execute_script (main.c:2506)
==27943==    by 0x1028DA5: do_cli (php_cli.c:994)
==27943==    by 0x102A552: main (php_cli.c:1378)
==27943== 
==27943== Use of uninitialised value of size 8
==27943==    at 0xE88DFD: zend_new_interned_string_int (zend_string.c:95)
==27943==    by 0xDF2774: zend_insert_literal (zend_compile.c:339)
==27943==    by 0xDF29B0: zend_add_literal (zend_compile.c:362)
==27943==    by 0xDF7572: zend_do_echo (zend_compile.c:869)
==27943==    by 0xDB02E1: zendparse (zend_language_parser.y:309)
==27943==    by 0xDBC7CF: compile_file (zend_language_scanner.l:588)
==27943==    by 0xA278E2: phar_compile_file (phar.c:3383)
==27943==    by 0xE446D6: zend_execute_scripts (zend.c:1308)
==27943==    by 0xD67E6C: php_execute_script (main.c:2506)
==27943==    by 0x1028DA5: do_cli (php_cli.c:994)
==27943==    by 0x102A552: main (php_cli.c:1378)
==27943== 
==27943== Use of uninitialised value of size 8
==27943==    at 0xE89025: zend_new_interned_string_int (zend_string.c:131)
==27943==    by 0xDF2774: zend_insert_literal (zend_compile.c:339)
==27943==    by 0xDF29B0: zend_add_literal (zend_compile.c:362)
==27943==    by 0xDF7572: zend_do_echo (zend_compile.c:869)
==27943==    by 0xDB02E1: zendparse (zend_language_parser.y:309)
==27943==    by 0xDBC7CF: compile_file (zend_language_scanner.l:588)
==27943==    by 0xA278E2: phar_compile_file (phar.c:3383)
==27943==    by 0xE446D6: zend_execute_scripts (zend.c:1308)
==27943==    by 0xD67E6C: php_execute_script (main.c:2506)
==27943==    by 0x1028DA5: do_cli (php_cli.c:994)
==27943==    by 0x102A552: main (php_cli.c:1378)
==27943== 
==27943== Use of uninitialised value of size 8
==27943==    at 0xE89161: zend_new_interned_string_int (zend_string.c:149)
==27943==    by 0xDF2774: zend_insert_literal (zend_compile.c:339)
==27943==    by 0xDF29B0: zend_add_literal (zend_compile.c:362)
==27943==    by 0xDF7572: zend_do_echo (zend_compile.c:869)
==27943==    by 0xDB02E1: zendparse (zend_language_parser.y:309)
==27943==    by 0xDBC7CF: compile_file (zend_language_scanner.l:588)
==27943==    by 0xA278E2: phar_compile_file (phar.c:3383)
==27943==    by 0xE446D6: zend_execute_scripts (zend.c:1308)
==27943==    by 0xD67E6C: php_execute_script (main.c:2506)
==27943==    by 0x1028DA5: do_cli (php_cli.c:994)
==27943==    by 0x102A552: main (php_cli.c:1378)
==27943== 
==27943== Conditional jump or move depends on uninitialised value(s)
==27943==    at 0xDBE5DA: lex_scan (zend_language_scanner.c:1091)
==27943==    by 0xE1AD2D: zendlex (zend_compile.c:6752)
==27943==    by 0xDAF204: zendparse (zend_language_parser.c:3446)
==27943==    by 0xDBC7CF: compile_file (zend_language_scanner.l:588)
==27943==    by 0xA278E2: phar_compile_file (phar.c:3383)
==27943==    by 0xE446D6: zend_execute_scripts (zend.c:1308)
==27943==    by 0xD67E6C: php_execute_script (main.c:2506)
==27943==    by 0x1028DA5: do_cli (php_cli.c:994)
==27943==    by 0x102A552: main (php_cli.c:1378)
==27943== 
==27943== Syscall param write(buf) points to uninitialised byte(s)
==27943==    at 0xD22E780: __write_nocancel (in /lib64/libc-2.12.so)
==27943==    by 0x10266AA: sapi_cli_single_write (php_cli.c:273)
==27943==    by 0x1026837: sapi_cli_ub_write (php_cli.c:308)
==27943==    by 0xD8C286: php_output_op (output.c:1093)
==27943==    by 0xD8918A: php_output_write (output.c:269)
==27943==    by 0xD661F6: php_output_wrapper (main.c:1868)
==27943==    by 0xE412D6: zend_print_zval_ex (zend.c:331)
==27943==    by 0xE411B4: zend_print_zval (zend.c:312)
==27943==    by 0xE3F799: zend_print_variable (zend_variables.c:154)
==27943==    by 0xEB23F5: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2138)
==27943==    by 0xEA7688: execute_ex (zend_vm_execute.h:363)
==27943==    by 0xEA821A: zend_execute (zend_vm_execute.h:388)
==27943==  Address 0x141c67f4 is 336,132 bytes inside a block of size 1,048,576 alloc'd
==27943==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==27943==    by 0xE88B71: zend_interned_strings_init (zend_string.c:48)
==27943==    by 0xE42417: zend_startup (zend.c:744)
==27943==    by 0xD666E7: php_module_startup (main.c:2055)
==27943==    by 0x1026E12: php_cli_startup (php_cli.c:417)
==27943==    by 0x102A459: main (php_cli.c:1358)
==27943== 

 

Generated at Thu, 17 Jul 2014 21:16:31 +0000 (7 days ago)

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