Re: PHP 5
| From: | Stig S. Bakken | Date: | Sun, 10 Feb 2002 20:30:36 +0000 |
| Subject: | Re: PHP 5 | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4576@lists.php.net to get a copy of this message | ||
On Sun, 2002-02-10 at 14:28, Alexander Merz wrote:
> We should start writing a migration guide "How to write code working under PHP
> 4 and PHP 5". Such ideas like:
>
> class Foo {
> function __construct() {
> $this->Foo();
> }
>
> function Foo() {
> ...
> }
> }
Class-named constructors will work in PHP 5, but they will be obsoleted,
which means they're going away in the next major release or so.
- Stig
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc