Ask a Question related to PHP Development, Design and Development.
-
Vesselin Atanasov #1
[PHP-DEV] Patch for Zend engine linker error
Hello.
The lastest CVS fails to compile under Linux. An error occurs because the
linker cannot find the "empty_fcall_info_cache" symbol.
diff -ruN php5-200308051930.orig/Zend/zend_execute_API.c
php5-200308051930/Zend/zend_execute_API.c
--- php5-200308051930.orig/Zend/zend_execute_API.c 2003-08-05
11:07:15.000000000 +0000
+++ php5-200308051930/Zend/zend_execute_API.c 2003-08-06
01:59:20.000000000 +0000
@@ -37,11 +37,11 @@
ZEND_API void (*zend_execute)(zend_op_array *op_array TSRMLS_DC);
ZEND_API void (*zend_execute_internal)(zend_execute_data *execute_data_ptr,
int return_value_used TSRMLS_DC);
+ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { NULL, NULL, NULL,
0 };
+
#ifdef ZEND_WIN32
#include <process.h>
/* true global */
-ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { NULL, NULL, NULL,
0 };
-
static WNDCLASS wc;
static HWND timeout_window;
static HANDLE timeout_thread_event;
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
Vesselin Atanasov Guest
-
[PHP-DEV] Zend Engine question
Are there any tools for debugging ZE? I've got a problem with huge script that at some point behave like all variables were reference to single... -
[PHP-DEV] [Zend Engine 2] [PHP-DEV] [patch]__string()method
Sorry, looks like I missed several posts. But the interface approach might mess something when it comes to marshalling. Should a wrapped string... -
[PHP-DEV] [Zend Engine 2] [PHP-DEV] [patch] __string() method
> It's just one of my trivial ideas, that why don't us make it capable of i agree here. this can be important for external integration e.g. Java... -
[PHP-DEV] [Zend Engine 2] [PHP-DEV] [patch] __string() method
marcus.boerger@t-online.de (Marcus Börger) wrote: First, I think we'd better use 1(TRUE) / 0(FALSE) instead SUCCESS / FAILURE for its return... -
[PHP-DEV] [Zend Engine 2] [PHP-DEV] [patch] __string() method
Hi, __string() is fine with me, since in analogy to Java, toString() is prone to have arbitrary meanings in comparison with a simple overloaded... -
Jani Taskinen #2
Re: [PHP-DEV] Patch for Zend engine linker error
Fixed, thanks for the patch.
--Jani
On Wed, 6 Aug 2003, Vesselin Atanasov wrote:
>Hello.
>The lastest CVS fails to compile under Linux. An error occurs because the
>linker cannot find the "empty_fcall_info_cache" symbol.
>
>diff -ruN php5-200308051930.orig/Zend/zend_execute_API.c
>php5-200308051930/Zend/zend_execute_API.c
>--- php5-200308051930.orig/Zend/zend_execute_API.c 2003-08-05
>11:07:15.000000000 +0000
>+++ php5-200308051930/Zend/zend_execute_API.c 2003-08-06
>01:59:20.000000000 +0000
>@@ -37,11 +37,11 @@
> ZEND_API void (*zend_execute)(zend_op_array *op_array TSRMLS_DC);
> ZEND_API void (*zend_execute_internal)(zend_execute_data *execute_data_ptr,
>int return_value_used TSRMLS_DC);
>
>+ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { NULL, NULL, NULL,
>0 };
>+
> #ifdef ZEND_WIN32
> #include <process.h>
> /* true global */
>-ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { NULL, NULL, NULL,
>0 };
>-
> static WNDCLASS wc;
> static HWND timeout_window;
> static HANDLE timeout_thread_event;
>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
Jani Taskinen Guest
-
Zeev Suraski #3
Re: [PHP-DEV] Patch for Zend engine linker error
Thanks, it's fixed now...
Zeev
At 02:43 06/08/2003, Vesselin Atanasov wrote:>Hello.
>The lastest CVS fails to compile under Linux. An error occurs because the
>linker cannot find the "empty_fcall_info_cache" symbol.
>
>diff -ruN php5-200308051930.orig/Zend/zend_execute_API.c
>php5-200308051930/Zend/zend_execute_API.c
>--- php5-200308051930.orig/Zend/zend_execute_API.c 2003-08-05
>11:07:15.000000000 +0000
>+++ php5-200308051930/Zend/zend_execute_API.c 2003-08-06
>01:59:20.000000000 +0000
>@@ -37,11 +37,11 @@
> ZEND_API void (*zend_execute)(zend_op_array *op_array TSRMLS_DC);
> ZEND_API void (*zend_execute_internal)(zend_execute_data *execute_data_ptr,
>int return_value_used TSRMLS_DC);
>
>+ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { NULL, NULL, NULL,
>0 };
>+
> #ifdef ZEND_WIN32
> #include <process.h>
> /* true global */
>-ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { NULL, NULL, NULL,
>0 };
>-
> static WNDCLASS wc;
> static HWND timeout_window;
> static HANDLE timeout_thread_event;
>
>
>--
>PHP Internals - PHP Runtime Development Mailing List
>To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
Zeev Suraski Guest



Reply With Quote

