Arvids Godjuks wrote:
Yesterday I made some tests on my site with strace to see how much lstat
I have and how can I optimize them. Well, I managed to get rid of them
almost at all, but now I have some questions about include_path and
including files based on current dir.
I have such structire of
Yesterday I made some tests on my site with strace to see how much lstat I
have and how can I optimize them. Well, I managed to get rid of them almost
at all, but now I have some questions about include_path and including files
based on current dir.
I have such structire of files
/home/file/www (
Hi!
namespace Foo {
}
OMG, not again... How many times should we talk about the same thing?
--
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, vi
Hi!
I think it may be more productive to disallow it now, instead of
bogusifying bug reports and dealing with confused users later. My 2ct.
I don't think wasting effort on introducing artificial restrictions into
PHP just because somebody might erroneously submit a bug report is worth
doing.
Hi Stas,
Stanislav Malyshev schrieb:
It may be true in some cases, but in general PHP allows to do tons of
stuff that is not useful, or at least does not seem to be useful. But I
don't think it's productive to spend time on disallowing such things -
same time could be spent developing real fea
On Wednesday 16 July 2008 9:36:24 pm Greg Beaver wrote:
> Hi,
>
> Some questions about namespaces now that PHP 5.3 continues to evolve
>
> 1) Do we need functions in namespaces now that we have closures?
>
> One of the main reasons I wanted functions in namespaces was to
> implement callbacks. Now
On Wed, 2008-07-16 at 22:36 -0400, Greg Beaver wrote:
> Hi,
>
> Some questions about namespaces now that PHP 5.3 continues to evolve
>
> 1) Do we need functions in namespaces now that we have closures?
Functions suffer just as much as classes with respect to naming
collisions. Removal of support
Hi,
Some questions about namespaces now that PHP 5.3 continues to evolve
1) Do we need functions in namespaces now that we have closures?
One of the main reasons I wanted functions in namespaces was to
implement callbacks. Now that we have closures in PHP 5.3, for me there
is no longer any g
Dmitry Stogov wrote:
dmitry Thu Jul 10 14:27:21 2008 UTC
Added files: (Branch: PHP_5_3)
/php-src/ext/phar/tests rename_dir.phpt rmdir.phpt
/php-src/ext/phar/tests/tar rename_dir.phpt rmdir.phpt
/php-src/ext/phar/tests/zip rename_dir.phpt rmdir.phpt
Log
Jochem Maas wrote:
[snip]
I have a few questions, some of the answers may deserve
a few lines in the docs.
1. to what extent is Phar capable/designed to handle self
updating Phars .. especially with regard to multi-user access
(I'm thinking in terms of a website+CMS+userdata in a Phar
updated b
Stanislav Malyshev wrote:
Hi!
zend_destroy_rsrc_list(&EG(regular_list)). On the next line,
zend_post_deactivate_modules() is called, which steps through the module
list and unloads all the dynamically loaded modules. If one of these
dl() is really troublesome...
I think this issue could b
Hi!
zend_destroy_rsrc_list(&EG(regular_list)). On the next line,
zend_post_deactivate_modules() is called, which steps through the module
list and unloads all the dynamically loaded modules. If one of these
dl() is really troublesome...
I think this issue could be fixed by moving the
zend_
Hi!
I think Stefan was just pointing out that allowing something that is
rarely useful is just needlessly confusing, because it makes you think
there is something you are missing.
It may be true in some cases, but in general PHP allows to do tons of
stuff that is not useful, or at least does
On 16.07.2008, at 22:14, Stanislav Malyshev wrote:
Hi!
That means: I cannot use namespaces with curly braces combined with
a use statement. This makes the curly braces pretty pointless.
Well, don't use them then :)
I think Stefan was just pointing out that allowing something that is
ra
On 11.07.2008, at 23:17, Greg Beaver wrote:
Stanislav Malyshev wrote:
Hi!
This fixes the logic problem, and re-introduces the performance
slowdown for internal classes. FORTUNATELY there is a simple
solution to this, which is to "use" all global classes:
The thing is since it'd work wi
Hi!
That means: I cannot use namespaces with curly braces combined with a
use statement. This makes the curly braces pretty pointless.
Well, don't use them then :)
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED] http://www.zend.com/
(408)253-8829 MSN: [EMAIL PROTECTED]
--
Hi,
Does anyone agree that there is an issue to fix here? Messing with the
shutdown order is probably the last thing any RM would like to see
happening ..
regards,
Lukas
On 16.06.2008, at 04:55, Gregory Beaver wrote:
Hi,
I'm getting errors of hashtable already destroyed when running
php
Stanislav Malyshev schrieb:
Hi!
around a namespace, so I'd boldly suggest either fixing the curly
braces notation to allow use statements or disallow curly braces around
Use statements should be at the top, as the influence whole file scope.
I know, but namespace must be the first statemen
Hi!
around a namespace, so I'd boldly suggest either fixing the curly braces
notation to allow use statements or disallow curly braces around
Use statements should be at the top, as the influence whole file scope.
namespaces, because as it is, it doesn't really seem useful.
What doesn't s
On 16.07.2008, at 17:47, Arnaud Le Blanc wrote:
On Wednesday 09 July 2008 20:06:14 Marcus Boerger wrote:
Hello Arnaud,
if you can provicde the same for HEAD then I'll submit it. And if
you're
fast enough we might even get it into 5.3.0 :-) Johannes, Lukas, how
much time does he have?
Pierre Joye schrieb:
On Wed, Jul 16, 2008 at 6:13 PM, Ulf Wendel <[EMAIL PROTECTED]> wrote:
Derick Rethans schrieb:
On Tue, 15 Jul 2008, Andrey Hristov wrote:
I am pretty lazy, thus I use my Thunderbird as a RSS reader. I get
planetmysql as a feed and if I am not interested in an article, I s
On Wed, Jul 16, 2008 at 6:13 PM, Ulf Wendel <[EMAIL PROTECTED]> wrote:
> Derick Rethans schrieb:
>>
>> On Tue, 15 Jul 2008, Andrey Hristov wrote:
>>
>>> I am pretty lazy, thus I use my Thunderbird as a RSS reader. I get
>>> planetmysql as a feed and if I am not interested in an article, I skip it.
Amir Hardon wrote:
On Wed, 2008-07-16 at 06:45 -0700, Rasmus Lerdorf wrote:
Arvids Godjuks wrote:
> Hello.
>
> I think this should be optimized.
> I'm not an expert ofcourse, but as I understood there is only one case
> witch need a special treatment - require/include _one when a file with
>
On Wed, 2008-07-16 at 06:45 -0700, Rasmus Lerdorf wrote:
> Arvids Godjuks wrote:
> > Hello.
> >
> > I think this should be optimized.
> > I'm not an expert ofcourse, but as I understood there is only one case
> > witch need a special treatment - require/include _one when a file with
> > equal cont
Derick Rethans schrieb:
On Tue, 15 Jul 2008, Andrey Hristov wrote:
I am pretty lazy, thus I use my Thunderbird as a RSS reader. I get
planetmysql as a feed and if I am not interested in an article, I skip
it. It doesn't require even to go anymore to planetmysql . But even
more, Ulf is also on
On Tue, 15 Jul 2008, Andrey Hristov wrote:
> I am pretty lazy, thus I use my Thunderbird as a RSS reader. I get
> planetmysql as a feed and if I am not interested in an article, I skip
> it. It doesn't require even to go anymore to planetmysql . But even
> more, Ulf is also on planetphp, so you
On Wednesday 09 July 2008 20:06:14 Marcus Boerger wrote:
> Hello Arnaud,
>
> if you can provicde the same for HEAD then I'll submit it. And if you're
> fast enough we might even get it into 5.3.0 :-) Johannes, Lukas, how
> much time does he have?
>
> marcus
>
Hi,
I would like to add a
The "use" can be used only as top-level statement.
Thanks. Dmitry.
Stefan Priebsch wrote:
Hi list,
I was playing around with namespaces and stumbled across this:
#!/home/steve/php5.3-200807070430/sapi/cli/php
works fine, whereas
#!/home/steve/php5.3-200807070430/sapi/cli/php
yields: Par
Alexey Zakhlestin schrieb:
OK:
namespace foo;
{
}
Not OK:
{
use Foo:Bar as Something;
}
Then that is a showstopper that effectively does not allow to use braces
around a namespace, so I'd boldly suggest either fixing the curly braces
notation to allow use statements or disallow curly bra
On 16.07.2008, at 16:13, Christopher Jones wrote:
Lukas Kahwe Smith wrote:
>
> On 16.07.2008, at 00:50, Christopher Jones wrote:
>
>> > We could still support older Oracle versions with an optional
>> > download. If we want to be super fancy, we might even include a
note
>> > in an error m
Lukas Kahwe Smith wrote:
>
> On 16.07.2008, at 00:50, Christopher Jones wrote:
>
>> > We could still support older Oracle versions with an optional
>> > download. If we want to be super fancy, we might even include a note
>> > in an error message when trying to connect to older versions that
>>
Arvids Godjuks wrote:
Hello.
I think this should be optimized.
I'm not an expert ofcourse, but as I understood there is only one case
witch need a special treatment - require/include _one when a file with
equal contents is included from different directories.
You can make a switch witch controls
I had the same problem 2 days ago, the thing is the ; - display_errors
= off in line 74 is just information. You have another display_errors
(mine is in line 374) change that to: on.
Op 16 jul 2008, om 04:34 heeft Thorsten Suckow-Homberg het volgende
geschreven:
By visiting php.info i
Hello Andrey,
Tuesday, July 15, 2008, 6:30:50 PM, you wrote:
> Marcus,
> Marcus Boerger wrote:
>> Hello Ulf,
>>
>> Tuesday, July 15, 2008, 4:32:10 PM, you wrote:
>>
>>> Pierre Joye schrieb:
Drop the launchpad and use php's cvs. We have actually two development
branches (5.3 until the
Hello.
I think this should be optimized.
I'm not an expert ofcourse, but as I understood there is only one case witch
need a special treatment - require/include _one when a file with equal
contents is included from different directories.
You can make a switch witch controls if lstat is made or not
On Wed, Jul 16, 2008 at 11:34 AM, Hannes Magnusson
<[EMAIL PROTECTED]> wrote:
> I thought the only argument against using curly braces for namespaces
> was exactly his example "you can use namespace foo; {} if you really
> want to"?
OK:
namespace foo;
{
}
Not OK:
{
use Foo:Bar as Something;
}
On Wed, Jul 16, 2008 at 08:50, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 15, 2008 at 8:08 PM, Stefan Priebsch <[EMAIL PROTECTED]> wrote:
>> Hi list,
>>
>> I was playing around with namespaces and stumbled across this:
>>
>> #!/home/steve/php5.3-200807070430/sapi/cli/php
>> >
>> na
37 matches
Mail list logo