Re: [CFV] how to mark protected items?

From: Date: Tue, 22 Jun 2004 19:56:50 +0000
Subject: Re: [CFV] how to mark protected items?
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31108@lists.php.net to get a copy of this message
Hi Hans: On Tue, Jun 22, 2004 at 03:38:22PM -0400, Hans Lellelid wrote: > > Yeah, but since (according to Tomas, anyway) this discussion concerns > PHP5, that's a non-issue. I started the discussion. I'm talking about PHP 4 and 5. > Right, but they don't need to think anymore thanks to the lovely E_FATAL > mentioned before. But we and the end users are writing code in PHP 4 that should continue to work when upgraded to PHP 5. > 1 - If they are using the class externally then they have read the > API docs & they won't even make the mistake of trying to access > something internal. Not. > And if they do try then they will be told by the > engine that it's protected. Not in PHP 4. But when this poor shmoe upgrades to PHP 5, they're screwed. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.dev (#31108) next »