Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread John LeSueur
On Sat, Apr 14, 2012 at 11:55 PM, Kris Craig kris.cr...@gmail.com wrote: On Sat, Apr 14, 2012 at 10:16 PM, Anthony Ferrara ircmax...@gmail.com wrote: Kris, As discussed on other threads, PHPP files that are called directly from the webserver are handled by the SAPI handler and thus

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread Kris Craig
On Sat, Apr 14, 2012 at 11:20 PM, John LeSueur john.lesu...@gmail.comwrote: On Sat, Apr 14, 2012 at 11:55 PM, Kris Craig kris.cr...@gmail.com wrote: On Sat, Apr 14, 2012 at 10:16 PM, Anthony Ferrara ircmax...@gmail.com wrote: Kris, As discussed on other threads, PHPP files that are

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread Lester Caine
Kris Craig wrote: I object significantly to a few points here. One is the concept of a magic file extension. Why should a file behave differently just because of a different extension? In general, extensions are human readable clues to what's in the file. Yes, they are usually used for

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread Kris Craig
On Sun, Apr 15, 2012 at 2:30 AM, Lester Caine les...@lsces.co.uk wrote: Kris Craig wrote: I object significantly to a few points here. One is the concept of a magic file extension. Why should a file behave differently just because of a different extension? In general, extensions are

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread David Muir
On 15/04/12 16:29, Kris Craig wrote: On Sat, Apr 14, 2012 at 11:20 PM, John LeSueur john.lesu...@gmail.comwrote: The second thing that still needs nailing down as far as implementation is how to determine parsing mode. If it has to be specified at include time, then we're putting the burden

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread Jannik Zschiesche
Am 15.04.2012 08:20, schrieb John LeSueur: Since you're looking for input, specifically on the compromise, let's try to figure out what's possible. The RFC proposes .phpp files that can only include other .phpp files. Others want .phpp files that can include .php files. There are two ways I can

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread John LeSueur
On Sun, Apr 15, 2012 at 7:21 AM, Jannik Zschiesche he...@apfelbox.netwrote: Am 15.04.2012 08:20, schrieb John LeSueur: Since you're looking for input, specifically on the compromise, let's try to figure out what's possible. The RFC proposes .phpp files that can only include other .phpp

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread Arvids Godjuks
Well, it's time for me to remind about the techique many use (and some frameworks provide it out of the box) - the application file concatination to speed up file loading. Yii framework provides a Yiilite.php file for this, that includes mostly used core classes in one big file.that loads much

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread Kris Craig
On Sun, Apr 15, 2012 at 8:44 AM, John LeSueur john.lesu...@gmail.comwrote: On Sun, Apr 15, 2012 at 7:21 AM, Jannik Zschiesche he...@apfelbox.net wrote: Am 15.04.2012 08:20, schrieb John LeSueur: Since you're looking for input, specifically on the compromise, let's try to figure out

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-15 Thread Kris Craig
On Sun, Apr 15, 2012 at 2:14 PM, Arvids Godjuks arvids.godj...@gmail.comwrote: Well, it's time for me to remind about the techique many use (and some frameworks provide it out of the box) - the application file concatination to speed up file loading. Yii framework provides a Yiilite.php file

[PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Rasmus Schultz
From: Arvids Godjuks arvids.godj...@gmail.com To: Kris Craig kris.cr...@gmail.com Cc: PHP internals list internals@lists.php.net, Yasuo Ohgaki yohg...@ohgaki.net Date: Fri, 13 Apr 2012 03:26:16 +0300 Subject: Re: [PHP-DEV] [RFC] New .phpp File Type for Pure-Code PHP Scripts Well, I just

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Yasuo Ohgaki
Hi, 2012/4/15 Rasmus Schultz ras...@mindplay.dk: the closing tag isn't even required to begin with, so you can really think of ?php as a 5-byte file-header. If it is supposed to exist always at the beginning of files. Anyway, file extension should not matter and it should be a configuration

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Kris Craig
On Sat, Apr 14, 2012 at 1:35 PM, Rasmus Schultz ras...@mindplay.dk wrote: From: Arvids Godjuks arvids.godj...@gmail.com To: Kris Craig kris.cr...@gmail.com Cc: PHP internals list internals@lists.php.net, Yasuo Ohgaki yohg...@ohgaki.net Date: Fri, 13 Apr 2012 03:26:16 +0300 Subject:

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Sherif Ramadan
Let me say that I've been following this thread for some time now and what I'm seeing is a lot of poorly communicated ideas with very little thought and a lot of snappy retort. We can walk and chew gum at the same time.  Just because more immediate concerns exist doesn't mean that looking at

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Kris Craig
On Sat, Apr 14, 2012 at 3:25 PM, Sherif Ramadan theanomaly...@gmail.comwrote: Let me say that I've been following this thread for some time now and what I'm seeing is a lot of poorly communicated ideas with very little thought and a lot of snappy retort. We can walk and chew gum at the

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Lester Caine
Kris Craig wrote: Please review these things, *then *post a response. Thank you. If you want this SO badly, just fork a copy of PHP and implement it how you want it. That is at least the good thing to come out of moving the code management yet again ... if others want it as well they can

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Anthony Ferrara
Kris, It's worth noting that there are already two other similar RFCs that have been proposed and other people have expressed interest in this idea.  Most of the opposition on this thread has come from 2 people, one of whom has been mostly posting hyperbolic claims and scare tactics.  There

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Kris Craig
On Sat, Apr 14, 2012 at 4:28 PM, Lester Caine les...@lsces.co.uk wrote: Kris Craig wrote: Please review these things, *then *post a response. Thank you. If you want this SO badly, just fork a copy of PHP and implement it how you want it. That is at least the good thing to come out of

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Kris Craig
On Sat, Apr 14, 2012 at 5:04 PM, Anthony Ferrara ircmax...@gmail.comwrote: Kris, It's worth noting that there are already two other similar RFCs that have been proposed and other people have expressed interest in this idea. Most of the opposition on this thread has come from 2 people,

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Sherif Ramadan
Please review these things, *then *post a response.  Thank you. --Kris Alright, perhaps we should address one thing at a time. Since you feel you are repeating yourself I will alleviate repetition with manageable questions that are fair and concise. I start reading your RFC and the very

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Kris Craig
On Sat, Apr 14, 2012 at 8:07 PM, Sherif Ramadan theanomaly...@gmail.comwrote: Please review these things, *then *post a response. Thank you. --Kris Alright, perhaps we should address one thing at a time. Since you feel you are repeating yourself I will alleviate repetition with

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Anthony Ferrara
Kris, You do realize you just proved my point, right?  I said that, because only a small few people were actually participating in this thread, it would be completely disingenuous for one side or the other to claim to represent the majority opinion.  The fact that you stepped in does not

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Kris Craig
On Sat, Apr 14, 2012 at 8:40 PM, Anthony Ferrara ircmax...@gmail.comwrote: Kris, You do realize you just proved my point, right? I said that, because only a small few people were actually participating in this thread, it would be completely disingenuous for one side or the other to

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Anthony Ferrara
Kris, As discussed on other threads, PHPP files that are called directly from the webserver are handled by the SAPI handler and thus don't need any special identification. Except that they do. Right now, SAPI handlers just invoke PHP. So there would need to be some way of communicating the

Re: [PHP-DEV] Re: internals Digest 13 Apr 2012 01:23:19 -0000 Issue 2650

2012-04-14 Thread Kris Craig
On Sat, Apr 14, 2012 at 10:16 PM, Anthony Ferrara ircmax...@gmail.comwrote: Kris, As discussed on other threads, PHPP files that are called directly from the webserver are handled by the SAPI handler and thus don't need any special identification. Except that they do. Right now, SAPI