I must say, I like the coalesce() idea a lot. It gives more flexibility over
ifsetor() which sounds to me like it only handles 1 variable that is or
isn't set. coalesce() would handle any number of variables.
Here's something else to consider though:
Would anybody be interested in a parameter for
"Magnus Määttä" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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
Frank M. Kromann wrote:
> The Segfault seams to come from the last patch to Zend/zend_compile.h.
> Using yesterdays version works fine.
Reverting zend_compile.h to revision 1.306 solved the problem for me,
too.
Dmitry?
--
Sebastian Bergmann http://www.sebastian-bergmann.
On June 8, 2005 04:20 pm, Noah Botimer wrote:
>
> Since PHP already supports arbitrary/optional parameters natively, I
> think a single coalesce() function would be a very reasonable
> extension that would behave in an understandable and desirable manner
> (with a name that matches at least some co
Well, there is an alternative to telling users to change their, code you
can force them to :-)
PHP allows setting of default connection parameters for mysql_connect()
via INI settings and subsequently disabling (turn on SQL safe mode) the
ability to specify them directly.
The ext/MySQL ini s
On Jun 08, 2005, at 11:06 AM, PAGES Vincent wrote:
Hi,
I hope i'm writing in the good mailing list...
Since one year, i'm working on loadbalancing solution for
webservers (usually Apache 2). Behind a cluster of http servers, we
can find a mysql cluster.
Generally ppl are using the mysql_c
Hello all,
Now that my PHP-DEV imap folder has cooled off a bit, I'd like to
chime in briefly on ifsetor() and goto.
As far as ifsetor() goes, I like the concept. I would, however,
suggest a specific behavior and a name change. I do a lot of
database code and use things like ISNULL() an
Note that the system administrator may be a company that offers web hosting
solutions, it's really not practical, nor ethically correct to make a change
that forces every customer to change their scripts and systems so they begin
working again.
I have seen several times that people like me, that
The Segfault seams to come from the last patch to Zend/zend_compile.h.
Using yesterdays version works fine.
- Frank
> Sebastian Bergmann wrote:
> > After Jani's patch I still get the segfault but now with a backtrace
>
> This is weird: I made a clean checkout and now I get a syntax error in
>
Stanislav Malyshev wrote:
> As of now, PHP allows declaring abstract private methods. Does anyone
> has any use for it?
I do not see a use for this and I think it should be disallowed;
abstract methods only make sense when declared public or protected.
--
Sebastian Bergmann
Nope, I don't see any use for that.
At 09:29 PM 6/8/2005 +0300, Stanislav Malyshev wrote:
As of now, PHP allows declaring abstract private methods. Does anyone has
any use for it? IMO, it is meaningless and should be disallowed (basically
it just says "this method does not exist and never will"
Sure, except you can't create an instance of a class which contains
abstract methods.
On Wed, 2005-06-08 at 12:40 -0600, John LeSueur wrote:
> Stanislav Malyshev wrote:
>
> > As of now, PHP allows declaring abstract private methods. Does anyone
> > has any use for it? IMO, it is meaningless and
JL>>It can be used to reserve a function for future use?
I'm not quite understanding this concept - if you can't use it in the
code in no way, why declare it at all?
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115
--
PHP Internal
Stanislav Malyshev wrote:
As of now, PHP allows declaring abstract private methods. Does anyone
has any use for it? IMO, it is meaningless and should be disallowed
(basically it just says "this method does not exist and never will")
but maybe I am not seeing some use for it.
It can be used t
As of now, PHP allows declaring abstract private methods. Does anyone has
any use for it? IMO, it is meaningless and should be disallowed (basically
it just says "this method does not exist and never will") but maybe I am
not seeing some use for it.
--
Stanislav Malyshev, Zend Products Engineer
Sebastian Bergmann wrote:
> After Jani's patch I still get the segfault but now with a backtrace
This is weird: I made a clean checkout and now I get a syntax error in
the configure.js:
C:\home\php\php-5.1\configure.js(4777, 49)
And line 4777 is empty.
--
Sebastian Bergmann
Ah, but is it the thread it was?
:)
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Andrei Zmievski" <[EMAIL PROTECTED]>
Cc: "Adam Maccabee Trachtenberg" <[EMAIL PROTECTED]>;
Sent: Wednesday, June 08, 2005 5:14 PM
Subject: Re: [PHP-DEV] PHP 5.1 (closed)
> On Wed,
Sebastian Bergmann wrote:
> HEAD segfaults on Win32 without a backtrace.
After Jani's patch I still get the segfault but now with a backtrace:
php5ts_debug.dll!_efree(void * ptr=0xcdcdcdcd, char *
__zend_filename=0x10875498, unsigned int __zend_lineno=129, char *
__zend_orig_filename=0x000
On Wed, 2005-06-08 at 11:25, Andrei Zmievski wrote:
> On Jun 7, 2005, at 7:31 PM, Robert Cummings wrote:
>
> > On Tue, 2005-06-07 at 22:01, Andrei Zmievski wrote:
> >
> >> Godwin's Law.
> >>
> >
> > Quirk's exception.
>
> Does not apply as I did not invoke the Godwin's law explicitly, but
> mer
I'm a member of the Catalan translation team. We are going to translate the
documentation into Catalan language.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
HEAD segfaults on Win32 without a backtrace.
Could this be related to the recent (Memory Manager related) changes to
Zend.m4 that need to be made to the Win32 build system, too?
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4
On Jun 7, 2005, at 7:31 PM, Robert Cummings wrote:
On Tue, 2005-06-07 at 22:01, Andrei Zmievski wrote:
Godwin's Law.
Quirk's exception.
Does not apply as I did not invoke the Godwin's law explicitly, but
merely commented on Adam's mesage.
-Andrei
--
PHP Internals - PHP Runtime Develo
If only it were so easier...
Unfortunately, last month we moved 600 websites on a unique server to a
solution based on loadbalancing (LVS, 2 dedicated servers with apache
only and a mysql cluster).
The developpers who generally works on ather server which use
"localhost" as the hostname, did no
Why not simply instruct your developers to use the proper host name in
the first place?
Ilia
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I hope i'm writing in the good mailing list...
Since one year, i'm working on loadbalancing solution for webservers
(usually Apache 2). Behind a cluster of http servers, we can find a
mysql cluster.
Generally ppl are using the mysql_connect with the hostname =
"localhost". When i suggest
I think the problem is only present if they have mawk installed under
the name 'awk'. Magnus and I spent a fair bit if time trying things
out with different awk implementations, as usual, with minimal
feedback from anyone else, either in the internals community or
outside of it.
How about having
Fixed in CVS now. (please test, I have no solaris machine to test with :)
--Jani
On Wed, 8 Jun 2005, Uwe Schindler wrote:
At 19:38 07.06.2005, Derick Rethans wrote:
On Mon, 6 Jun 2005, Derick Rethans wrote:
> If you have any issues that you really want to get fixed in PHP 4.4,
> ple
Hello Andi,
Sunday, June 5, 2005, 9:13:52 PM, you wrote:
> At 07:18 PM 6/5/2005 +0200, Marcus Boerger wrote:
>>There are a few things i'd like to address before:
>>
>>4) I still want the ifsetor operator since it is very helpfull and again
>>simplifies a lot of things.
> I don't think ifsetor()
Hello Andi,
i forgot to mention one major problem. The current implementation of
extension dependency requires gnu-awk. If another awk implementation is
being used to generate php then the result is an immediate segfaulting
php binary. We should either make gawk checked by configure or rewrite
t
At 19:38 07.06.2005, Derick Rethans wrote:
On Mon, 6 Jun 2005, Derick Rethans wrote:
> If you have any issues that you really want to get fixed in PHP 4.4,
> please reply to this email (on the internals@ list).
If there is nothing, I'd like to start releasing RC1 on Monday.
regards,
Derick
O
On Tue, 7 Jun 2005, Christopher Devin Vorndran wrote:
> Submitting new functions to the PHP core.
That's usually done after discussing it and sending patches to the
internals list. As soon as we have a nice incoming stream of patches
you'll be eligible for a CVS account.
regards,
Derick
--
D
31 matches
Mail list logo