Re: [PHP-DEV] abstract private methods

2005-06-09 Thread Stanislav Malyshev
JL>>some of them yet, but I release this code to be used. Someone comes along JL>>and extends my class. If I have these future planned functions in as JL>>abstract private, then they are protected for my future use in the base JL>>class. The user extending my class will realize he needs to use a di

[PHP-DEV] PATCH to cross compile mysql extension for NetWare

2005-06-09 Thread Kamesh Jayachandran
Hi Jani, NetWare mysqlclient library is shipped as libmysql.nlm(Old 8.3 limitation). This patch replaces all the instances of myqlclient with $libname, $libname a variable set as mysql for NetWare $libname a variable set as mysqlclient for others Please apply this patch. Find patches at, http://

Re: [PHP-DEV] HEAD segfaults on Win32

2005-06-09 Thread Wez Furlong
HEAD built and run just fine for me (Debug_TS) just now. Are you guys still having problems? --Wez. On 6/9/05, Sebastian Bergmann <[EMAIL PROTECTED]> wrote: > Frank M. Kromann wrote: > > The Segfault seams to come from the last patch to Zend/zend_compile.h. > > Using yesterdays version works fine

Re: [PHP-DEV] Re: ifsetor(), goto, 5.x, my two cents

2005-06-09 Thread Noah Botimer
Ron, I was thinking about behavioral variants but left them out to keep my message shorter. I haven't really thought of a clean way to use one named function to provide both types of functionality. I was originally thinking of a constant parameter to indicate a "mode" but with the arbit

[PHP-DEV] Re: ifsetor(), goto, 5.x, my two cents

2005-06-09 Thread Taco van den Broek
It will be difficult to define the check for such a coalesce function that everybody agrees on. Personnally I like the !empty test, but would want it to check on != 0 too. Most probably my favourite check would be something like: !empty($foo) || (string)$foo !== '' Someone else might want thi

Re: [PHP-DEV] HEAD segfaults on Win32

2005-06-09 Thread Sebastian Bergmann
Wez Furlong wrote: > HEAD built and run just fine for me (Debug_TS) just now. > Are you guys still having problems? No, Dmitry fixed it. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PH

Re: [PHP-DEV] PHP 5.1

2005-06-09 Thread Sara Golemon
> > What about ifsetor for 5.1 ? > > Would anybody be interested in a parameter for ifsetor() that would treat > isset() as !empty() or an alternative function that achieves this? I know > I'd love to see that. I use empty() a lot more than isset(). > In the interrest of KISS, I'd leave the emptine

Re: [PHP-DEV] PHP 5.1

2005-06-09 Thread Andi Gutmans
Hi, Finally catching up with all the million comments. Definitely a way to get distracted from real work :) I don't want to get distracted from what I consider should be the main objective and bigger issues than yes to one or another feature. We should get PDO, new execution engine and some o

Re: [PHP-DEV] abstract private methods

2005-06-09 Thread Nicolas Bérard Nault
For my part, I use abstract classes as routines libraries. That is, instead of having tons of functions lying freely outside of any classes, I use classifications. Each class represents a type a categorie of action. The whole point of having private functions in abstract classes is when public fun

RE: [PHP-DEV] PHP 5.1

2005-06-09 Thread Andrei Zmievski
I wholeheartedly agree with Andi: we already have a very full-featured release with 5.1 and we should have a beta out as soon as possible in order to start getting user feedback. The fact that ifsetor() and goto have generated such large discussions shows that we are not in agreement on how or if t

Re: [PHP-DEV] abstract private methods

2005-06-09 Thread Marcus Boerger
Hello Nicolas, you didn't read carefully we weren't talking aabout abstarct class cname{ private function fname() } but instead of class cname { abstract private function fname() } or interface cname { private function fname() } Friday, June 10, 2005, 12:04:43 AM, you wrote: > For my part, I u

Re: [PHP-DEV] PHP 5.1

2005-06-09 Thread George Schlossnagle
On Jun 9, 2005, at 6:51 PM, Andi Gutmans wrote: Hi, Finally catching up with all the million comments. Definitely a way to get distracted from real work :) I don't want to get distracted from what I consider should be the main objective and bigger issues than yes to one or another featur

Re: [PHP-DEV] PHP 5.1

2005-06-09 Thread Rasmus Lerdorf
George Schlossnagle wrote: >> It's for the benefit of all to make progress and not slow the release >> cycle to a halt, especially for people who are looking forward to the >> "major" features. We have some great stuff coming and it'll go bad if >> we don't move the major pieces along. > > I th

[PHP-DEV] Reflection API: Getting the default value of a property

2005-06-09 Thread Sebastian Bergmann
Am I just blind or do we not have a method in the Reflection API that retuns the default value of a class' property? -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Ru