Skip to content

Segmentation fault Zend/zend_types.h:1382 #17066

@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

<?php
namespace foo\x;
const x = 2;
class x {
const x = 1;
}
var_dump(namespace\x,x::x,namespace\x::x);
max($fusion,$fusion);

Resulted in this output (JIT 1001):

/php-src/Zend/zend_types.h:1382:9: runtime error: member access within null pointer of type 'zend_refcounted' (aka 'struct _zend_refcounted')

PHP Version

nightly

Operating System

ubuntu 22.04

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