Skip to content

Assertion failure in Zend/zend_API.c:501 #16405

Closed
@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

<?php
$b = gmp_init(17);
var_dump($fusion << $b);

Resulted in this output:

/php-src/Zend/zend_API.c:501: _Bool zend_null_arg_deprecated(const char *, uint32_t): Assertion `func->common.fn_flags & (1 << 14)' failed.
Aborted (core dumped)

Related: #16354

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