On 9/11/07, Pierre <[EMAIL PROTECTED]> wrote:
> On 9/11/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> > > well, some OSes allow subscribing to the notifications from filesystem
> > > *bsd (including macos-x) use kqueue, linux and winnt have different
> > > mechanisms for the same thing
> >
>
On 9/11/07, Larry Garfield <[EMAIL PROTECTED]> wrote:
> On Tuesday 11 September 2007, Marcus Boerger wrote:
> > Hello Stanislav,
> >
> > Tuesday, September 11, 2007, 1:21:07 AM, you wrote:
> > > Hi!
> > >
> > > Following the feedback from the community, we (mostly me and Dmitry)
> > > tried to find
On Tuesday 11 September 2007, Marcus Boerger wrote:
> Hello Stanislav,
>
> Tuesday, September 11, 2007, 1:21:07 AM, you wrote:
> > Hi!
> >
> > Following the feedback from the community, we (mostly me and Dmitry)
> > tried to find a good model that would allow multiple namespaces per file
> > withou
On 9/9/07, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote:
> 1) Backport the namespaces patch for PHP 6
>
> 1 0 -1
+1
>
> 2) Symlink the intl extension from PECL, but leave it disabled by
> default as is the case with all extensions dependent on external libs
>
> 1
Hi Mike,
7) Introduce mysqlind library into core and use it as a
backend for PDO and mysqli extensions (possibly enabling them
by default)
1 0 -1
The mysqlind driver is currently alpha. Wherever it goes it should be
marked
EXPERIMENTAL and off by default Frankly, I'm wondering (out loud) if
Stanislav Malyshev wrote:
> Hi!
>
> Following the feedback from the community, we (mostly me and Dmitry)
> tried to find a good model that would allow multiple namespaces per file
> without running into too many problems and complications, and would
> allow to bundle multiple namespaced files toge
Since my vote counts for shyte, I'll humbly offer brief remarks instead.
Ilia Alshanetsky queried:
> 6) Remove safe_mode, register_globals and magic_quotes
>
> 1 0 -1
*Major* BC break in a minor version? Ouch. This should wait I think.
>
> 7) Introduce mysqlind libr
Heya Mike,
-1, this whole idea just sounds so weird for PHP.
Sure, but how PHPish is this fatal error?
[EMAIL PROTECTED]:~/build/php-5.2-debug$ cli -r 'class c{} c::$x=1;'
Fatal error: Access to undeclared static property: c::$x in Command
line code on line 1
The idea, as far as I understo
Steph Fox wrote:
>> 18) Introduce concept of "strict classes" that do not permit dynamic
>> property creation
>
> -1, this whole idea just sounds so weird for PHP.
Sure, but how PHPish is this fatal error?
[EMAIL PROTECTED]:~/build/php-5.2-debug$ cli -r 'class c{} c::$x=1;'
Fatal error: Access
On 9/11/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> > well, some OSes allow subscribing to the notifications from filesystem
> > *bsd (including macos-x) use kqueue, linux and winnt have different
> > mechanisms for the same thing
>
> The question is how expensive are those notifications -
Am 09.09.2007 um 19:07 schrieb Ilia Alshanetsky:
Its been about a week since RFS for features to go into 5.3 has
gone out and while there was not a "flood" of ideas there is a
substantial list of key changes people would like to go into this
release. I've compiled a list of all of the sugge
If it counts for anything, here's my vote on the bits I know/care about:
2) Symlink the intl extension from PECL, but leave it disabled by default
as is the case with all extensions dependent on external libs
+1, I've a feeling this will become important later
3) Apply the Late Static Bindi
1) Backport the namespaces patch for PHP 6
1
2) Symlink the intl extension from PECL, but leave it disabled by
default as is the case with all extensions dependent on external libs
1
3) Apply the Late Static Binding Patch
1
4) Implement David's Circular Garbage collection patch
0
5
On 9/11/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
> Hello Andrew,
>
> how about @?: style?
>
> Like: $val = $myarray[$key] ?: $default;
>
> marcus
There are drawbacks with using the @ style regularly. One is the lack
of error checking: all error messages generated by finding the array
itself
On Tue, 2007-09-11 at 18:54 +0200, Marcus Boerger wrote:
> Hello Andrew,
>
> how about @?: style?
>
> Like: $val = $myarray[$key] ?: $default;
Did you mean like:
@$val = $myarray[$key] ?: $default;
Because that's an expensive assignment since it will hit the error
handler when the index
Hello Andrew,
how about @?: style?
Like: $val = $myarray[$key] ?: $default;
marcus
Tuesday, September 11, 2007, 6:33:42 PM, you wrote:
> On 9/11/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
>> Hello Andrew,
>>
>> did you check out '?:' shortcut in HEAD?
>>
>> php -r 'echo 4?:2;' -> 4
>>
On 9/11/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
> Hello Andrew,
>
> did you check out '?:' shortcut in HEAD?
>
> php -r 'echo 4?:2;' -> 4
> php -r 'echo 0?:2;' -> 2
>
> best regards
> marcus
Yes, I had hoped that the ?: operator would solve this. But it doesn't
serve the same purpose,
well, some OSes allow subscribing to the notifications from filesystem
*bsd (including macos-x) use kqueue, linux and winnt have different
mechanisms for the same thing
The question is how expensive are those notifications - i.e. if one has
1000 of them, will it be a trouble for the OS?
--
Sta
Hello emo,
Tuesday, September 11, 2007, 4:50:01 PM, you wrote:
> I believe I read somewhere that it will look like this:
> ::class_b->method_c();
This is the preferred way as it doesn't introduce a new keyword. Also this
is inline with other languages.
> for accessing global scope.
> Regards,
Hello Andrew,
did you check out '?:' shortcut in HEAD?
php -r 'echo 4?:2;' -> 4
php -r 'echo 0?:2;' -> 2
best regards
marcus
Tuesday, September 11, 2007, 3:20:46 PM, you wrote:
> If there's a workable proposal for ifsetor() that fixes the concerns
> brought up by the original and is li
Hello Zoe,
Tuesday, September 11, 2007, 3:53:12 PM, you wrote:
> Marcus Boerger wrote:
>> Hello Zoe,
>>
>> %s = [\n]+?
> I'm not sure what this would match? I think we need something that
> matches any character but doesn't run over a line end?
> If so it would be more like [.\\n]+? - although
12) Merge the GCC 4 -fvisibility patch
-1 (eventually make it a configure option first? PHP is a API mess)
The patch is safe because otherwise PHP wouldn't work on windows (as windows
doesn't export the symbols by default).
Nuno
--
PHP Internals - PHP Runtime Development Mailing List
To uns
I believe I read somewhere that it will look like this:
::class_b->method_c();
for accessing global scope.
Regards,
Emil Ivanov
Richard Quadling wrote:
Assume for some reason you have an entity in a namespace which has the
same name as something in the global namespace.
Within the namespace,
On 9/11/07, BuildSmart <[EMAIL PROTECTED]> wrote:
> > It might seem trivial to others because you're not reading the source
> > correctly. SPL is not disabled when phar is enabled.
>
> doesn't the following mean it's disabled or am I interpreting it wrong?
> PHP_ADD_EXTENSION_DEP(phar, spl, false
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sep 11, 2007, at 09:58:16, Gregory Beaver wrote:
BuildSmart wrote:
On Sep 11, 2007, at 05:42:50, Marcus Boerger wrote:
Hello Andi,
to end this 'many tools' reasoning. For those issues we already
adopted
zip and if people insist I woul
Assume for some reason you have an entity in a namespace which has the
same name as something in the global namespace.
Within the namespace, you wouldn't need to use the namespace prefix
(maybe it has been aliased, subclassed or some other reference).
How would you access the global namespaced en
BuildSmart wrote:
>
> On Sep 11, 2007, at 05:42:50, Marcus Boerger wrote:
>
> > Hello Andi,
>
> > to end this 'many tools' reasoning. For those issues we already
> adopted
> > zip and if people insist I wouldn't mind if anybody would provide a
> working
> > tar implementation that allows reading
Marcus Boerger wrote:
Hello Zoe,
%s = [\n]+?
I'm not sure what this would match? I think we need something that matches any
character but doesn't run over a line end? If so it would be more like [.\\n]+?
- although this isn't right either (as in, I've tried both and they don't work
:-( ).
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sep 10, 2007, at 16:15:35, Adam Maccabee Trachtenberg wrote:
On Mon, 10 Sep 2007, BuildSmart wrote:
Perhaps the best approach would be to mimic the ext/mysql functions
and feed them to ext/mysqli function rather than aliasing them
directly but
Ilia Alshanetsky wrote:
> 1) Backport the namespaces patch for PHP 6
+1
> 2) Symlink the intl extension from PECL, but leave it disabled by
> default as is the case with all extensions dependent on external libs
0 (didn't see anything relevant of it yet)
> 3) Apply the Late Static Binding Patch
If there's a workable proposal for ifsetor() that fixes the concerns
brought up by the original and is likely to go in PHP 6, that would
be great.
In this case, perfect can be the enemy of good. array_get() helps
with many common use cases of ifsetor() while fitting into the the
standard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sep 11, 2007, at 05:42:50, Marcus Boerger wrote:
Hello Andi,
to end this 'many tools' reasoning. For those issues we already
adopted
zip and if people insist I wouldn't mind if anybody would provide a
working
tar implementation that allow
> 1) Backport the namespaces patch for PHP 6
+1
> 3) Apply the Late Static Binding Patch
+1
> 6) Remove safe_mode, register_globals and magic_quotes
-1
> 8) OpenID enabling patch for OpenSSL and PHP 5
+1
10) Split off deprecation from E_STRICT into E_DEPRECATED
+1
11) Merge the zend_arg
> that's what worries me, I dont get why people wants to introduce yet
> another switch to disable to garbage collector ( that will lead to
> different/broken behaviuor) I think there is enough non-sense already
> with the unicode.semantics switch thingy.
This switch (currently) has nothing to do
> And even if we do
> multiple namespaces per file. I guess we do not allow a
> namespace to be spread onto several files, right?
Current implementation allows to spread one namespace on several files.
You should just use "namespace" with the same name on top of each file.
(Very similar to Java)
Hi,
I've attached my PHAR variation that was made some time ago just to prove
the concept.
It uses standard TAR format and doesn't use any external libraries.
In case if you call "php test.tar.gz", PHP (with this extension) will
execute file main.php from the archive.
I cannot remember wich vers
That patch is a very good idea, but it does not work there are symbols
that are no lomger exported on libxml extension , and although
everything compiles, I ended with a broken PHP.
Can you give a bit more details on what is broken? Does it mean there's a
problem on Windows too, since Windows d
Hello Andi,
to end this 'many tools' reasoning. For those issues we already adopted
zip and if people insist I wouldn't mind if anybody would provide a working
tar implementation that allows reading of tgz and tar.bz2 files as well.
Yest the purpose of Phar is very different. Anyway can it be th
Stanislav Malyshev wrote:
So, for the people that wanted multiple NS per file, would such solution
work?
I think the limitation is acceptable.
P.S. this is *not* a "should we use braces" thread, so please don't :)
The syntax is not, but since you disallow discussing this in this
thread, I
Hello Stanislav,
Tuesday, September 11, 2007, 1:21:07 AM, you wrote:
> Hi!
> Following the feedback from the community, we (mostly me and Dmitry)
> tried to find a good model that would allow multiple namespaces per file
> without running into too many problems and complications, and would
>
Hello Andrew,
you can easily implement this function run time. It is not very flexible
and far away from what ifsetor was meant to be. Thus I do not think it is a
good idea. See comments below.
marcus
Tuesday, September 11, 2007, 12:12:55 AM, you wrote:
> Here's a patch against HEAD that impl
On 9/11/07, Jani Taskinen <[EMAIL PROTECTED]> wrote:
> > For the record here, a cache is planed once we have a stable version.
> > Something like what htscanner does, it already caches the entries
> > (cache + stat check once ttl is over).
>
> Just clarification: the caching is there already. :)
>
Ilia Alshanetsky wrote:
> 1) Backport the namespaces patch for PHP 6
0
> 2) Symlink the intl extension from PECL, but leave it disabled by
> default as is the case with all extensions dependent on external libs
0
> 3) Apply the Late Static Binding Patch
1
> 4) Implement David's Circular Ga
On 9/11/07, Jani Taskinen <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-09-10 at 22:56 +0200, Pierre wrote:
> > On 9/10/07, Andi Gutmans <[EMAIL PROTECTED]> wrote:
> > > > 16) Introduce new php.ini files parser/scanner + CGI/FastCGI?
> > > > "htaccess" style ini file support
> > > >
> > > > 1
On Mon, 2007-09-10 at 22:56 +0200, Pierre wrote:
> On 9/10/07, Andi Gutmans <[EMAIL PROTECTED]> wrote:
> > > 16) Introduce new php.ini files parser/scanner + CGI/FastCGI?
> > > "htaccess" style ini file support
> > >
> > > 1 0 -1
> >
> > 0 (this can be nice but we need to
On Mon, 2007-09-10 at 13:47 -0700, Andi Gutmans wrote:
>> 16) Introduce new php.ini files parser/scanner + CGI/FastCGI?
> > "htaccess" style ini file support
> >
> > 1 0 -1
>
> 0 (this can be nice but we need to make sure it's optional because those
> stat()'s can be very
46 matches
Mail list logo