RE: [PEAR-DEV] Re: problem with System.php under Zend 2

From: Date: Sat, 10 Aug 2002 16:56:31 +0000
Subject: RE: [PEAR-DEV] Re: problem with System.php under Zend 2
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8274@lists.php.net to get a copy of this message
Yes, I have multiple personalities. no, Tomas Cox. - - james > > Is that you talking to yourself? > > On Sat, 10 Aug 2002, James Cox wrote: > > > Actually, this kind of sucks, and is a big black hole for BC: > > > > <@imajes> cox: we should really fix that little problem within > ZE2... or at > > least, have a thing which says if in method, and function exists, call > > function not method > > <@cox> imajes: that has sense > > <@imajes> but to be honest > > <@imajes> I don't like this change to ze2 > > <@cox> otherwise a lot of BC will be broken > > <@imajes> cox: agreed > > <@imajes> cox: I don't see the problem of class::method > > <@imajes> if, and only if, !function_exists, then calling the method > > directly should be fine. > > <@cox> tell where to vote +1 for that ;-) > > > > from irc. opinions? > > > > -- james > > > > > Brad Bulger wrote: > > > > > > > > System.php has a method named mkDir that makes calls to > mkdir() - those > > > > are supposed to call the built-in PHP mkdir() function, but the ZE2 > > > > changes are causing it to call itself instead, unti it falls over. > > > > In ZE2 you can fix that with just main::mkdir(), but then > that doesn't > > > > work with the current version. Only thing I could think of > that worked > > > > in both was call_user_func('mkdir',$dirname,$umask), which > seems kind of > > > > ewww. > > > > > > > > Anyways, that diff is attached if it's of use - just wanted > to mention > > > > the problem. > > > > > > Great, thanks for spoting that out. The patch has been commited. > > > > > > Tomas V.V.Cox > > > > > > -- > > > PEAR Development Mailing List (http://pear.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > -- > > PEAR Development Mailing List (http://pear.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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