On 3/3/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
Hello Arnold,
I added glob directory stream support. Now you can do two things:
$d1 = new DirectoryIterator("glob://mydir/*");
$d2 = new DirectoryIterator("mydir/*", DirectoryIterator::USE_GLOB);
count() stuff will follow.
I'm not sure i
Hello Pierre,
Sunday, March 4, 2007, 1:46:40 PM, you wrote:
> On 3/3/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
>> Hello Arnold,
>>
>> I added glob directory stream support. Now you can do two things:
>>
>> $d1 = new DirectoryIterator("glob://mydir/*");
>> $d2 = new DirectoryIterator("mydir/
On 3/4/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
Sunday, March 4, 2007, 1:46:40 PM, you wrote:
> On 3/3/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
>> Hello Arnold,
>>
>> I added glob directory stream support. Now you can do two things:
>>
>> $d1 = new DirectoryIterator("glob://mydir/*")
Hello Pierre,
Sunday, March 4, 2007, 3:29:06 PM, you wrote:
>> > It may be more useful to add streams support to our glob functions.
>> > But it can bring more troubles than expected.
I did not elaborate on this really. So let me do that now. If we were
going this way we would need to always over
To make this long story short, I do not understand the reason behind a
glob:// stream wrapper. It makes no sense. But yes, we need a better
glob support in PHP. Many extensions needs it. For example, I have my
own version for zip, it is bad as the only difference is how I get the
path string, the
Hello Pierre,
Sunday, March 4, 2007, 6:22:03 PM, you wrote:
> To make this long story short, I do not understand the reason behind a
> glob:// stream wrapper. It makes no sense. But yes, we need a better
> glob support in PHP. Many extensions needs it. For example, I have my
> own version for zip
Hello All,
I am new to the php internals mailing list. I am a fairly experienced
programmer with a few ideas floating around. I have come from a C++ games
development background and have now moved to primarily writing in php.
One thing that I used extensively in C++ was the singleton design pat
On 3/4/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
Hello Pierre,
Sunday, March 4, 2007, 6:22:03 PM, you wrote:
> To make this long story short, I do not understand the reason behind a
> glob:// stream wrapper. It makes no sense. But yes, we need a better
> glob support in PHP. Many extensions
*** Sorry - forgot to change the subject ***
Hello All,
I am new to the php internals mailing list. I am a fairly experienced
programmer with a few ideas floating around. I have come from a C++ games
development background and have now moved to primarily writing in php.
One thing that I used e
Hi Marcus,
On 3/4/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
Damn hell i am just sick of getting complaints without even understanding
the matters. As you wrote you don't understand. So just stay calm. Damn it!
I don'T see it as personal. It is just fucking stupid that you hook onto
stuff y
Hi Michael,
Making dl() work on threaded platforms would be nice. Illustrating your
idea with a patch would be very helpful.
Edin
Michael Vergoz wrote:
> Hi
> I am currently developing a kind of application server based on PHP
> language.
> I use modifications I made on SAPI embed/.
> I use thr
Hi,
The idea behing a native singleton class implementation should be
really handy, but this is fairly simple to achieve.
Take a look at PHP documentation to see some patterns implementation:
http://www.php.net/manual/en/language.oop5.patterns.php
I hope this helps.
Best regards,
On 3/4/07,
Hi all,
DateTime equality (not identity) appears to be broken. I've created a
ticket for this issue (http://bugs.php.net/bug.php?id=40691), which
keeps getting marked as bogus by Ilia. This may be a more appropriate
issue to raise on list, as I seem to be having both a very hard time
making my p
Hi all,
DateTime equality (not identity) appears to be broken. I've created a
ticket for this issue (http://bugs.php.net/bug.php?id=40691), which
keeps getting marked as bogus by Ilia. This may be a more appropriate
issue to raise on list, as I seem to be having both a very hard time
making my p
Sure, implementing singleton is easy enough. But you can't abstract it in
PHP.
In C++ you can use things called template classes or generics to abstract
the singleton implementation. This way you dont have to duplicate the
protected constructor, the instance and the accessor for each class.
I g
15 matches
Mail list logo