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
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
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
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
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
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
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
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
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
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
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
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
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
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()) {
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:
15 matches
Mail list logo