Skip to content

6.1.md判断函数返回值是否被使用的方法 #145

Description

@wuzhix

在php7中if (return_value_used)方法会报错:
错误:‘return_value_used’未声明(在此函数内第一次使用)
参考了php-7.0.11\ext\standard\array.c的方法if (USED_RET()),编译运行正常。但是php_error_docref(NULL TSRMLS_CC, E_NOTICE,"猫了个咪的,我就知道你没用我的劳动成果!");没输出来

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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