#33068 [NEW]: Function declarations outside class struct

From: Date: Thu, 19 May 2005 15:07:19 +0000
Subject: #33068 [NEW]: Function declarations outside class struct
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79215@lists.php.net to get a copy of this message
From: john dot kraal at rse dot nl Operating system: Any PHP version: 5.0.4 PHP Bug Type: Feature/Change Request Bug description: Function declarations outside class struct Description: ------------ It would be nice to have a C++ Style function declaration for classes like this: class example { var $blah; function __construct() { $this->blah = 'test'; } } function example::returnBlah() { return $this->blah; } -- Edit bug report at http://bugs.php.net/?id=33068&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33068&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33068&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33068&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33068&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33068&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33068&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33068&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33068&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33068&r=support Expected behavior: http://bugs.php.net/fix.php?id=33068&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33068&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33068&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33068&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33068&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33068&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33068&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33068&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33068&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33068&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33068&r=mysqlcfg

« previous php.bugs (#79215) next »