Skip to content

PHP5.6 编译报错 #17

Open
Open
@danjian

Description

原因在于第565行
RETVAL_STRINGL(p, plen);
中PHP7这个宏定义只需要两个参数,
而PHP5需要三个

#if PHP_MAJOR_VERSION < 7
    RETVAL_STRINGL(p, plen,0);
#else
    RETVAL_STRINGL(p, plen);
#endif

解决

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions