Re: [PHP-DEV] ./configure, PHP, SuSE and the AMD64

2004-09-25 Thread James Devenish
In message <[EMAIL PROTECTED]> on Fri, Sep 24, 2004 at 07:21:45PM -0700, Hans Zaunere wrote: > However, there is one issue I'm pretty unclear on - and, unfortunately > it might relate to some of the other issues, which makes matters more > confusion. [...] > -- In general, I've found that PHP's ./c

RE: [PHP-DEV] Ideas on hooking into the object cast handler

2004-09-25 Thread Robert Silva
I'm essentially trying to emulate the .NET style boxing/unboxing functionality natively in PHP while maintaining strict type checking and not affecting bc or performance (as part of a larger project converting the .NET BFL to a php extension). I already have a large component of it working in userl

[PHP-DEV] issues in compiling the zend_execute.c in CVS HEAD

2004-09-25 Thread Kamesh Jayachandran
Hi All, I have updated the php to latest HEAD from then on compiling zend_execute.c keeps hanging. This is the compile command I could see, /bin/sh /root/kamesh/work/php-src/libtool --silent --preserve-dup-deps --mode=compile /root/kamesh/work/php-src/meta_ccld -IZend/ -I/root/kamesh/work/php-s

Re: [PHP-DEV] issues in compiling the zend_execute.c in CVS HEAD

2004-09-25 Thread Kamesh Jayachandran
Hi Andi, This problem seems to be there with the zend_compile.h version 1.293, zend_execute.c version 1.680, zend_opcode.c version 1.108 and zend_execute_API.c version 1.299. This compilation problem does not exist in Non-ZTS mode, but exist in ZTS mode only. I have just reverted the versions jus

Re: [PHP-DEV] Benchmark of new VM

2004-09-25 Thread Thies C . Arntzen
On 2004-09-24 01:42:48 +0200, Andi Gutmans <[EMAIL PROTECTED]> said: Hi, Take it at face value but I get the following results with the new VM vs. 5.0.x on the bench.php script I commited to php5/Zend/tests. PHP 5.0.xPHP 5.1.x 37.5secsvs 29secs You know I'm not a big believer in syn

[PHP-DEV] ZEND_BEGIN_ARG_INFO

2004-09-25 Thread Robert Silva
When defining class methods that take object parameters using ZEND_BEGIN_ARG_INFO and ZEND_ARG_OBJ_INFO, do you have to define it as pass_by_ref or does the engine implictly know to pass them by ref. Im assuming the pass_by_ref flag is more for backcompat reasons. Thanks Bob -- PHP Internals -

RE: [PHP-DEV] ./configure, PHP, SuSE and the AMD64

2004-09-25 Thread Hans Zaunere
> > However, there is one issue I'm pretty unclear on - and, unfortunately > > it might relate to some of the other issues, which makes matters more > > confusion. > [...] > > -- In general, I've found that PHP's ./configure tends to assume things > > are in /usr/lib. However, on this and other

Re: [PHP-DEV] ./configure, PHP, SuSE and the AMD64

2004-09-25 Thread Rasmus Lerdorf
On Sat, 25 Sep 2004, James Devenish wrote: > In message <[EMAIL PROTECTED]> > on Fri, Sep 24, 2004 at 07:21:45PM -0700, Hans Zaunere wrote: > > However, there is one issue I'm pretty unclear on - and, unfortunately > > it might relate to some of the other issues, which makes matters more > > confus

RE: [PHP-DEV] ./configure, PHP, SuSE and the AMD64

2004-09-25 Thread Robert Silva
The root of your problem is that ext/domxml/config.m4 looks for libxml2 specifically in $DOMXML_DIR/lib And if it doesn't find it there, then it defaults to using -lxml instead of -lxml2. Now where this breaks for you is that libxml doesn't exist, but libxml2 does. If you look at that config.m4

Re: [PHP-DEV] Benchmark of new VM

2004-09-25 Thread Andi Gutmans
Hi Thies, I'll see which parts of your patch can be adapted for 5.1.x. I think the var lookup is probably the most substantial one but I will probably implement it slightly different. I'll mail internals@ when I have something. As I mailed you, I tried the zval_copy_ctor() and zval_dtor() optimiz

Re: [PHP-DEV] Benchmark of new VM

2004-09-25 Thread Wez Furlong
The script gets nuked when buildconf is run (since it matches *.php in the .cvsignore file). Not sure how to fix that :-) --Wez. On Thu, 23 Sep 2004 16:42:48 -0700, Andi Gutmans <[EMAIL PROTECTED]> wrote: > bench.php script I commited to php5/Zend/tests. -- PHP Internals - PHP Runtime Developme

Fwd: Re: [PHP-DEV] Benchmark of new VM

2004-09-25 Thread Andi Gutmans
Seems my attachments are getting filtered out. Try #2. Date: Sat, 25 Sep 2004 18:05:18 -0700 To: Thies C. Arntzen <[EMAIL PROTECTED]>,[EMAIL PROTECTED] From: Andi Gutmans <[EMAIL PROTECTED]> Subject: Re: [PHP-DEV] Benchmark of new VM Hi Thies, I'll see which parts of your patch can be adapted for 5

Re: [PHP-DEV] ./configure, PHP, SuSE and the AMD64

2004-09-25 Thread James Devenish
In message <[EMAIL PROTECTED]> on Sat, Sep 25, 2004 at 01:12:15PM -0700, Rasmus Lerdorf wrote: > Can't you just do: > > LDFLAGS=-L/usr/lib64 ./configure ... > > CPPFLAGS for compile-time stuff The compiler and linker have no problem. The problem is that the ./configure script does its *own* li