phc
phc copied to clipboard
error: 'struct _zend_function::<anonymous>' has no member named 'return_reference'
using the php from https://github.com/h4ck3rm1k3/php 5.4.4-5
src/embed/optimize.cpp: In static member function 'static Method_info* PHP::get_method_info(String_)':
src/embed/optimize.cpp:223: error: invalid conversion from 'zend_fcall_info_' to 'uint'
src/embed/optimize.cpp:223: error: cannot convert 'zend_fcall_info_cache_' to 'zend_fcall_info_' for argument '3' to 'int
zend_fcall_info_init(zval_, uint, zend_fcall_info_, zend_fcall_info_cache_, char__, char_*)'
src/embed/optimize.cpp: In member function 'virtual bool Internal_method_info::return_by_ref()':
src/embed/optimize.cpp:248: error: 'struct _zend_function::
this is on my branch : https://github.com/h4ck3rm1k3/phc
patch here https://github.com/h4ck3rm1k3/phc/commit/8763677f53b2f2b30c6b69456aa4eb8bfadd15c7 i added an ifdef, I dont know the exact engine version, my is 2,4, but there is no define for that, so I used 2.
Sorry, I had my github notification emails turned off by accident, so I missed all this recent activity. If you make a pull request, I can certainly pull it.
@h4ck3rm1k3 thanks for this - now my phc is compiling great