Il mar, 2003-01-07 alle 20:15, J Smith ha scritto:
You can still use constructors that have the same name as the class, at
least for the time being. Just tested it with 4.4.0-dev HEAD and ZE2. If
you have both a method with the same name as the class and a method called
__construct(), the
Il mar, 2003-01-07 alle 20:15, J Smith ha scritto:
You can still use constructors that have the same name as the class, at
least for the time being. Just tested it with 4.4.0-dev HEAD and ZE2. If
you have both a method with the same name as the class and a method called
__construct(), the
On 14 Jan 2003, michel 'ziobudda' morelli wrote:
Il mar, 2003-01-07 alle 20:15, J Smith ha scritto:
You can still use constructors that have the same name as the class, at
least for the time being. Just tested it with 4.4.0-dev HEAD and ZE2. If
you have both a method with the same
To be more precise - passed by handle.
Andrey
- Original Message -
From: Leon Atkinson [EMAIL PROTECTED]
To: John Wells [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 07, 2003 6:31 AM
Subject: Re: [PHP-DEV] Designing for PHP4 with PHP5 in mind...
Any good links you
On Mon, 6 Jan 2003, George Schlossnagle wrote:
On Monday, January 6, 2003, at 09:48 PM, Brian Moon wrote:
From what I understand, all OO code will have to be modified for PHP5.
Constructors for example and no longer named the same as the class
name.
That alone means every class must
Hello Dan,
DH Just to prevent any misconception, the code executed through the ZE1 will
DH actually be AAC rather than AAA.
Please run this code and check it output!
It will print AAA, because in function c() you have COPY of object `$a`, NOT
reference (with ZE1).
Best regards,
Andrew Sitnikov
Please run this code and check it output!
I actually did ;) however in retyping (due to circumstances) the code I
had misread the function call as c($a); and on replying didt notice my
mistake.
Appologies :P If you change the function call to c($a); you will notice
the output being AAC :P
--
I'm preparing for a project in which I'll be porting and redesigning a
large, ugly Visual Basic/Sql Server app to a PHP/Mysql or Postgresql based
web application.
I'd like to code in a way that will be at the same time easily ported to
PHP5 and that will take advantage of PHP5's new object
From what I understand, all OO code will have to be modified for PHP5.
Constructors for example and no longer named the same as the class name.
That alone means every class must be changed. I don't recall anyone saying
it would be BC either, but I could be wrong.
Brian Moon
-
On Monday, January 6, 2003, at 09:48 PM, Brian Moon wrote:
From what I understand, all OO code will have to be modified for PHP5.
Constructors for example and no longer named the same as the class
name.
That alone means every class must be changed. I don't recall anyone
saying
it
So code should be backwards compatible? Very nice.
Any good links you could throw my way describing proposed changes?
Thanks guys.
John
Sterling Hughes said:
On Monday, January 6, 2003, at 09:48 PM, Brian Moon wrote:
From what I understand, all OO code will have to be modified for
PHP5.
Any good links you could throw my way describing proposed changes?
There are archives of the Zend Engine 2 list at zend.com:
http://www.zend.com/lists.php
There is one big change with objects that will break BC. Objects pass by
reference instead of value, both for function calls and
| I don't recall anyone saying
| it would be BC either, but I could be wrong.
|
| You're wrong.
|
| Of course, I could be too.
|
| but you're not. so its ok...
|
So current PHP4 classes will still work in ZE2?
Brian.
--
PHP Development Mailing List http://www.php.net/
To
13 matches
Mail list logo