Skip to content

Error while getting dependencies #53

@workdreamer

Description

@workdreamer

when i installed the package in my project, i had the following error:

`$ go get

github.com/deuill/go-php

In file included from ../github.com/deuill/go-php/engine.go:14:
In file included from ../github.com/deuill/go-php/include/receiver.h:15:
../github.com/deuill/go-php/include/php7/_receiver.h:12:34: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
static int _receiver_method_call(zend_string *method, zend_object *object, INTERNAL_FUNCTION_PARAMETERS);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from ../github.com/deuill/go-php/engine.go:14:
In file included from ../github.com/deuill/go-php/include/receiver.h:15:
../github.com/deuill/go-php/include/php7/_receiver.h:13:66: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
static zend_function *_receiver_method_get(zend_object **object, zend_string *name, const zval *key);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
2 errors generated.`

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