4.0.1 break existing classes.

From: Date: Thu, 29 Jun 2000 14:17:14 +0000
Subject: 4.0.1 break existing classes.
Groups: php.dev 
Request: Send a blank email to php-dev+get-22797@lists.php.net to get a copy of this message
It seems that the new release breaks existing classes. in 4.0.0: class MyClass { function MyClass( $bleh ) { //nothing here... } } $MyObject = new MyClass(); would work even without the argument supplied. I believe that it used to initialize $bleh to a blank (my understanding). Whether or not this is a 'bug', it should be clarified that optional arguments MUST explicitly be declared as such. -- /usr/bin/whatis rtfm > /dev/null

« previous php.dev (#22797) next »