Edward Z. Yang wrote:
I don't really care either way, but if it's a well known fact, might as
well stop trying. Does APC work on Windows? I recently submitted a patch
to fix the snaps.php.net compilation of APC, but for any non-trivial
script (interestingly enough, apc.php and and phpinfo() work
Jared Williams wrote:
> I'm running php 5.2.5 NTS with APC 3.1.0-dev. It works, but not without some
> issues, like occasionally get a FastCGI process crashing which I suspect is
> APC.
Hello Jared,
Doesn't running APC under FastCGI kind of defeat the purpose of APC?
--
Edward Z. Yang
Gregory Beaver wrote:
Rasmus Lerdorf wrote:
I see absolutely no reason to force people to go through and change:
if(!get_magic_quotes_gpc())
to:
if (!function_exists('get_magic_quotes_gpc') || !get_magic_quotes_gpc())
when there is no technical reason to force them to do so. It is slower,
m
Rasmus Lerdorf wrote:
> I see absolutely no reason to force people to go through and change:
>
> if(!get_magic_quotes_gpc())
>
> to:
>
> if (!function_exists('get_magic_quotes_gpc') || !get_magic_quotes_gpc())
>
> when there is no technical reason to force them to do so. It is slower,
> more v
> -Original Message-
> From: Edward Z. Yang [mailto:[EMAIL PROTECTED]
> Sent: 23 May 2008 20:23
> To: internals@lists.php.net
> Subject: [PHP-DEV] APC doesn't work on Windows?
>
> I don't really care either way, but if it's a well known
> fact, might as well stop trying. Does APC work
That would be a major WTF factor for me: strings are unicode but
(string) is binary.
-Andrei
Steph Fox wrote:
Because the majority of use cases involving strings do not involve
binary strings. Or, as Rasmus said, "logic".
Not strings, *casts* to string.
Or is there no way to differentiate b
Because the majority of use cases involving strings do not involve
binary strings. Or, as Rasmus said, "logic".
Not strings, *casts* to string.
Or is there no way to differentiate between them?
- Steph
-Andrei
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
I don't really care either way, but if it's a well known fact, might as
well stop trying. Does APC work on Windows? I recently submitted a patch
to fix the snaps.php.net compilation of APC, but for any non-trivial
script (interestingly enough, apc.php and and phpinfo() work fine), APC
segfaults or
Because the majority of use cases involving strings do not involve
binary strings. Or, as Rasmus said, "logic".
-Andrei
Steph Fox wrote:
Hi all,
Tony's not alone, I'm also playing with PHP 6 today.
As Edward mentioned when I started talking about the upgrade path, we
don't have a way to cop
UG(ascii_conv) is for the format string, not the arguments. The warning
is thrown by this code:
convert_to_string_ex(argv[currentarg]);
It should check the arg type and return with a warning if it's Unicode.
-Andrei
Steph Fox wrote:
It does - 'UG(ascii_conv)' - but sometimes there's a u
Hi all,
Tony's not alone, I'm also playing with PHP 6 today.
As Edward mentioned when I started talking about the upgrade path, we don't
have a way to cope with the (binary)|(b) cast prior to PHP 5.2.1. It's
arguable that most people will have access to PHP > 5.2.1, but that's not
100% useful
This patch fixes it:
http://dev.daylessday.org/diff/shell_exec_unicode.diff
Coolth :)
Still, I see no point to fix something until we remove the switch.
Let's give Scott a chance to get home from php|tek and present his patch to
do just that.
- Steph (loin-girder extraordinaire)
--
PH
On 21.05.2008 17:51, Antony Dovgal wrote:
On 21.05.2008 17:50, Steph Fox wrote:
Not fix the streams issue?
Felipe has taken care of that issue, so now we have only one uber-major
issue left.
Your patch? Or the changed error message?
Yes, I mean that problem with storing string/Unicode fun
Lars Strojny wrote:
a) write a proposal, b) write a patch for the Zend Engine, c) ask again.
+1 on what Lars said. Not so much on the syntax. That just looks like
a parse error to me.
--
Brian Moon
Senior Developer/Engineer
--
When you care enough to spend the
First of all, this was already discussed, search the archives before posting
your suggestions.
Second, I still see very little sense in suggestions not supported by patches.
You can add your +/-1 for ever, but it won't be implemented until someone sits
down and writes the patch.
And finally, t
I'm not using this syntax. But I don't oppose it.
On 5/22/08, Stan Vassilev | FM <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I hear this often by other developers and I tend to agree with them, that
> arrays are used often, and often nested, so that having a long syntax for
> array literals tend to
Hi Marco,
Am Freitag, den 23.05.2008, 16:51 +0200 schrieb Marco:
> I can't see any real benefit of this change apart from a WTF factor...
> its possible i'm missing something though! Whats the benefit apart
> from saving a line of code?
The fact that this syntactic variant is available *and used*
> I have a suggestion for upcoming PHP6 as it's a major version change. I
> suggest a possibility to use this (example):
>
> $host = parse_url('http://someurl.com')['host'];
>
> instead of
>
> $host = parse_url('http://someurl.com');
> $host = $host['host'];
I can't see any real benefit of this c
Astro [GTalk] napsal(a):
$host = parse_url('http://someurl.com');
$host = $host['host'];
You can use this:
$host = parse_url('http://someurl.com', PHP_URL_HOST);
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Astro,
Am Freitag, den 23.05.2008, 15:35 +0200 schrieb Astro [GTalk]:
[...]
> $host = parse_url('http://someurl.com')['host'];
>
> instead of
>
> $host = parse_url('http://someurl.com');
> $host = $host['host'];
>
> Now it returns a syntax error.
a) write a proposal, b) write a patch for th
We have covered this a bunch of times already. magic_quotes_gpc
are gone,
but we leave in the function that tells userspace code that they
are off.
get_magic_quotes_gpc() will always return false which means that
thousands
of applications out there will run unchanged and will simply take th
Hello,
You got +1 from me for this idea.
Regards, Dimitar Isusov
+1
On Fri, May 23, 2008 at 7:45 AM, Jani Taskinen <[EMAIL PROTECTED]> wrote:
> Johannes Schlüter wrote:
>>
>> Hi,
>>
>> On Thu, 2008-05-22 at 12:33 +0200, "Pierre Joye" wrote:
>>>
>>> Agreed, we should simply go through a vote and be done with that.
>>
>> Vote until all are annoyed and don't vote
Hello,
I have a suggestion for upcoming PHP6 as it's a major version change. I
suggest a possibility to use this (example):
$host = parse_url('http://someurl.com')['host'];
instead of
$host = parse_url('http://someurl.com');
$host = $host['host'];
Now it returns a syntax error.
Have a nice d
Johannes Schlüter wrote:
Hi,
On Thu, 2008-05-22 at 12:33 +0200, "Pierre Joye" wrote:
Agreed, we should simply go through a vote and be done with that.
Vote until all are annoyed and don't vote against it anymore just to
stop voting? ("it's less annoying to have it than vote about it every
two
On Fri, May 23, 2008 at 12:59 PM, Pierre Joye <[EMAIL PROTECTED]> wrote:
> For the record here, +1.
+1 (for informational purposes, do not have karma to actually vote)
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, vi
On Fri, May 23, 2008 at 6:30 AM, Brian Moon <[EMAIL PROTECTED]> wrote:
> Andi Gutmans wrote:
>>
>> It would make PHP a bit nicer :)
>>
>> Andi
>
> I almost typed it the other day not thinking. Been doing a lot of YUI and
> {} and [] are growing on me.
>
> +1
For the record here, +1.
--
Pierre
Hello,
-100. This discussion is closed long ago.
28 matches
Mail list logo