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

==32317== Conditional jump or move depends on uninitialised value(s)
==32317==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==32317==    by 0xE2F62F: lex_scan (zend_language_scanner.l:1757)
==32317==    by 0xE8CCC4: zendlex (zend_compile.c:6902)
==32317==    by 0xE1F570: zendparse (zend_language_parser.c:3742)
==32317==    by 0xE2D6DA: compile_file (zend_language_scanner.l:586)
==32317==    by 0xA8D382: phar_compile_file (phar.c:3358)
==32317==    by 0xEB93A8: zend_execute_scripts (zend.c:1333)
==32317==    by 0xDD78BB: php_execute_script (main.c:2597)
==32317==    by 0x1070D6A: do_cli (php_cli.c:994)
==32317==    by 0x1072517: main (php_cli.c:1378)
==32317== 
==32317== Conditional jump or move depends on uninitialised value(s)
==32317==    at 0xE2F9E8: lex_scan (zend_language_scanner.l:1805)
==32317==    by 0xE8CCC4: zendlex (zend_compile.c:6902)
==32317==    by 0xE1F570: zendparse (zend_language_parser.c:3742)
==32317==    by 0xE2D6DA: compile_file (zend_language_scanner.l:586)
==32317==    by 0xA8D382: phar_compile_file (phar.c:3358)
==32317==    by 0xEB93A8: zend_execute_scripts (zend.c:1333)
==32317==    by 0xDD78BB: php_execute_script (main.c:2597)
==32317==    by 0x1070D6A: do_cli (php_cli.c:994)
==32317==    by 0x1072517: main (php_cli.c:1378)
==32317== 
==32317== Conditional jump or move depends on uninitialised value(s)
==32317==    at 0xE2FA08: lex_scan (zend_language_scanner.l:1805)
==32317==    by 0xE8CCC4: zendlex (zend_compile.c:6902)
==32317==    by 0xE1F570: zendparse (zend_language_parser.c:3742)
==32317==    by 0xE2D6DA: compile_file (zend_language_scanner.l:586)
==32317==    by 0xA8D382: phar_compile_file (phar.c:3358)
==32317==    by 0xEB93A8: zend_execute_scripts (zend.c:1333)
==32317==    by 0xDD78BB: php_execute_script (main.c:2597)
==32317==    by 0x1070D6A: do_cli (php_cli.c:994)
==32317==    by 0x1072517: main (php_cli.c:1378)
==32317== 
==32317== Use of uninitialised value of size 8
==32317==    at 0xEFDDB5: zend_new_interned_string_int (zend_string.c:97)
==32317==    by 0xE65A13: zend_insert_literal (zend_compile.c:343)
==32317==    by 0xE65C4F: zend_add_literal (zend_compile.c:366)
==32317==    by 0xE69CB4: zend_do_echo (zend_compile.c:877)
==32317==    by 0xE2088A: zendparse (zend_language_parser.y:339)
==32317==    by 0xE2D6DA: compile_file (zend_language_scanner.l:586)
==32317==    by 0xA8D382: phar_compile_file (phar.c:3358)
==32317==    by 0xEB93A8: zend_execute_scripts (zend.c:1333)
==32317==    by 0xDD78BB: php_execute_script (main.c:2597)
==32317==    by 0x1070D6A: do_cli (php_cli.c:994)
==32317==    by 0x1072517: main (php_cli.c:1378)
==32317== 
==32317== Use of uninitialised value of size 8
==32317==    at 0xEFDFDD: zend_new_interned_string_int (zend_string.c:133)
==32317==    by 0xE65A13: zend_insert_literal (zend_compile.c:343)
==32317==    by 0xE65C4F: zend_add_literal (zend_compile.c:366)
==32317==    by 0xE69CB4: zend_do_echo (zend_compile.c:877)
==32317==    by 0xE2088A: zendparse (zend_language_parser.y:339)
==32317==    by 0xE2D6DA: compile_file (zend_language_scanner.l:586)
==32317==    by 0xA8D382: phar_compile_file (phar.c:3358)
==32317==    by 0xEB93A8: zend_execute_scripts (zend.c:1333)
==32317==    by 0xDD78BB: php_execute_script (main.c:2597)
==32317==    by 0x1070D6A: do_cli (php_cli.c:994)
==32317==    by 0x1072517: main (php_cli.c:1378)
==32317== 
==32317== Use of uninitialised value of size 8
==32317==    at 0xEFE119: zend_new_interned_string_int (zend_string.c:151)
==32317==    by 0xE65A13: zend_insert_literal (zend_compile.c:343)
==32317==    by 0xE65C4F: zend_add_literal (zend_compile.c:366)
==32317==    by 0xE69CB4: zend_do_echo (zend_compile.c:877)
==32317==    by 0xE2088A: zendparse (zend_language_parser.y:339)
==32317==    by 0xE2D6DA: compile_file (zend_language_scanner.l:586)
==32317==    by 0xA8D382: phar_compile_file (phar.c:3358)
==32317==    by 0xEB93A8: zend_execute_scripts (zend.c:1333)
==32317==    by 0xDD78BB: php_execute_script (main.c:2597)
==32317==    by 0x1070D6A: do_cli (php_cli.c:994)
==32317==    by 0x1072517: main (php_cli.c:1378)
==32317== 
==32317== Conditional jump or move depends on uninitialised value(s)
==32317==    at 0xE2F4C5: lex_scan (zend_language_scanner.c:1082)
==32317==    by 0xE8CCC4: zendlex (zend_compile.c:6902)
==32317==    by 0xE1F570: zendparse (zend_language_parser.c:3742)
==32317==    by 0xE2D6DA: compile_file (zend_language_scanner.l:586)
==32317==    by 0xA8D382: phar_compile_file (phar.c:3358)
==32317==    by 0xEB93A8: zend_execute_scripts (zend.c:1333)
==32317==    by 0xDD78BB: php_execute_script (main.c:2597)
==32317==    by 0x1070D6A: do_cli (php_cli.c:994)
==32317==    by 0x1072517: main (php_cli.c:1378)
==32317== 
==32317== Syscall param write(buf) points to uninitialised byte(s)
==32317==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==32317==    by 0x106E678: sapi_cli_single_write (php_cli.c:273)
==32317==    by 0x106E805: sapi_cli_ub_write (php_cli.c:308)
==32317==    by 0xDFC52A: php_output_op (output.c:1094)
==32317==    by 0xDF935A: php_output_write (output.c:270)
==32317==    by 0xDD5B14: php_output_wrapper (main.c:1945)
==32317==    by 0xEB5EBB: zend_print_zval_ex (zend.c:332)
==32317==    by 0xEB5D99: zend_print_zval (zend.c:313)
==32317==    by 0xEB4401: zend_print_variable (zend_variables.c:160)
==32317==    by 0xF30551: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2406)
==32317==    by 0xF23B2E: execute_ex (zend_vm_execute.h:363)
==32317==    by 0xF246D1: zend_execute (zend_vm_execute.h:388)
==32317==  Address 0x1417ca94 is 339,460 bytes inside a block of size 1,048,576 alloc'd
==32317==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==32317==    by 0xEFDAF9: zend_interned_strings_init (zend_string.c:48)
==32317==    by 0xEB6FEC: zend_startup (zend.c:747)
==32317==    by 0xDD6005: php_module_startup (main.c:2132)
==32317==    by 0x106EDD7: php_cli_startup (php_cli.c:417)
==32317==    by 0x107241E: main (php_cli.c:1358)
==32317== 

 

Generated at Thu, 07 May 2015 04:27:52 +0000 (20 days ago)

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