Hi,
2012/8/22 Andrew Faulds :
> Um, Yasuo, have you looked at array_walk implementation and ascertained it
> is safe to change array structure while using it?
>
> Because I'm worried you're changing docs without doing so.
Simply deleting current element is safe.
It's done in everywhere in PHP. It
Hello Everyone,
I've been reading that it's possible to encounter session id collisions
with the default php configuration. It's also been said that PHP utilizes a
cryptographically weak random number generator to
produce session ID information.
I know it's possible to change the hash function a
Andrew Faulds wrote:
This is a desperate situation, someone revert the repo immediately.
Actually the line above is somewhat more concerning that that one!
Dropping that does prevent achieving the other ...
--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/
Guys, this is serious.
https://github.com/php/php-src/commit/a90170e6f803f283d6c8e4e8d6b7bd8b7bd011a4
Sebastian has seriously violated an important PHP policy: no big
changes, particularly backwards-incompatible ones like this, without
making an RFC.
This is a desperate situation, someone re
Nikita Popov wrote:
But I think I understood your main problem with generators now.
Generators are very useful for the creation of reusable and pluggable
components. You don't seem particularly fond of that kind of
programming and prefer hardcoded and tightly coupled implementations.
In that case
Ferenc Kovacs wrote:
So now you understand how the proposed Generator implementation works?
If you think that Iterators require a bunch of boilerplate code, I can
understand that, and that was one of the motivations behind the Generators rfc I
guess.
If you think that using Iterators (hence rever
On Wed, Aug 22, 2012 at 2:10 PM, Lester Caine wrote:
> Ferenc Kovacs wrote:
>>
>> I can't really follow your sql example, but let's try this another way:
>> You understand how Iterators work, right?
>> (http://php.net/manual/en/language.oop5.iterations.php
>>
>> http://www.php.net/manual/en/class.
>
>
> I've just gone back over the rfc and I probably understand now why I was
> getting confused. Actually it really does irritate that the first 'example'
> on the page is simply the wrong way of doing it anyway. We should not be
> propagating bad code like that and using it as justification for
Ferenc Kovacs wrote:
I can't really follow your sql example, but let's try this another way:
You understand how Iterators work, right?
(http://php.net/manual/en/language.oop5.iterations.php
http://www.php.net/manual/en/class.iterator.php)
The proposed generator implementation works the same way f
On Wed, Aug 22, 2012 at 12:11 PM, Lester Caine wrote:
> Ferenc Kovacs wrote:
>
>> it doesn't make a difference, if you yield only once, and put that into a
>> loop,
>> or copy paste the yield line ten times.
>> yield always does the same thing, pass the execution to the caller.
>>
>
> I KNOW that
Ferenc Kovacs wrote:
it doesn't make a difference, if you yield only once, and put that into a loop,
or copy paste the yield line ten times.
yield always does the same thing, pass the execution to the caller.
I KNOW that I am sounding thick here but "you don't have to understand the
underlying
On Wed, Aug 22, 2012 at 10:21 AM, Lester Caine wrote:
> Morgan L. Owens wrote:
>
>> As I wrote in an earlier post:
>>
>> On 2012-08-09 15:30, Morgan L. Owens wrote:
>> > I for one am lazy, and would much prefer writing:
>> > > > function append_iterator($first, $second)
>> > {
>> >foreac
On 2012-08-22 19:45, Lester Caine wrote:
Personally I'm looking for a 'Official Userland Library' that provides
EXAMPLES of how to do operations rather than yet another downloadable
library.
This is also the sort of thing I would like to see. The examples within
the manual are written for expo
On 2012-08-22 19:45, Lester Caine wrote:
Personally I'm looking for a 'Official Userland Library' that provides
EXAMPLES of how to do operations rather than yet another downloadable
library.
This is also the sort of thing I would like to see. The examples within
the manual are written for expo
On 22/08/12 10:46, Pierre Joye wrote:
On Wed, Aug 22, 2012 at 10:39 AM, Lester Caine wrote:
Pierre Joye wrote:
I'd also to ask to do not hijack this thread with a php6/whatever else
rant and keep focusing on answering Ivan's questions instead.
I would ask if any of this HAS changed in windows
On 22/08/12 10:16, Pierre Joye wrote:
On Wed, Aug 22, 2012 at 9:04 AM, Ivan Enderlin @ Hoa
wrote:
As it may (very often) works smoothly on most unices, it won't work
ever using current releases or master on Windows. One has to set the
correct codepage and do the conversion from/to UTF-8.
Exac
On Wed, Aug 22, 2012 at 10:39 AM, Lester Caine wrote:
> Pierre Joye wrote:
>>
>> I'd also to ask to do not hijack this thread with a php6/whatever else
>> rant and keep focusing on answering Ivan's questions instead.
> I would ask if any of this HAS changed in windows 7? Does windows do
> anythin
Pierre Joye wrote:
I'd also to ask to do not hijack this thread with a php6/whatever else
rant and keep focusing on answering Ivan's questions instead.
THERE WAS NOTHING OF A RANT
I am simply expressing the same problem you have also expressed in a different
way. Unicode and windows still
Morgan L. Owens wrote:
As I wrote in an earlier post:
On 2012-08-09 15:30, Morgan L. Owens wrote:
> I for one am lazy, and would much prefer writing:
> function append_iterator($first, $second)
> {
>foreach($first as $i)
>{
>yield $i;
>}
>foreach($second as $i)
hi Lester,
On Wed, Aug 22, 2012 at 10:06 AM, Lester Caine wrote:
> Ivan Enderlin @ Hoa wrote:
>>>
>>> As it may (very often) works smoothly on most unices, it won't work
>>> ever using current releases or master on Windows. One has to set the
>>> correct codepage and do the conversion from/to UTF
On Wed, Aug 22, 2012 at 9:04 AM, Ivan Enderlin @ Hoa
wrote:
>> As it may (very often) works smoothly on most unices, it won't work
>> ever using current releases or master on Windows. One has to set the
>> correct codepage and do the conversion from/to UTF-8.
>
> Exactly. I can detect if PHP is r
Ivan Enderlin @ Hoa wrote:
As it may (very often) works smoothly on most unices, it won't work
ever using current releases or master on Windows. One has to set the
correct codepage and do the conversion from/to UTF-8.
Exactly. I can detect if PHP is running on Windows and making the conversion
o
Christoph Hochstrasser wrote:
In Ruby there's the "Ruby Standard Library"
Isn't that more like PEAR anyway? But with a lot less options :)
Personally I'm looking for a 'Official Userland Library' that provides EXAMPLES
of how to do operations rather than yet another downloadable library. Somet
2012/8/22 Christoph Hochstrasser
> Hi,
>
> I find this idea awesome! We could maybe take some inspiration from other
> communities, for example Ruby. In Ruby there's the "Ruby Standard Library" (
> http://www.ruby-doc.org/stdlib-1.9.3/) which is a collection of classes
> written in Ruby and shipp
Ivan Enderlin @ Hoa wrote:
What do we need to check? --enable-zend-multibyte, some php.ini magic
parameters, some ENV variables?
What kind of issue? Perhaps they are leaving in the BOM? Tell them to
configure their editors to not add a BOM.
It's not from the editor. The filename contains UTF-8
Also, beware the unavailable UTF8 filenames on some older/badly configured VPS
images. That's bitten me. I now have some files on my VPS with unreadable
mangled UTF-8 names, because they were uploaded from my UTF-8-compliant desktop
distribution.
--
Sent from Samsung Mobile
Andrew Faulds
http:
Hi,
I find this idea awesome! We could maybe take some inspiration from other
communities, for example Ruby. In Ruby there's the "Ruby Standard Library"
(http://www.ruby-doc.org/stdlib-1.9.3/) which is a collection of classes
written in Ruby and shipped with the Ruby distribution.
I imagine so
On 22/08/12 08:57, Pierre Joye wrote:
hi!
On Tue, Aug 21, 2012 at 3:10 PM, Ivan Enderlin @ Hoa
wrote:
Hello,
Some of my users & contributors have met an issue with files containing
UTF-8 on certain Windows configurations (but they actually did not found the
difference). Any idea why?
The issu
28 matches
Mail list logo