[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_operators.c

2003-09-14 Thread Sebastian Bergmann
Zeev Suraski wrote: > zeev Sun Sep 14 13:37:01 2003 EDT > > Modified files: > /ZendEngine2 zend_operators.c > Log: > Commit 64-bit fixes to the standard operators > by Ard Biesheuvel ([EMAIL PROTECTED]) e:\home\php\php5\zend\zend_operators.c(672): error C2065: 'SIZEOF

[PHP-DEV] Re: PATCH: new_link parameter to mysql_pconnect()

2003-09-14 Thread Lenar Lõhmus
And now let's attach the updated patch too. L. Lenar Lõhmus wrote: > Hi, > > Next time I'll post patches in the morning after good sleep. > Updated version attached. The original I sent is not useful. > > Lenar > >> Hi, >> >> I'v implemented new_link paramater (as in mysql_connect) for >> my

[PHP-DEV] Re: PATCH: new_link parameter to mysql_pconnect()

2003-09-14 Thread Lenar Lõhmus
Hi, Next time I'll post patches in the morning after good sleep. Updated version attached. The original I sent is not useful. Lenar > Hi, > > I'v implemented new_link paramater (as in mysql_connect) for > mysql_pconnect(). -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

Re: [PHP-DEV] [PATCH] Fix for 64-bit arch errors in zend_operators.c

2003-09-14 Thread Zeev Suraski
The patch looks good - I committed it. Thanks! Zeev At 18:01 13/09/2003, Ard Biesheuvel wrote: Hello group, Currently, the +, - en * operations in zend_operators in C do their calculcations on long arguments with doubles, and check if the result would fit in a long. This failed for me on Fre

[PHP-DEV] lxr.php.net status

2003-09-14 Thread moshe doron
there are some mixing on lxr regrading to php4/php-src, that makes the navigation impossible. e, g: http://lxr.php.net/ident?i=php_register_variable point to php4/ instead of php-src/. -- moshe -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

[PHP-DEV] PATCH: new_link parameter to mysql_pconnect()

2003-09-14 Thread Lenar Lõhmus
Hi, I'v implemented new_link paramater (as in mysql_connect) for mysql_pconnect(). Since client_flags were added to those functions in 4.3.x the parameter is 4th in mysql_connect() and 5th in mysql_pconnect(). When new_link is true when connecting to mysql database with mysql_pconnect() two thin

Re: [PHP-DEV] foreach() broken

2003-09-14 Thread Zeev Suraski
At 13:15 14/09/2003, Sebastian Bergmann wrote: Sebastian Bergmann wrote: > I was not able to strip the application I'm seeing this in down to a > small, reproducing snippet, yet. Okay, here goes: class Bar { function doBar() { Foo::doFoo(); } } $bar = new Bar; $b

Re: [PHP-DEV] foreach() broken

2003-09-14 Thread Marcus Börger
Hello Sebastian, Sunday, September 14, 2003, 12:15:43 PM, you wrote: > Sebastian Bergmann wrote: >> I was not able to strip the application I'm seeing this in down to a >> small, reproducing snippet, yet. > Okay, here goes: >class Foo { > function doFoo() { >print_r($this

Re: [PHP-DEV] ext/gd build broken on Win32

2003-09-14 Thread Sebastian Bergmann
Moriyoshi Koizumi wrote: > Which version of freetype2 are you using? freetype/freetype.h says: #define FREETYPE_MAJOR 2 #define FREETYPE_MINOR 0 Where would I get a current bundle with includes/libraries for Win32? -- Sebastian Bergmann http://sebastian-bergmann.de/

Re: [PHP-DEV] foreach() broken

2003-09-14 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > I was not able to strip the application I'm seeing this in down to a > small, reproducing snippet, yet. Okay, here goes: doBar(); ?> bar Object ( ) I know that this code's logic is wrong (after the latest refactoring of the previously mentioned a

Re: [PHP-DEV] foreach() broken

2003-09-14 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > That means I have to dig deeper into the application I spotted the > issue I wanted to report. A print_r($this); in the method that accesses the member array yielded a surprising result: $this does not point to the object on which the method is called but rather t

Re: [PHP-DEV] ext/gd build broken on Win32

2003-09-14 Thread Moriyoshi Koizumi
> e:\home\php\php5\ext\gd\gd.c(479): error C2065: > 'FREETYPE_PATCH': Undeclared identifier Which version of freetype2 are you using? Moriyoshi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] ext/gd build broken on Win32

2003-09-14 Thread Sebastian Bergmann
e:\home\php\php5\ext\gd\gd.c(479): error C2065: 'FREETYPE_PATCH': Undeclared identifier -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/ -- PHP Internals - PHP Runtime D

Re: [PHP-DEV] foreach() broken

2003-09-14 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > 8 $this->foo = array(new Foo, new Foo); > 9 foreach ($foo as $bar) {} s/$foo/$this->foo/ and this example works. Damn. That means I have to dig deeper into the application I spotted the issue I wanted to report. -- Sebastian Bergmann http://sebastian

Re: [PHP-DEV] foreach() broken

2003-09-14 Thread Wez Furlong
> 7 public function __construct() { > 8 $this->foo = array(new Foo, new Foo); > 9 foreach ($foo as $bar) {} $this->foo ? >Warning: Invalid argument supplied for foreach() >in E:\test.php on line 9 -- PHP Internals - PHP Runtime Development Mailing List To unsubscr

[PHP-DEV] foreach() broken

2003-09-14 Thread Sebastian Bergmann
1 foo = array(new Foo, new Foo); 9 foreach ($foo as $bar) {} 10 } 11 } 12 13 new Bar; 14 ?> Warning: Invalid argument supplied for foreach() in E:\test.php on line 9 -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/