php-general Digest 24 Jul 2009 12:41:20 -0000 Issue 6247

2009-07-24 Thread php-general-digest-help
php-general Digest 24 Jul 2009 12:41:20 - Issue 6247 Topics (messages 295775 through 295805): Re: Undefined Index ...confusion] (RESOLVED) 295775 by: Miller, Terion Re: Renaming all variables in a repository 295776 by: Stuart Question on code profiling 295777 by:

php-general Digest 25 Jul 2009 02:53:29 -0000 Issue 6248

2009-07-24 Thread php-general-digest-help
php-general Digest 25 Jul 2009 02:53:29 - Issue 6248 Topics (messages 295806 through 295831): Re: Question on code profiling 295806 by: Andrew Ballard 295809 by: Andrew Ballard Tidy question about the config args 295807 by: Al Re: This is the kind of [expletives

[PHP] Re: Question on code profiling

2009-07-24 Thread Lupus Michaelis
Andrew Ballard a écrit : I'm trying to profile a site on our development server to see why it takes around 4 seconds to generate a pretty basic page. Last time I seen this is when I did validate DOM Document without DTD on local disk :D Can you put somewhere the essential code that take

[PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Per Jessen
See http://bugs.php.net/?id=48612 Thank you for taking the time to write to us, but this is not a bug. And RTFM. (RTFM is my interpretation of the rest). And that only took a little more than a month. Thanks very much. Can anyone here tell me why the CLI behaviour reported is not a bug? An

Re: [PHP] Re: Question on code profiling

2009-07-24 Thread Andrew Ballard
On Fri, Jul 24, 2009 at 2:27 AM, Lupus Michaelismickael+...@lupusmic.org wrote: Andrew Ballard a écrit : I'm trying to profile a site on our development server to see why it takes around 4 seconds to generate a pretty basic page.  Last time I seen this is when I did validate DOM Document

[PHP] Tidy question about the config args

2009-07-24 Thread Al
I have a question about using the $config arguments with tidy_parse_string() and tidy_repair_string() etc. The functions seem to totally ignore new-blocklevel-tags new-empty-tags new-inline-tags E.g., I have in my config array some custom tags [new-inline-tags] =

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Kyle Smith
Per Jessen wrote: See http://bugs.php.net/?id=48612 Thank you for taking the time to write to us, but this is not a bug. And RTFM. (RTFM is my interpretation of the rest). And that only took a little more than a month. Thanks very much. Can anyone here tell me why the CLI behaviour reported

Re: [PHP] Question on code profiling

2009-07-24 Thread Andrew Ballard
On Thu, Jul 23, 2009 at 11:31 PM, Andrew Ballardaball...@gmail.com wrote: From what I can tell, the numbers I see in WinCacheGrind look like they are off by about a factor of 10 pretty uniformly. Andrew Apparently the difference is indeed WinCacheGrind, as a number of other people have left

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Per Jessen
Kyle Smith wrote: Per Jessen wrote: See http://bugs.php.net/?id=48612 Thank you for taking the time to write to us, but this is not a bug. And RTFM. (RTFM is my interpretation of the rest). And that only took a little more than a month. Thanks very much. Can anyone here tell me why the

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Kyle Smith
Per Jessen wrote: Kyle Smith wrote: Per Jessen wrote: See http://bugs.php.net/?id=48612 Thank you for taking the time to write to us, but this is not a bug. And RTFM. (RTFM is my interpretation of the rest). And that only took a little more than a month. Thanks very much. Can

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Jim Lucas
Kyle Smith wrote: Per Jessen wrote: Kyle Smith wrote: Per Jessen wrote: See http://bugs.php.net/?id=48612 Thank you for taking the time to write to us, but this is not a bug. And RTFM. (RTFM is my interpretation of the rest). And that only took a little more than a month. Thanks

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Per Jessen
Kyle Smith wrote: I don't think your aggressive attitude to the situation is helping anyone here. The manual *explicitly* states that using setlocale(LC_xyz,'') will use the environment variable setting for that LC_xyz option. This *implies* that, by default, those environment variables

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Kyle Smith
Jim Lucas wrote: Kyle Smith wrote: Per Jessen wrote: Kyle Smith wrote: Per Jessen wrote: See http://bugs.php.net/?id=48612 Thank you for taking the time to write to us, but this is not a bug. And RTFM. (RTFM is my interpretation of the rest). And that only

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Per Jessen
Jim Lucas wrote: From what I can tell, the op is trying to set the locale /AT/ the cli, not from within the script. Exactly Jim. A typical Linux installation in France/Germany/Greece/ Russia/whereever will have an appropriate environment (e.g. LC_ALL) set such that unix commands such as date

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Ben Dunlap
Per Jessen wrote: Which is exactly the bug I reported. An application that deliberately ignores the locale setting passed from the environment is buggy unless it is clearly documented. Why should a developer be forced to be aware of the locale when it has already been done for him? That is

[PHP] PHP as Language

2009-07-24 Thread Martin Scotta
Hi all Is there a formal definition for the php language? Where I can found it? I've STW with no results. -- Martin Scotta -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Daniel Brown
On Fri, Jul 24, 2009 at 13:18, Per Jessenp...@computer.org wrote: As for being aggressive - well, being fobbed off with an RTFM when 1) I've spent some time and effort in testing, documenting and reporting the bug, and 2) the behaviour is at best undocumented, well, yes, it p.. me off.

Re: [PHP] PHP as Language

2009-07-24 Thread Kyle Smith
Martin Scotta wrote: Hi all Is there a formal definition for the php language? Where I can found it? I've STW with no results. Not sure if this is what you mean, but PHP stands for PHP: Hypertext Processor - Kyle

Re: [PHP] PHP as Language

2009-07-24 Thread b
On 07/24/2009 02:06 PM, Kyle Smith wrote: Martin Scotta wrote: Hi all Is there a formal definition for the php language? Where I can found it? I've STW with no results. Not sure if this is what you mean, but PHP stands for PHP: Hypertext Processor - Kyle I think Martin is looking for

[PHP] Re: PHP as Language

2009-07-24 Thread Shawn McKenzie
Martin Scotta wrote: Hi all Is there a formal definition for the php language? Where I can found it? I've STW with no results. What is a definition? Do you mean specification like ECMA or ANSI? -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List

Re: [PHP] Re: PHP as Language

2009-07-24 Thread Mari Masuda
On Jul 24, 2009, at 11:30, Shawn McKenzie wrote: Martin Scotta wrote: Hi all Is there a formal definition for the php language? Where I can found it? I've STW with no results. What is a definition? Do you mean specification like ECMA or ANSI? I think he meant Backus Naur, but I could

[PHP] Re: PHP as Language

2009-07-24 Thread Greg Beaver
Martin Scotta wrote: Hi all Is there a formal definition for the php language? Where I can found it? I've STW with no results. http://svn.php.net/viewvc/php/php-src/trunk/Zend/zend_language_parser.y?revision=281094view=markup which is Zend/zend_language_parser.y in the source code of

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Per Jessen
Ben Dunlap wrote: Per Jessen wrote: Which is exactly the bug I reported. An application that deliberately ignores the locale setting passed from the environment is buggy unless it is clearly documented. Why should a developer be forced to be aware of the locale when it has already been

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Per Jessen
Daniel Brown wrote: On Fri, Jul 24, 2009 at 13:18, Per Jessenp...@computer.org wrote: As for being aggressive - well, being fobbed off with an RTFM when 1) I've spent some time and effort in testing, documenting and reporting the bug, and 2) the behaviour is at best undocumented, well,

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Daniel Brown
On Fri, Jul 24, 2009 at 15:25, Per Jessenp...@computer.org wrote: Daniel Brown wrote:     In reality, those are canned responses.  Jani didn't type that up himself, he just selected it from a drop-down that we have. In all honesty, that only makes it worse.  To make an effort to improve on

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Per Jessen
Daniel Brown wrote: On Fri, Jul 24, 2009 at 15:25, Per Jessenp...@computer.org wrote: Daniel Brown wrote: In reality, those are canned responses.  Jani didn't type that up himself, he just selected it from a drop-down that we have. In all honesty, that only makes it worse.  To make an

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Robert Cummings
Per Jessen wrote: Daniel Brown wrote: On Fri, Jul 24, 2009 at 15:25, Per Jessenp...@computer.org wrote: Daniel Brown wrote: In reality, those are canned responses. Jani didn't type that up himself, he just selected it from a drop-down that we have. In all honesty, that only makes it worse.

[PHP] Re: This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Lupus Michaelis
Per Jessen wrote: See http://bugs.php.net/?id=48612 I don't understand too the answer. For me it is obvious it is a bug because it breaks the system locale behaviour. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General

Re: [PHP] This is the kind of [expletives deleted] answer that iscertain to prevent bugs being reported.

2009-07-24 Thread Greg Beaver
Robert Cummings wrote: I understand where you're coming from, and I've been on the same road before with PHP bug reports. And while I remember being really annoyed, especially when it turned out to actually be a bug, I have to say if you define your case clearly and state where either the

[PHP] prepending concatenating assignment operator

2009-07-24 Thread Daniel Kolbo
Hello, I know the appending concatenating assignment operator: $str_name = Foobar; $str_name .= Sr; echo $str_name;//Foobar Sr But is there a shortcut assignment operator for prepending concatenation? $str_name = Foobar; //$str_name =. Mr ; // i know this is not allowed, but is there some

Re: [PHP] Question on code profiling

2009-07-24 Thread Daniel Kolbo
Andrew Ballard wrote: On Thu, Jul 23, 2009 at 11:31 PM, Andrew Ballardaball...@gmail.com wrote: From what I can tell, the numbers I see in WinCacheGrind look like they are off by about a factor of 10 pretty uniformly. Andrew Apparently the difference is indeed WinCacheGrind, as a number