RE: [PHP-DEV] __set and reference

2005-12-11 Thread Dmitry Stogov
Assign by reference is not possible with __set() method. Thanks. Dmitry. > -Original Message- > From: Superbiji [mailto:[EMAIL PROTECTED] > Sent: Monday, December 12, 2005 6:49 AM > To: internals@lists.php.net > Subject: [PHP-DEV] __set and reference > > > Hi All, > > in prior 5.1, it

Re: [PHP-DEV] __set and reference

2005-12-11 Thread Marcus Boerger
Hello Superbiji, Monday, December 12, 2005, 4:49:06 AM, you wrote: > Hi All, > in prior 5.1, it is allowed to do: > class MyClass { > public function __set($key, &$value) {} > } > $c = new MyClass(); > $c->d=10; > in 5.1 up: > that code result this: > Fatal error: Couldn't execute method MyClas

Re: [PHP-DEV] parse_date.c needs zend.h

2005-12-11 Thread Jani Taskinen
What it really needs is strings.h to be included. (zend.h is included via php.h anyway) --Jani On Mon, 12 Dec 2005, Sebastian Bergmann wrote: After updating my PHP_5_1 checkout and the libxml2/libxslt libraries today, the ext/date/lib/parse_date.c source file seems to need an #in

[PHP-DEV] parse_date.c needs zend.h

2005-12-11 Thread Sebastian Bergmann
After updating my PHP_5_1 checkout and the libxml2/libxslt libraries today, the ext/date/lib/parse_date.c source file seems to need an #include "zend.h" to find strncasecmp(). I know that this change has to be made to the corresponding .re file and since I do not want to mess with it it would

[PHP-DEV] Re: Compiling php (installed build directory)

2005-12-11 Thread Pierre
On Mon, 12 Dec 2005 03:16:59 +0100 [EMAIL PROTECTED] (Dragan Stanojevic - Nevidljivi) wrote: > since bogus-dir doesn't exists, those files are not created... > Shouldn't "make install" make a /usr/local/bogus-dir? If you do not have special folders for your libs (like lib64), you do not have to u

[PHP-DEV] __set and reference

2005-12-11 Thread Superbiji
Hi All, in prior 5.1, it is allowed to do: class MyClass { public function __set($key, &$value) {} } $c = new MyClass(); $c->d=10; in 5.1 up: that code result this: Fatal error: Couldn't execute method MyClass::__set in Unknown on line 0 I have submit this bug. My question is, is it possible to

[PHP-DEV] Compiling php (installed build directory)

2005-12-11 Thread Dragan Stanojevic - Nevidljivi
Hi all, I'm just trying to figure out various configure options on php-5.1.1. When I "make install" I get the following files (among others): /usr/local/lib/php/build/shtool /usr/local/lib/php/build/config.guess /usr/local/lib/php/build/config.sub /usr/local/lib/php/build/phpize.m4 /usr/local/l

Re: [PHP-DEV] Bogus bug??

2005-12-11 Thread Robert Cummings
On Sun, 2005-12-11 at 19:02, Bart de Boer wrote: > Robert Cummings wrote: > > On Sun, 2005-12-11 at 17:26, Robert Cummings wrote: > > > > Could someone explain to my feeble mind how the bug reported at the > > following link is bogus? The added comment is pretty obtuse :( > > > >http://bugs.p

Re: [PHP-DEV] Bogus bug??

2005-12-11 Thread Bart de Boer
Robert Cummings wrote: On Sun, 2005-12-11 at 17:26, Robert Cummings wrote: Could someone explain to my feeble mind how the bug reported at the following link is bogus? The added comment is pretty obtuse :( http://bugs.php.net/bug.php?id=35634&edit=2 Thanks, Rob. It looks like each time yo

Re: [PHP-DEV] Bogus bug??

2005-12-11 Thread Robert Cummings
On Sun, 2005-12-11 at 17:26, Robert Cummings wrote: > Could someone explain to my feeble mind how the bug reported at the > following link is bogus? The added comment is pretty obtuse :( > > http://bugs.php.net/bug.php?id=35634&edit=2 I'd just like to add before a second person send me an RTF

[PHP-DEV] Bogus bug??

2005-12-11 Thread Robert Cummings
Could someone explain to my feeble mind how the bug reported at the following link is bogus? The added comment is pretty obtuse :( http://bugs.php.net/bug.php?id=35634&edit=2 Thanks, Rob. -- .. | InterJinn Application Framework - ht

[PHP-DEV] windows build and libxml2/libxslt

2005-12-11 Thread Rob Richards
The windows build has been update to use libxml2 .22 and libxslt .15. New release and debug builds of these can be grabbed from http://ctindustries.net/libxml/ Rob -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] bad type specifier while parsing parameters

2005-12-11 Thread Marcus Boerger
Hello Sebastian, fixed in cvs - and btw it took me 5 seconds to fix - i bet you could have done it yourself :-) best regards marcus Sunday, December 11, 2005, 1:25:26 PM, you wrote: > The code below (which is based on Derick's code [1]) used to work until > recently: > class Class

[PHP-DEV] bad type specifier while parsing parameters

2005-12-11 Thread Sebastian Bergmann
The code below (which is based on Derick's code [1]) used to work until recently: hasProperty($propertyName)) { $property = $class->getProperty($propertyName); if (!$property->isPublic()) { if ($property->isProtected()) {

Re: [PHP-DEV] Bugs in zend.c and zend_compile.c in ZTS mode

2005-12-11 Thread David Oren
Hi Andi, Thanks for your reply. I will do my best to send a short reproducing script, but I can't guarantee that I'll be able to produce one. David --- On Thu 12/08, Andi Gutmans wrote: From: Andi Gutmans To: [EMAIL PROTECTED], internals@lists.php.net Date: Thu, 08 Dec 2005 18:24: