Re: 4.0.1 break existing classes.
| From: | Stanislav Malyshev | Date: | Thu, 29 Jun 2000 14:26:18 +0000 |
| Subject: | Re: 4.0.1 break existing classes. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22799@lists.php.net to get a copy of this message | ||
MW>> in 4.0.0:
MW>> class MyClass {
MW>> function MyClass( $bleh ) {
MW>> //nothing here...
MW>> }
MW>> }
MW>>
MW>> $MyObject = new MyClass();
MW>>
MW>> would work even without the argument supplied. I believe that it used
Well, in fact it still works. But gives warning. You can turn it on by
setting error_reporting.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665