Skip to content

Conditional jump or move depends on uninitialised value(s) #9068

Closed
ThePHPF/thephp.foundation
#90
@NathanFreeman

Description

@NathanFreeman

Description

The following code:

valgrind --track-origins=yes php run-tests.php ext/dom/tests/canonicalization.phpt

Resulted in this output:

==13849== Conditional jump or move depends on uninitialised value(s)
==13849==    at 0x4070622: ???
==13849==    by 0x7358017: ???
==13849==    by 0x7358017: ???
==13849==    by 0x7358784: ???
==13849==    by 0x6ED2B9F: ???
==13849==    by 0x7358017: ???
==13849==  Uninitialised value was created by a stack allocation
==13849==    at 0x86D650: zend_delayed_compile_dim (zend_compile.c:2743)
==13849==

But I expected this output instead:

without warning

PHP Version

PHP 8.0+

Operating System

CentOS Linux release 7.9.2009 (Core)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions