Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Install *.stub.php for use with the phpize build environment #18520

Copy link
Copy link
Open
@TimWolla

Description

@TimWolla
Issue body actions

Description

I'm trying to use gen_stub.php to define an attribute class in an extension. gen_stub.php requires the zend_attributes.stub.php to be available to resolve the \Attribute::TARGET_X constants. For that purpose gen_stub.php has support for including other files as a dependency, which is already used for zend_test:

require "Zend/zend_attributes.stub.php";

However this is not usable for external extensions, since the stub files are not part of a PHP installation / the phpize build environment. Only gen_stub.php itself and the generated arginfo.h headers are.

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.