Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.0a compile problem with PHP 5.4 #11

Closed
char101 opened this issue May 21, 2012 · 2 comments
Closed

0.4.0a compile problem with PHP 5.4 #11

char101 opened this issue May 21, 2012 · 2 comments

Comments

@char101
Copy link

char101 commented May 21, 2012

Hi,

Compiling phalcom 0.4.0a with PHP 5.4 results in error at fcall.php line 1055

Not enought argument for get_method

    if (Z_OBJ_HT_P(fcc->object_ptr)->get_method) {
            fcc->function_handler = Z_OBJ_HT_P(fcc->object_ptr)->get_method(&fcc->object_ptr, method_name, method_len TSRMLS_CC);

I can compile it by adding NULL as the 4th parameter (const struct _zend_literal *key).

@phalcon
Copy link
Collaborator

phalcon commented May 21, 2012

Thanks for reporting it, status: looking for a solution :)

@ghost ghost assigned phalcon May 21, 2012
@phalcon
Copy link
Collaborator

phalcon commented May 21, 2012

Hi again, I think it would compile now well, remember to export CFLAGS="-O2 -fno-delete-null-pointer-checks" before phpize. regards

@phalcon phalcon closed this as completed May 21, 2012
ovr pushed a commit to ovr/cphalcon that referenced this issue Dec 25, 2013
@phalcon phalcon removed their assignment Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants