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

==21092== Conditional jump or move depends on uninitialised value(s)
==21092==    at 0x4C2B310: memchr (vg_replace_strmem.c:887)
==21092==    by 0xE67357: lex_scan (zend_language_scanner.l:1757)
==21092==    by 0xEC5110: zendlex (zend_compile.c:6919)
==21092==    by 0xE57298: zendparse (zend_language_parser.c:3742)
==21092==    by 0xE65402: compile_file (zend_language_scanner.l:586)
==21092==    by 0xAA28FD: phar_compile_file (phar.c:3370)
==21092==    by 0xEF1A3B: zend_execute_scripts (zend.c:1333)
==21092==    by 0xE0E0CD: php_execute_script (main.c:2613)
==21092==    by 0x10AC586: do_cli (php_cli.c:998)
==21092==    by 0x10ADD7F: main (php_cli.c:1382)
==21092== 
==21092== Conditional jump or move depends on uninitialised value(s)
==21092==    at 0xE67710: lex_scan (zend_language_scanner.l:1805)
==21092==    by 0xEC5110: zendlex (zend_compile.c:6919)
==21092==    by 0xE57298: zendparse (zend_language_parser.c:3742)
==21092==    by 0xE65402: compile_file (zend_language_scanner.l:586)
==21092==    by 0xAA28FD: phar_compile_file (phar.c:3370)
==21092==    by 0xEF1A3B: zend_execute_scripts (zend.c:1333)
==21092==    by 0xE0E0CD: php_execute_script (main.c:2613)
==21092==    by 0x10AC586: do_cli (php_cli.c:998)
==21092==    by 0x10ADD7F: main (php_cli.c:1382)
==21092== 
==21092== Conditional jump or move depends on uninitialised value(s)
==21092==    at 0xE67730: lex_scan (zend_language_scanner.l:1805)
==21092==    by 0xEC5110: zendlex (zend_compile.c:6919)
==21092==    by 0xE57298: zendparse (zend_language_parser.c:3742)
==21092==    by 0xE65402: compile_file (zend_language_scanner.l:586)
==21092==    by 0xAA28FD: phar_compile_file (phar.c:3370)
==21092==    by 0xEF1A3B: zend_execute_scripts (zend.c:1333)
==21092==    by 0xE0E0CD: php_execute_script (main.c:2613)
==21092==    by 0x10AC586: do_cli (php_cli.c:998)
==21092==    by 0x10ADD7F: main (php_cli.c:1382)
==21092== 
==21092== Use of uninitialised value of size 8
==21092==    at 0xF37691: zend_new_interned_string_int (zend_string.c:97)
==21092==    by 0xE9DC2B: zend_insert_literal (zend_compile.c:343)
==21092==    by 0xE9DE67: zend_add_literal (zend_compile.c:366)
==21092==    by 0xEA1ECC: zend_do_echo (zend_compile.c:877)
==21092==    by 0xE585B2: zendparse (zend_language_parser.y:339)
==21092==    by 0xE65402: compile_file (zend_language_scanner.l:586)
==21092==    by 0xAA28FD: phar_compile_file (phar.c:3370)
==21092==    by 0xEF1A3B: zend_execute_scripts (zend.c:1333)
==21092==    by 0xE0E0CD: php_execute_script (main.c:2613)
==21092==    by 0x10AC586: do_cli (php_cli.c:998)
==21092==    by 0x10ADD7F: main (php_cli.c:1382)
==21092== 
==21092== Use of uninitialised value of size 8
==21092==    at 0xF378B9: zend_new_interned_string_int (zend_string.c:133)
==21092==    by 0xE9DC2B: zend_insert_literal (zend_compile.c:343)
==21092==    by 0xE9DE67: zend_add_literal (zend_compile.c:366)
==21092==    by 0xEA1ECC: zend_do_echo (zend_compile.c:877)
==21092==    by 0xE585B2: zendparse (zend_language_parser.y:339)
==21092==    by 0xE65402: compile_file (zend_language_scanner.l:586)
==21092==    by 0xAA28FD: phar_compile_file (phar.c:3370)
==21092==    by 0xEF1A3B: zend_execute_scripts (zend.c:1333)
==21092==    by 0xE0E0CD: php_execute_script (main.c:2613)
==21092==    by 0x10AC586: do_cli (php_cli.c:998)
==21092==    by 0x10ADD7F: main (php_cli.c:1382)
==21092== 
==21092== Use of uninitialised value of size 8
==21092==    at 0xF379F5: zend_new_interned_string_int (zend_string.c:151)
==21092==    by 0xE9DC2B: zend_insert_literal (zend_compile.c:343)
==21092==    by 0xE9DE67: zend_add_literal (zend_compile.c:366)
==21092==    by 0xEA1ECC: zend_do_echo (zend_compile.c:877)
==21092==    by 0xE585B2: zendparse (zend_language_parser.y:339)
==21092==    by 0xE65402: compile_file (zend_language_scanner.l:586)
==21092==    by 0xAA28FD: phar_compile_file (phar.c:3370)
==21092==    by 0xEF1A3B: zend_execute_scripts (zend.c:1333)
==21092==    by 0xE0E0CD: php_execute_script (main.c:2613)
==21092==    by 0x10AC586: do_cli (php_cli.c:998)
==21092==    by 0x10ADD7F: main (php_cli.c:1382)
==21092== 
==21092== Conditional jump or move depends on uninitialised value(s)
==21092==    at 0xE671ED: lex_scan (zend_language_scanner.c:1082)
==21092==    by 0xEC5110: zendlex (zend_compile.c:6919)
==21092==    by 0xE57298: zendparse (zend_language_parser.c:3742)
==21092==    by 0xE65402: compile_file (zend_language_scanner.l:586)
==21092==    by 0xAA28FD: phar_compile_file (phar.c:3370)
==21092==    by 0xEF1A3B: zend_execute_scripts (zend.c:1333)
==21092==    by 0xE0E0CD: php_execute_script (main.c:2613)
==21092==    by 0x10AC586: do_cli (php_cli.c:998)
==21092==    by 0x10ADD7F: main (php_cli.c:1382)
==21092== 
==21092== Syscall param write(buf) points to uninitialised byte(s)
==21092==    at 0xD23B7D0: __write_nocancel (in /lib64/libc-2.12.so)
==21092==    by 0x10A9E94: sapi_cli_single_write (php_cli.c:277)
==21092==    by 0x10AA021: sapi_cli_ub_write (php_cli.c:312)
==21092==    by 0xE33A1A: php_output_op (output.c:1094)
==21092==    by 0xE3084A: php_output_write (output.c:270)
==21092==    by 0xE0C33D: php_output_wrapper (main.c:1962)
==21092==    by 0xEEE4FF: zend_print_zval_ex (zend.c:332)
==21092==    by 0xEEE3DD: zend_print_zval (zend.c:313)
==21092==    by 0xEECA45: zend_print_variable (zend_variables.c:160)
==21092==    by 0xF69EB1: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2409)
==21092==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==21092==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==21092==  Address 0x141b2274 is 339,652 bytes inside a block of size 1,048,576 alloc'd
==21092==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==21092==    by 0xF373D5: zend_interned_strings_init (zend_string.c:48)
==21092==    by 0xEEF630: zend_startup (zend.c:747)
==21092==    by 0xE0C82E: php_module_startup (main.c:2149)
==21092==    by 0x10AA5F3: php_cli_startup (php_cli.c:421)
==21092==    by 0x10ADC86: main (php_cli.c:1362)
==21092== 

 

Generated at Wed, 06 Sep 2017 19:34:45 +0000 (12 days ago)

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