Hi,
I re-read the messages, and realized I had misunderstood what was being
requested, although it did pay off in finding a subtle bug in
is_writeable() for files within a phar.
I just implemented Phar->isWritable(), which can be used to detect the
right combination of file permissions, archive t
Hi,
There were some rumblings about wanting a way to detect whether a
specific file/archive was writeable. I made some small changes to the
way we detect this when the ini setting is changed, and added a test.
Now the existing isWritable() from SplFileInfo always works properly for
Phar. In add
It's already in, and none so far ;)
Heh, I missed it. Great then :)
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED] http://www.zend.com/
(408)253-8829 MSN: [EMAIL PROTECTED]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/
Hello,
It's already in, and none so far ;)
Regards
On Thu, Apr 10, 2008 at 1:27 AM, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Mike Lively wrote:
>
> > I have created a few tests for the patch and updated to the patch to the
> > tip
> > of both php6 and php5.3
> >
> > http://ds-o.c
Hi!
Mike Lively wrote:
I have created a few tests for the patch and updated to the patch to the tip
of both php6 and php5.3
http://ds-o.com/Patches/lsb.forward_static_call.v3.tar.gz
Looks fine. Any objections to this patch from anybody?
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PR
Hi,
I've just implemented these features:
1) new getContents() method allows directly retrieving file contents.
Here is a full-circle example:
getContents();
?>
2) addFile/addEmptyDir/addFromString. API is identical to ext/zip
addEmptyDir('hello');
var_dump($phar['hello']->isDir());
$phar->add
I'm running some more tests and evaluation on windows and got stuck in
the build session. Which ICU version do you use? Or do you use the
binaries provided by IBM (I tried with vc2k3 without much success)?
Any since 2.6 should be fine. I think I was using ones from here:
http://www.icu-project.
Hi!
public function limit( $limit, $offset = '' );
public function limit( $limit = 10, $offset = 0 )
No problems at all while development, no warnings, no errors. Now when I
deployed this on a PHP 5.2 machine it bombed out, with the following
*correct* message:
Fatal error: Declarati
Steph Fox wrote:
> Hi Greg,
>
>> What I would like to do, however, is to rethink offsetSet(). I think
>> that we should introduce a property of PharFileInfo called "content"
>> that is read/write, and can be used to perform the equivalent of
>> file_get_contents()/file_put_contents(). This will
Hi Lig - I think I may have got half way through replying to this and
then forgotten...
1) Who is willing to be a mentor? What areas do you want to mentor?
What areas are you willing to mentor? Where are you physically
located if the local user group would like to work with you - what
tim
Hi!
I'm running some more tests and evaluation on windows and got stuck in
the build session. Which ICU version do you use? Or do you use the
binaries provided by IBM (I tried with vc2k3 without much success)?
It would be helpful if you can put your ICU binaries and dev files
somewhere (ideally f
Derick Rethans wrote:
> I've been working on some code, while developing on PHP 5.3. The code
> resembles the following structure:
>
> interface ezcSearchQuery
> {
> public function limit( $limit, $offset = '' );
> }
>
> class ezcSearchFindQuerySolr implements ezcSearchQuery
> {
> publi
Em Qua, 2008-04-09 às 11:27 +0200, Derick Rethans escreveu:
> I don't know who removed this check, but please put it back
> in!
>
Hi Derick,
it looks has been introduced by this patch suggested and discussed in
that thread:
http://marc.info/?l=php-internals&m=120430609612237&w=2
--
Regards,
F
Pierre Joye wrote:
> Hi,
>
> On Wed, Apr 9, 2008 at 6:48 AM, Gregory Beaver <[EMAIL PROTECTED]> wrote:
>
>
>> For other examples, take a look at at
>> ext/zip. There is no support for opendir() in the stream wrapper of
>> ext/zip because it requires the kind of path grepping that pecl/phar
Maintain the Net_Nmap Pear package
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Greg,
What I would like to do, however, is to rethink offsetSet(). I think
that we should introduce a property of PharFileInfo called "content"
that is read/write, and can be used to perform the equivalent of
file_get_contents()/file_put_contents(). This will allow a consistency
that is muc
Hello there,
I've been working on some code, while developing on PHP 5.3. The code
resembles the following structure:
limit = $limit;
$this->offset = $offset;
}
}
?>
No problems at all while development, no warnings, no errors. Now when I
deployed this on a PHP 5.2 machine it bombe
Hello,
I would like to correct a little "problem" with : when an error occured
in the constructor
(a connection error for example) no object is returned. Internally, the
object is created
then destroyed (via "ZVAL_NULL(object);" statement).
The problem is when the PDO class is derived and the
On Wed, Apr 9, 2008 at 9:01 AM, David Zülke <[EMAIL PROTECTED]> wrote:
> Sure, but you need to remember that this means someone has to maintain the
> mappings.
>
> Mind you that pretty much any locale-related information is in the CLDR
> already - language, territory and timezone mappings, for i
Am 09.04.2008 um 08:48 schrieb Pierre Joye:
On Wed, Apr 9, 2008 at 12:07 AM, David Zülke <[EMAIL PROTECTED]>
wrote:
Note that most of this info is already in the CLDR info. And I am
with Stas
here, not sure if it's really necessary. You can do this mapping by
hand, if
necessary, but trust me
20 matches
Mail list logo