Preparing for PHP compilation... Preparing configuration file... Compiling... In file included from kernel/array.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/array.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/array.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./kernel/main.h:27:0, from kernel/concat.h:8: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/concat.h:8:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from kernel/exception.h:25:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/fcall.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/fcall.h:25: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/fcall.h:25:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, *z); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)

                                            ^

kernel/fcall.h:518:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval {aka struct _zval_struct }’ but argument is of type ‘zval {aka struct _zval_struct }’ ZEND_API void _zval_ptr_dtor(zval zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h:526:4: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(return_value_ptr); ^ kernel/fcall.h:533:3: warning: implicit declaration of function ‘COPY_PZVAL_TO_ZVAL’ [-Wimplicit-function-declaration] COPY_PZVAL_TO_ZVAL(*return_value, rv); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_zval_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)

                                            ^

kernel/fcall.h:555:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval {aka struct _zval_struct }’ but argument is of type ‘zval {aka struct _zval_struct }’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h: In function ‘zephir_return_call_class_method’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)

                                            ^

kernel/fcall.h:596:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval {aka struct _zval_struct }’ but argument is of type ‘zval {aka struct _zval_struct }’ ZEND_API void _zval_ptr_dtor(zval zval_ptr ZEND_FILE_LINE_DC); ^ kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/main.h:27:0: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ kernel/main.h: In function ‘zephir_maybe_separate_zval’: kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/memory.h:26: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/object.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/object.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/object.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ kernel/object.h: In function ‘zephir_read_property_this_quick’: kernel/object.h:131:2: warning: implicit declaration of function ‘Z_ADDREF_PP’ [-Wimplicit-function-declaration] Z_ADDREF_PP(result); ^ kernel/object.h:135:3: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(result); ^ In file included from /usr/include/php/20170718/Zend/zend_globals.h:28:0, from /usr/include/php/20170718/Zend/zend_compile.h:702, from /usr/include/php/20170718/Zend/zend_modules.h:26, from /usr/include/php/20170718/Zend/zend_API.h:27, from /usr/include/php/20170718/main/php.h:40, from kernel/object.h:24: kernel/object.h: In function ‘zephir_fetch_nproperty_this_quick’: /usr/include/php/20170718/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘uninitialized_zval_ptr’

define EG(v) (executor_globals.v)

                             ^

kernel/object.h:159:27: note: in expansion of macro ‘EG’ return result ? result : EG(uninitialized_zval_ptr); ^ /usr/include/php/20170718/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘uninitialized_zval_ptr’

define EG(v) (executor_globals.v)

                             ^

kernel/object.h:164:28: note: in expansion of macro ‘EG’ return result ? result : EG(uninitialized_zval_ptr); ^ kernel/operators.h:114:43: error: unknown type name ‘zend_uint’ void zephir_cast(zval result, zval var, zend_uint type); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/require.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/string.h:26: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/string.h:26:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/require.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/string.h:26: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/string.h:26:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ Installing... Internal extension compilation failed. Check compile-errors.log for more information

[email protected]:~/Code/yudaoadmin/tests/zephir/zeper$ zephir build --backend=ZendEngine2 Compiling... In file included from kernel/array.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/array.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/array.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./kernel/main.h:27:0, from kernel/concat.h:8: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/concat.h:8:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/fcall.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/fcall.h:25: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/fcall.h:25:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)

                                            ^

kernel/fcall.h:518:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval {aka struct _zval_struct }’ but argument is of type ‘zval {aka struct _zval_struct }’ ZEND_API void _zval_ptr_dtor(zval zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h:526:4: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(return_value_ptr); ^ kernel/fcall.h:533:3: warning: implicit declaration of function ‘COPY_PZVAL_TO_ZVAL’ [-Wimplicit-function-declaration] COPY_PZVAL_TO_ZVAL(*return_value, rv); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_zval_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)

                                            ^

kernel/fcall.h:555:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval {aka struct _zval_struct }’ but argument is of type ‘zval {aka struct _zval_struct }’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h: In function ‘zephir_return_call_class_method’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)

                                            ^

kernel/fcall.h:596:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval {aka struct _zval_struct }’ but argument is of type ‘zval {aka struct _zval_struct }’ ZEND_API void _zval_ptr_dtor(zval zval_ptr ZEND_FILE_LINE_DC); ^ kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/main.h:27:0: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ kernel/main.h: In function ‘zephir_maybe_separate_zval’: kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/memory.h:26: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/object.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/object.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/object.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ kernel/object.h: In function ‘zephir_read_property_this_quick’: kernel/object.h:131:2: warning: implicit declaration of function ‘Z_ADDREF_PP’ [-Wimplicit-function-declaration] Z_ADDREF_PP(result); ^ kernel/object.h:135:3: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(result); ^ In file included from /usr/include/php/20170718/Zend/zend_globals.h:28:0, from /usr/include/php/20170718/Zend/zend_compile.h:702, from /usr/include/php/20170718/Zend/zend_modules.h:26, from /usr/include/php/20170718/Zend/zend_API.h:27, from /usr/include/php/20170718/main/php.h:40, from kernel/object.h:24: kernel/object.h: In function ‘zephir_fetch_nproperty_this_quick’: /usr/include/php/20170718/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘uninitialized_zval_ptr’

define EG(v) (executor_globals.v)

                             ^

kernel/object.h:159:27: note: in expansion of macro ‘EG’ return result ? result : EG(uninitialized_zval_ptr); ^ /usr/include/php/20170718/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘uninitialized_zval_ptr’

define EG(v) (executor_globals.v)

                             ^

kernel/object.h:164:28: note: in expansion of macro ‘EG’ return result ? result : EG(uninitialized_zval_ptr); ^ kernel/operators.h:114:43: error: unknown type name ‘zend_uint’ void zephir_cast(zval result, zval var, zend_uint type); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/require.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/string.h:26: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/string.h:26:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ Installing... Internal extension compilation failed. Check compile-errors.log for more information

[email protected]:~/Code/yudaoadmin/tests/zephir/zeper$ zephir build --backend ZendEngine2 Compiling... In file included from kernel/array.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/array.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/array.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./kernel/main.h:27:0, from kernel/concat.h:8: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/concat.h:8:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/fcall.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/fcall.h:25: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/fcall.h:25:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)

                                            ^

kernel/fcall.h:518:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval {aka struct _zval_struct }’ but argument is of type ‘zval {aka struct _zval_struct }’ ZEND_API void _zval_ptr_dtor(zval zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h:526:4: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(return_value_ptr); ^ kernel/fcall.h:533:3: warning: implicit declaration of function ‘COPY_PZVAL_TO_ZVAL’ [-Wimplicit-function-declaration] COPY_PZVAL_TO_ZVAL(*return_value, rv); ^ In file included from /usr/include/php/20170718/Zend/zend.h:37:0, from /usr/include/php/20170718/main/php.h:36, from ./kernel/globals.h:24, from ./php_zeper.h:11, from ./php_ext.h:4, from kernel/fcall.h:24: kernel/fcall.h: In function ‘zephir_return_call_zval_function’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)

                                            ^

kernel/fcall.h:555:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval {aka struct _zval_struct }’ but argument is of type ‘zval {aka struct _zval_struct }’ ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ kernel/fcall.h: In function ‘zephir_return_call_class_method’: /usr/include/php/20170718/Zend/zend_variables.h:87:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)

                                            ^

kernel/fcall.h:596:3: note: in expansion of macro ‘zval_ptr_dtor’ zval_ptr_dtor(return_value_ptr); ^ /usr/include/php/20170718/Zend/zend_variables.h:79:15: note: expected ‘zval {aka struct _zval_struct }’ but argument is of type ‘zval {aka struct _zval_struct }’ ZEND_API void _zval_ptr_dtor(zval zval_ptr ZEND_FILE_LINE_DC); ^ kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/main.h:27:0: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ kernel/main.h: In function ‘zephir_maybe_separate_zval’: kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/memory.h:26: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from kernel/object.h:27:0: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/object.h:28: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char file, zend_uint line TSRMLS_DC); ^ In file included from kernel/object.h:28:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warning: implicit declaration of function ‘Z_UNSET_ISREF_P’ [-Wimplicit-function-declaration] Z_UNSET_ISREF_P(z); ^ ./kernel/main.h:117:3: note: in expansion of macro ‘INIT_PZVAL_COPY’ INIT_PZVAL_COPY(new_zv, z); ^ kernel/object.h: In function ‘zephir_read_property_this_quick’: kernel/object.h:131:2: warning: implicit declaration of function ‘Z_ADDREF_PP’ [-Wimplicit-function-declaration] Z_ADDREF_PP(result); ^ kernel/object.h:135:3: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(result); ^ In file included from /usr/include/php/20170718/Zend/zend_globals.h:28:0, from /usr/include/php/20170718/Zend/zend_compile.h:702, from /usr/include/php/20170718/Zend/zend_modules.h:26, from /usr/include/php/20170718/Zend/zend_API.h:27, from /usr/include/php/20170718/main/php.h:40, from kernel/object.h:24: kernel/object.h: In function ‘zephir_fetch_nproperty_this_quick’: /usr/include/php/20170718/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘uninitialized_zval_ptr’

define EG(v) (executor_globals.v)

                             ^

kernel/object.h:159:27: note: in expansion of macro ‘EG’ return result ? result : EG(uninitialized_zval_ptr); ^ /usr/include/php/20170718/Zend/zend_globals_macros.h:46:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘uninitialized_zval_ptr’

define EG(v) (executor_globals.v)

                             ^

kernel/object.h:164:28: note: in expansion of macro ‘EG’ return result ? result : EG(uninitialized_zval_ptr); ^ kernel/operators.h:114:43: error: unknown type name ‘zend_uint’ void zephir_cast(zval result, zval var, zend_uint type); ^ In file included from ./php_zeper.h:11:0, from ./php_ext.h:4, from kernel/require.h:24: ./kernel/globals.h:64:2: error: unknown type name ‘zend_uint’ zend_uint times; ^ In file included from ./kernel/main.h:27:0, from kernel/string.h:26: ./kernel/exception.h:60:67: error: unknown type name ‘zend_uint’ void zephir_throw_exception_debug(zval object, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:85: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:61:126: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string_debug(zend_class_entry ce, const char message, zend_uint message_len, const char file, zend_uint line TSRMLS_DC); ^ ./kernel/exception.h:62:79: error: unknown type name ‘zend_uint’ void zephir_throw_exception_string(zend_class_entry ce, const char message, zend_uint message_len TSRMLS_DC); ^ ./kernel/exception.h:64:95: error: unknown type name ‘zend_uint’ void zephir_throw_exception_zval_debug(zend_class_entry ce, zval message, const char *file, zend_uint line TSRMLS_DC); ^ In file included from kernel/string.h:26:0: ./kernel/main.h: In function ‘zephir_maybe_separate_zval’: ./kernel/main.h:113:6: warning: implicit declaration of function ‘Z_REFCOUNT_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:113:31: warning: implicit declaration of function ‘Z_ISREF_PP’ [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(z) > 1 && !Z_ISREF_PP(z)) { ^ ./kernel/main.h:116:3: warning: implicit declaration of function ‘ALLOC_ZVAL’ [-Wimplicit-function-declaration] ALLOC_ZVAL(new_zv); ^ ./kernel/main.h:83:3: warn