Re: [PHP-DEV] Voting periods

2013-01-28 Thread Ryan McCue
Larry Garfield wrote:
> It's great to hear you say that, given that the messaging coming out of
> WP at the time was rather hostile. :-)

As I noted, the dynamics have changed significantly. I'd say that core
committer team as a whole is now much less conservative than before,
although they're still just as dedicated to internal backwards
compatibility.

As an example, it's looking like PDO is almost a certainty for 3.6. It
will mean some backwards compatibility issues though, so a while ago,
this wouldn't have even been considered.

(Note: I'm not a core committer, mainly due to never having the time to
commit to it, but I am heavily involved in WP development. I'm also
single-handedly responsible for ~10% of the codebase via SimplePie.)

> I don't know much if anything about WP internals, but in my experience
> with Drupal 8 LSB is about the only 5.3 feature that hasn't mattered to
> us.  Namespaces/PSR-0 and closures have been very helpful.  LSB not so
> much, but then I'm pleased to say we have very little static method use
> in the first place.

Namespaces don't matter to WordPress really, since it'd only be new code
using them anyway. Changing existing class names would be a huge
internal backwards compatibility break which I doubt will ever happen.

Closures, as I mentioned, don't work well with our action/filter system.
Basically, in order to be able to unregister a callback, you need to
pass in the exact callback that you registered it with; with closures,
this isn't possible unless they're assigned to a variable, which defeats
the purpose.

> Maybe next year it will be time for a GoPHP5.5 project. :-) Hopefully by
> then WP will have become less conservative enough to join the effort.

Here's hoping. :)

-- 
Ryan McCue


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Larry Garfield

On 01/29/2013 01:30 AM, Ryan McCue wrote:

If Wordpress announced that it was going to start requiring PHP 5.3 as
of some date 6+ months in the future (and there are advantages to doing
so that don't require major BC breaking rewrites), I think you'd see a
rather significant abandonment of PHP 5.2 among hosts. Many other major
projects already have.  I would be rather surprised if Drupal 9 doesn't
require PHP 5.4.  (Drupal 8, currently in development, is very solidly
PHP 5.3.)

Here's hoping that Drupal can lead that push with the major hosts. 5.2
on 66% of hosts is ridiculous, and I'm personally sick of having to
backport things to 5.2. GoPHP5 was a *fantastic* effort and benefited WP
immensely even if we weren't directly involved.


It's great to hear you say that, given that the messaging coming out of 
WP at the time was rather hostile. :-)



Most of the WordPress committers don't see much advantage with pushing
to 5.3 though, so it's doubtful that we'll lead that charge. (Late
static binding is probably the only thing that they would see as useful,
but WP doesn't use many static methods.)


I don't know much if anything about WP internals, but in my experience 
with Drupal 8 LSB is about the only 5.3 feature that hasn't mattered to 
us.  Namespaces/PSR-0 and closures have been very helpful.  LSB not so 
much, but then I'm pleased to say we have very little static method use 
in the first place.



This all said, the internal dynamics of the WordPress core developers
are always changing, and views are definitely becoming less
conservative. I don't think you'll see us targeting 5.4 any time soon,
but 5.3 is a possibility. I've been talking to a few contacts from the
big hosts in the WP space and it seems like they've all got 5.3
upgrading in the pipeline.


Maybe next year it will be time for a GoPHP5.5 project. :-) Hopefully by 
then WP will have become less conservative enough to join the effort.


--Larry Garfield

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Ryan McCue
Larry Garfield wrote:
> Hi Ryan.  While I understand that level of conservatism, I think it is
> somewhat unfounded.  The PHP community at large decided to deprecate PHP
> 4 en masse, and put hosts on notice.  It worked, too. The GoPHP5 project
> included over 100 projects and 200 hosts that collectively decided it
> was time to kill off PHP 4 and move to PHP 5.2.  That launched before
> the PHP Internals team decided to deprecate PHP 4 [1] , and had been in
> the works for a few months prior.  And that was even without the support
> of heavyweight Wordpress.

I agree completely personally, I think we need to push much harder for
it and that it would be possible to hit 5.4 by the end of the year.

I was however stating the WordPress party line which is that we don't
need 5.3+ and that we'll only push if we need to. I think it's a shame
personally, but that's what has been decided.

(In my own projects, I target 5.3+ for most projects, but 5.2+ for
projects which need wide deployment, such as SimplePie and Requests.)

> If Wordpress announced that it was going to start requiring PHP 5.3 as
> of some date 6+ months in the future (and there are advantages to doing
> so that don't require major BC breaking rewrites), I think you'd see a
> rather significant abandonment of PHP 5.2 among hosts. Many other major
> projects already have.  I would be rather surprised if Drupal 9 doesn't
> require PHP 5.4.  (Drupal 8, currently in development, is very solidly
> PHP 5.3.)

Here's hoping that Drupal can lead that push with the major hosts. 5.2
on 66% of hosts is ridiculous, and I'm personally sick of having to
backport things to 5.2. GoPHP5 was a *fantastic* effort and benefited WP
immensely even if we weren't directly involved.

Most of the WordPress committers don't see much advantage with pushing
to 5.3 though, so it's doubtful that we'll lead that charge. (Late
static binding is probably the only thing that they would see as useful,
but WP doesn't use many static methods.)



This all said, the internal dynamics of the WordPress core developers
are always changing, and views are definitely becoming less
conservative. I don't think you'll see us targeting 5.4 any time soon,
but 5.3 is a possibility. I've been talking to a few contacts from the
big hosts in the WP space and it seems like they've all got 5.3
upgrading in the pipeline.

-- 
Ryan McCue


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Larry Garfield

On 01/28/2013 08:54 PM, Ryan McCue wrote:

Zeev Suraski wrote:

The vast majority of the PHP community is a silent one;  These people
don't participate here on internals;  They don't attend conferences;  They
use it - the vast majority of them in a professional manner - and they
picked it because they like it the way it is, not because of what it needs
to become.  For every person that subscribes to internals, there's a
thousand (yes, a THOUSAND) people who don't (it's several thousands vs.~5
million).  In fact, they're not completely silent.  They speak in volumes
- PHP 5.4 is used in less than 1% of the sites using PHP today, and even
the relatively revolutionary 5.3 is still a lot less popular than 5.2.
The new shiny features are not all that interesting for most people.

I'd like to speak to this as someone involved in WordPress development.
As a whole, despite being a huge project with large amounts of
developers and users, WordPress is pretty under-represented on
php-internals.

One of the big reasons for that is that we're stuck with a lot of
backwards compatibility, both internal and external. We try hard to
ensure that our API to our plugins doesn't break, which unfortunately
has left us with being the go-to project for pointing out bad code. As
much as some may want us to, we're not going to go and rewrite WP in a
day to use new features, so internals discussions aren't that important
at the moment.

We're also stuck with a huge number of hosts still on PHP 5.2:
http://wordpress.org/about/stats/

I'd say it's somewhat of a chicken-and-egg problem, in that WP can't
develop for what's not there, and hosts won't bother upgrading if they
don't have to. We only stopped supporting PHP 4.x when the usage dropped
below 10%, and I'd see the same occurring for 5.2.

Hi Ryan.  While I understand that level of conservatism, I think it is 
somewhat unfounded.  The PHP community at large decided to deprecate PHP 
4 en masse, and put hosts on notice.  It worked, too. The GoPHP5 project 
included over 100 projects and 200 hosts that collectively decided it 
was time to kill off PHP 4 and move to PHP 5.2.  That launched before 
the PHP Internals team decided to deprecate PHP 4 [1] , and had been in 
the works for a few months prior.  And that was even without the support 
of heavyweight Wordpress.


If Wordpress announced that it was going to start requiring PHP 5.3 as 
of some date 6+ months in the future (and there are advantages to doing 
so that don't require major BC breaking rewrites), I think you'd see a 
rather significant abandonment of PHP 5.2 among hosts. Many other major 
projects already have.  I would be rather surprised if Drupal 9 doesn't 
require PHP 5.4.  (Drupal 8, currently in development, is very solidly 
PHP 5.3.)


My point being, the chicken-and-egg problem IS resolvable.  PHP userland 
developers do have that power if wielded correctly.  We just need to 
wield it together.  We shouldn't let ourselves be pushed around by 
cheapskate fly-by-night hosts again.


Disclaimer: Yes, I was the lead organizer of GoPHP5, but not the sole 
supporter.


[1] Internals started discussing killing off PHP 4 about a week after 
GoPHP5 launched back in 2007.  Whether it was entirely coincidental or 
there was some causal relationship there is, I suppose, a mystery for 
the ages.


--Larry Garfield

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context (example of real usage that will break)

2013-01-28 Thread Stas Malyshev
Hi!

> I've used this in other places, it's basically lightweight traits, and 
> has always been perfectly valid code. There does not seem to be a clear 
> justification for deprecating it other than, It's not the way 'some' 
> people like code to work...

Well, I think the reason is that this code is unsafe and goes against
the principles of OO. I understand that there's a tendency to use OO as
a neat way to namespace global functions and autoload them, but that's
not how it is supposed to work.

If addPreserveText() uses anything from Footer, it should not be called
from TextRun, but if it does not, it should be in Section. I certainly
disagree that the code that calls method of Footer from TextRun is "easy
to follow" - I'd be very surprised seeing such code and would
immediately think it's some kind of bad copy-paste from one class to
another. I understand that this hack works for you - but language
usually enforce some rules of what you can and can not do, according to
some guiding principles. Having this hack goes again those principles.
As far as I know, no OO languages allow to do such things.

I note that we have people here constantly criticizing us for not
changing the names of all functions in order to satisfy their esthetic
sense, but once we change something that obviously for nearly everybody
(see vote) shouldn't even be there and never was intended to work this
way - we get criticized again for breaking stuff :)
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Stas Malyshev
Hi!

> ago I was once again confronted with errors under PHP 5.4. The module,
> responsible for the error: Content Access.
> http://drupal.org/node/1533186

I see there: Notice: Array to string conversion in
form_process_checkbox(). This means the module has a bug, and pretty bad
one at that, array-to-string is practically never intended and usually
leads to embarrassing results (I have seen one popular online newspaper
publish a column signed as "Array". True story). So it's not situation
of "works fine with 5.3 and breaks with 5.4", it's the situation "broken
in both 5.3 and 5.4, but only in 5.4 you actually know about it".

> I really appreciate all the work that is put into PHP by internals, but
> please keep in mind that the vast majority of users is covered by
> frameworks like Wordpress, Joomla, Drupal et cetera. And especially the
> frameworks with lots of user-contributed extensions, plugins or modules
> are bound to be lagging years behind PHP core development.

If you are running buggy module author of which doesn't bother to test
with recent PHP versions (or, for that matter, to do proper unit testing
which would have discovered this problem earlier) - isn't it a little
risky?
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Pierre Joye
hi Jan,

On Tue, Jan 29, 2013 at 3:50 AM, Jan Ehrhardt  wrote:

> De spijker op z'n kop, as the saying over here in Amsterdam is. There
> are two reasons why I try to change to PHP 5.4 once in a while:
> 1. In my testing it is a little bit (10%) faster than PHP 5.3.
> 2. PHP 5.3 will be out of support (even security related) much too soon.
> Every time I try to upgrade to 5.4, I have to revert it because I run
> into another drupal module that is not yet adapted to PHP 5.4. Two weeks
> ago I was once again confronted with errors under PHP 5.4. The module,
> responsible for the error: Content Access.
> http://drupal.org/node/1533186

This is one of the reason why the 'new' release process RFC does not
allow BC breaks. But we can't be 100% sure that we do not introduce
one without you, all projects and users, doing intensive testing using
your apps, modules, plugins, etc. And before the final releases, not
after.

Question: Did you test D7/8 and their respective plugins with php 5.5?



> Zeev Suraski in php.internals (Mon, 28 Jan 2013 19:22:38 +0200):

I wrote that, please either reply to one mail at a time or keep the context :)

>>I think many of us are purely and simply totally out of sync with our
>>users. I have no immediate solution but this is something we must solve,
>>now.

> Sadly enough, but true. Just read the comments by Thomas Bley, Florin
> Patan and even Lester Caine in this thread. I was really appalled by the
> outcome of the PHP 5.3 end-of-life vote. Reality check: Drupal6 is not
> and probably never will be running smoothly under PHP 5.4. Drupal7 is
> behaving better, but if somebody asks me what would be the best choice
> for Drupal7 at the moment I'll advise PHP 5.3 without any hesitation.
> Only concern: PHP 5.3 will be without security updates within a year and
> some months.

There is nothing we can do about that. Also we work closer with
distributions to be sure that we are all in sync. Distributions will
backport security fixes for a longer period.

We can't afford to support many branches for 5-8 years per branch.
That's simply not possible with our resources. However it would be
nice that you keep in mind what we have done in the last couple of
years, to reduce the wtf factors on update, to do more bugs fixes
releases, fixed release cycle, BC policy, fixed life cycle. I am very
confident that all these changes help to reduce the delay to migrate
to newer versions, given that the main reason users (ISP or
developers) do not update are BC issues. But that is not something we
can achieve without projects support, projects like Drupal or WP.
Increasing the recommended version to run your current stable releases
help, a lot, instead of keep recommending 5.2 or even lower for some
other projects.

This is a dual side problem, one cannot blame only php.net for not
doing the right things. We did mistakes, we learned from them and we
changed drastically the way we work, the way we move forward.

> Another point of view for US-citizens: many of our sites deal with
> patient information and therefore we are bound by HIPAA-restrictions.
> Quote from
> http://www.hhs.gov/ocr/privacy/hipaa/understanding/srsummary.html
>
> |Transmission Security. A covered entity must implement technical
> |security measures that guard against unauthorized access to e-PHI
> |that is being transmitted over an electronic network
>
> Running those sites on a PHP version without security updates is
> out-of-the-question.

Distros offer extended long term support for this exact purpose (not
specific to US). That's not something we can support, unless we create
an org with full time employees doing only support.

Cheers,
--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context (example of real usage that will break)

2013-01-28 Thread Alan Knowles


On Monday, January 28, 2013 11:30 PM, Zeev Suraski wrote:

Alan,

Can you explain why you think it's a major BC break?  The RFC suggested that
the BC break would be minimal and that the likelihood a lot of people used
it is very low.  If you think differently and share it it might put it in a
different light.

Zeev
This is an example of recently written code that from my understanding 
will now generate a E_DEPRECATED based on that RFC


http://git.roojs.org/?p=pear;a=blob;f=Document/Word/Writer/Section/TextRun.php;hb=HEAD#l136

The concept there is
Class ... Section

Class ...Section_Footer extends ...Section

Class ...Section_TextRun extends ..Section

The method 'addPreserveText' is in Footer, however the method is needed 
in TextRun, so It's called statically (expecting $this to be similar, as 
the both extend the same base class).


Yes, this could be fixed other ways (putting addPreserveText to 
'Section') or a Trait,

however the current method has a number of benefits
a)  the code is easy to follow - hence we can get anyone to understand 
it quickly.
b) putting it in the parent class would expose it to the children (where 
it may not be valid)
c) traits would add a little extra complexity, and make the code a 
little bit more difficult to follow.


I've used this in other places, it's basically lightweight traits, and 
has always been perfectly valid code. There does not seem to be a clear 
justification for deprecating it other than, It's not the way 'some' 
people like code to work...


Regards
Alan

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Ryan McCue
Zeev Suraski wrote:
> The vast majority of the PHP community is a silent one;  These people
> don't participate here on internals;  They don't attend conferences;  They
> use it - the vast majority of them in a professional manner - and they
> picked it because they like it the way it is, not because of what it needs
> to become.  For every person that subscribes to internals, there's a
> thousand (yes, a THOUSAND) people who don't (it's several thousands vs.~5
> million).  In fact, they're not completely silent.  They speak in volumes
> - PHP 5.4 is used in less than 1% of the sites using PHP today, and even
> the relatively revolutionary 5.3 is still a lot less popular than 5.2.
> The new shiny features are not all that interesting for most people.

I'd like to speak to this as someone involved in WordPress development.
As a whole, despite being a huge project with large amounts of
developers and users, WordPress is pretty under-represented on
php-internals.

One of the big reasons for that is that we're stuck with a lot of
backwards compatibility, both internal and external. We try hard to
ensure that our API to our plugins doesn't break, which unfortunately
has left us with being the go-to project for pointing out bad code. As
much as some may want us to, we're not going to go and rewrite WP in a
day to use new features, so internals discussions aren't that important
at the moment.

We're also stuck with a huge number of hosts still on PHP 5.2:
http://wordpress.org/about/stats/

I'd say it's somewhat of a chicken-and-egg problem, in that WP can't
develop for what's not there, and hosts won't bother upgrading if they
don't have to. We only stopped supporting PHP 4.x when the usage dropped
below 10%, and I'd see the same occurring for 5.2.

To me, I think the best possible thing to do would be to encourage hosts
to upgrade much faster. Rolling APC/Accelerator+ into core would be a
huge part of that from what I see. Backwards compatibility for PHP
itself seems to be pretty good, but it could be better. Hosts are still
reluctant to push existing users forward: Bluehost, Dreamhost, and
GoDaddy all offer 5.3, but none upgrade users automatically; WPEngine
and Page.ly, two large WP-centric hosts, are both on 5.3, since they
know WP won't break on upgrade.

We are making some efforts towards a push for 5.3+. In future releases,
we're planning on introducing some features that would only be enabled
for 5.3+ but none of those have been introduced yet to my knowledge.
Hopefully we can push the hosts enough to get this, but it wouldn't
change much of WordPress internally. Anonymous functions, e.g., are
fairly incompatible with the way we implement the Mediator pattern with
our hooking system. Namespaces might be implemented for new code, but
there's basically zero chance for the existing code base.

-- 
Ryan McCue


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Jan Ehrhardt
Zeev Suraski in php.internals (Mon, 28 Jan 2013 21:50:14 +0200):
>PHP has become the most popular Web language in existence WITHOUT these
>features.  Most users couldn't care less about them.  They're happy
>without them.  They're happ*ier* without them.  They'd rather a faster PHP
>that did exactly the same thing it does today - and not a slower one with
>more features that's more difficult to learn and debug.

De spijker op z'n kop, as the saying over here in Amsterdam is. There
are two reasons why I try to change to PHP 5.4 once in a while:
1. In my testing it is a little bit (10%) faster than PHP 5.3.
2. PHP 5.3 will be out of support (even security related) much too soon.
Every time I try to upgrade to 5.4, I have to revert it because I run
into another drupal module that is not yet adapted to PHP 5.4. Two weeks
ago I was once again confronted with errors under PHP 5.4. The module,
responsible for the error: Content Access.
http://drupal.org/node/1533186

I am one of the lucky guys that can instantly switch between PHP 5.3 and
PHP 5.4 on all servers we hire or own. Centos 5, Centos 6, Windows 2008
R2: all have a dual setup with PHP 5.3 as mod_php and PHP 5.4 as PHP-FPM
(Centos) or mod_fcgid (Win 2k8). So I switched our drupal7 sites back to
PHP 5.3 for the third or fourth time during the last 6 months.

Zeev Suraski in php.internals (Mon, 28 Jan 2013 19:22:38 +0200):
>I think many of us are purely and simply totally out of sync with our
>users. I have no immediate solution but this is something we must solve,
>now.

Sadly enough, but true. Just read the comments by Thomas Bley, Florin
Patan and even Lester Caine in this thread. I was really appalled by the
outcome of the PHP 5.3 end-of-life vote. Reality check: Drupal6 is not
and probably never will be running smoothly under PHP 5.4. Drupal7 is
behaving better, but if somebody asks me what would be the best choice
for Drupal7 at the moment I'll advise PHP 5.3 without any hesitation.
Only concern: PHP 5.3 will be without security updates within a year and
some months.

I will not repeat the mantra about the slow adaptation of PHP 5.3 and
5.4. But think of it: PHP 5.2 was declared end-of-life 753 days ago...

Another point of view for US-citizens: many of our sites deal with
patient information and therefore we are bound by HIPAA-restrictions.
Quote from
http://www.hhs.gov/ocr/privacy/hipaa/understanding/srsummary.html

|Transmission Security. A covered entity must implement technical
|security measures that guard against unauthorized access to e-PHI
|that is being transmitted over an electronic network

Running those sites on a PHP version without security updates is
out-of-the-question.

I really appreciate all the work that is put into PHP by internals, but
please keep in mind that the vast majority of users is covered by
frameworks like Wordpress, Joomla, Drupal et cetera. And especially the
frameworks with lots of user-contributed extensions, plugins or modules
are bound to be lagging years behind PHP core development.

Jan

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Arpad Ray
On Mon, Jan 28, 2013 at 10:24 PM, Ferenc Kovacs  wrote:

> On Mon, Jan 28, 2013 at 11:11 PM, Patrick ALLAERT  >wrote:
> > It's perfectly valid to accept an RFC and comment on the
> > implementation on what should be improved or what sucks in it.
> >
> > If one is voting "no" mostly because of the implementation, then I
> > would say that there is a lack of information in the voting process
> > when saying "no". (No why... ?)
> >
>
> voting no based on the implementation would be that bad if the more voters
> could participate in the discussion phase, as that is where those problems
> should be laid out and addressed.
> as Client also said, knowing why a person voted no is much easier to bear
> for the author even if he doesn't agree with those.
>
>
In this particular case, a lot of people felt that the concept itself was
undesirable. Particularly memorable was the crass flaming of Stas.

Also I think the approach of defining specifics while the general concept
was under question, was misguided to say the least. Feedback was ignored or
forewarned because it didn't fit in the narrow cast you provided.

People voting "no" based on the implementation were the least of your
worries.

Arpad


Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Ferenc Kovacs
On Mon, Jan 28, 2013 at 11:11 PM, Patrick ALLAERT wrote:

> 2013/1/28 Zeev Suraski :
> >> What should we be voting on when voting on an RFC: on the RFC proposed
> >> feature, or on the patch itself?
> >
> > I think it should be exclusively on the concept.  We never vote about
> code
> > changes anywhere - including when we refactor existing parts.  Why would
> > we vote about the implementation here?
>
> Just to +1 Zeev's opinion here.
> It's perfectly valid to accept an RFC and comment on the
> implementation on what should be improved or what sucks in it.
>
> If one is voting "no" mostly because of the implementation, then I
> would say that there is a lack of information in the voting process
> when saying "no". (No why... ?)
>
> Side node: whatever the formal "process" we will use we will always
> have to be flexible enough to listen to each other and not falling
> into bureaucracy too much.
>
> Patrick
>

voting no based on the implementation would be that bad if the more voters
could participate in the discussion phase, as that is where those problems
should be laid out and addressed.
as Client also said, knowing why a person voted no is much easier to bear
for the author even if he doesn't agree with those.


-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Patrick ALLAERT
2013/1/28 Derick Rethans :
> Both the idea and implementation needs to be sound. If not, I vote "no"
> (and that also means "no" when it makes APC's life harder).

This is a bit unfair. APC is just one byte code caching mechanism out
there, even if it's the mostly used or most performing one (and even
the one I prefer by far).
If it was part of the core, then it would make more sense voting this way.

-- 
Patrick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Patrick ALLAERT
2013/1/28 Zeev Suraski :
>> What should we be voting on when voting on an RFC: on the RFC proposed
>> feature, or on the patch itself?
>
> I think it should be exclusively on the concept.  We never vote about code
> changes anywhere - including when we refactor existing parts.  Why would
> we vote about the implementation here?

Just to +1 Zeev's opinion here.
It's perfectly valid to accept an RFC and comment on the
implementation on what should be improved or what sucks in it.

If one is voting "no" mostly because of the implementation, then I
would say that there is a lack of information in the voting process
when saying "no". (No why... ?)

Side node: whatever the formal "process" we will use we will always
have to be flexible enough to listen to each other and not falling
into bureaucracy too much.

Patrick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Derick Rethans
On Mon, 28 Jan 2013, Anthony Ferrara wrote:

> I've always approached it as we're voting for the concept (and details)
> provided in the RFC. But it appears that other people have been voting on
> the specifics of the attached patch (so theoretically an RFC could be
> rejected entirely because some people don't like part of the implementation
> in C, but are fine with the PHP details).
> 
> I'll leave out my opinion (and justification) for now, I'm curious what you
> all think...
> 
> Thoughts?

Both the idea and implementation needs to be sound. If not, I vote "no" 
(and that also means "no" when it makes APC's life harder).

cheers,
Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Ferenc Kovacs
On Mon, Jan 28, 2013 at 8:14 PM, Anthony Ferrara wrote:

> Hey all,
>
> After reading the Voting Periods email thread, I'm left wondering a simple
> question (which has a difficult answer):
>
> What should we be voting on when voting on an RFC: on the RFC proposed
> feature, or on the patch itself?
>
> I've always approached it as we're voting for the concept (and details)
> provided in the RFC. But it appears that other people have been voting on
> the specifics of the attached patch (so theoretically an RFC could be
> rejected entirely because some people don't like part of the implementation
> in C, but are fine with the PHP details).
>
> I'll leave out my opinion (and justification) for now, I'm curious what you
> all think...
>
> Thoughts?
>
> Anthony
>

what I've seen this far is if an rfc includes a patch accepting the rfc
means that we accept the patch to be merged.
usually that also means that the change will be introduced into the lowest
possible version where appropriate (eg, now 5.3 is in basically critical
bugfix/security fixes only mode, or how much of a BC break is the proposed
change, etc.).
I think that in some cases having a vote without an impelentation could be
useful.
I see two common scenarios:

   1. voting before a major task where are multiple options are present
   (should we use utf-8 or utf-16 internally for the unicode support for
   example, the RFC would show the pros and cons, some benchmarks, maybe some
   POC, but not a full fledged implementation because nobody would dare to
   cook that up until he/she feels that it is backed by a majority of the
   voters(it can still fail on the implementation and it would require another
   vote before merging ofc,).
   2. voting where the implementation doesn't really an issue, but we want
   to get the common vision/agreement about some change (should we drop
   support of archaic/less used platform/compiler/etc.).

I also think that listing the potential BC break of an RFC and the
suggested target version should a mandatory part of every RFC.
I'm almost sure that the accessor RFC would have won over the votes if it
would have explicitly targeted the next after 5.5 version (or if it could
have reached the current status like 2-3 months ago).

Just my 2 cents of course.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


Re: [PHP-DEV] Re: [VOTE] CURLFile uploading API

2013-01-28 Thread Stas Malyshev
Hi!

> Looks like the feature has been approved almost anonymously, so I'll be

Unanimously of course :)
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] Purpose of voting

2013-01-28 Thread Zeev Suraski
> -Original Message-
> From: Levi Morrison [mailto:morrison.l...@gmail.com]
> Sent: Monday, January 28, 2013 10:04 PM
> To: Zeev Suraski
> Cc: Anthony Ferrara; internals@lists.php.net
> Subject: Re: [PHP-DEV] Purpose of voting
>
> On Mon, Jan 28, 2013 at 12:53 PM, Zeev Suraski  wrote:
> >> What should we be voting on when voting on an RFC: on the RFC
> >> proposed feature, or on the patch itself?
> >
> > I think it should be exclusively on the concept.  We never vote about
> > code changes anywhere - including when we refactor existing parts.
> > Why would we vote about the implementation here?
> >
> > The concept is the important part, not the implementation.
>
> Implementation can be a HUGE factor in whether I vote yes or no.

Fair enough, it has next to zero effect on mine - unless we're dealing
with something extremely fundamental.  Otherwise, why not put each and
every commit up for a vote?

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Pierre Joye
On Jan 28, 2013 8:41 PM, "Stas Malyshev"  wrote:
>
> Hi!
>
> > If we introduced BC breaks other than those, then we'd to review them
> > and see why they have been introduced. But one thing is clear: we do
> > not allow BC breaks between 5.x and 5.x+1.
>
> We need a better definition of BC break then. Is deprecating an existing
> feature BC break?

No, New warnings/notices are not BC breaks, fatal errors are.


Re: [PHP-DEV] Voting periods

2013-01-28 Thread Lester Caine

Zeev Suraski wrote:

PHP has become the most popular Web language in existence WITHOUT these
features.  Most users couldn't care less about them.  They're happy
without them.  They're happ*ier* without them.  They'd rather a faster PHP
that did exactly the same thing it does today - and not a slower one with
more features that's more difficult to learn and debug.  The whole concept
of 'WE MUST ADD THIS TO PHP OR ELSE' is ludicrous in my opinion.  PHP is
doing well, and many of the people who opposed this RFC are responsible
for steering it that way.


Nicely put Zeev ...
I would add though ... most users have no idea how to rewrite the code they are 
using to cope with the deprecated warnings? Somebody has to find time to do it 
for them :(


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Florin Razvan Patan
To Zeev and the rest of internals,

I know this will be a long e-mail but I'm not a guy who goes to conferences
(I don't have money for that), I've been into seven companies until now,
each with various use cases for PHP and I'm trying to contribute to some
open source projects from PHP scene.

You say that most of the users don't speak so I'll try to speak as my
previous attempts where ignored...


Let's start with the broken image about PHP 5.4 and adoption rate.

I'm not sure where, but today was given the argument of not doing userland
BC breaks while in 5.x branch, yet you just did that for 5.4 and now you use
it as a reference for adoption rate.

PHP 5.4 adoption rate is the best indicator but not for the number of
people
who like new features but rather for the number of people who can afford to
run without APC or have clean code.

Why do I say that? Consider this: since there's no common API for XCache/
Zend (forgot it's name) and other opcode accelerators/cachers I can't
upgrade
to use another alternative. And who's to say they don't suffer from their
own
bugs? Do you know what happens when I ask my NOC guys to install some
new extension? Things like: is it stable? Will it crash and burn my very
sensitive yet stable servers? Is it faster/slower that the alternatives?
Testing
the changes alone will make my company waste more money that having
me coming up with clever ways to provide workarounds or design things for
them so that upgrades like this can be avoided.

PHP 5.4 broke yet another thing. You've removed usage of register_globals.
That's a great thing but you've locked out many shared hosts as they can't
upgrade without making the customers upgrade their code first. That might
not even be possible for some people. I happen to maintain such a badly
written application, but it's working like that since 2002 and I can't
believe
that my employer will ask me to upgrade it at some point to make it
compatible with 5.4+. But I can do that, can you say the same thing for the
rest of the world?

I'd love to use traits in projects, there's great usage for them,
especially when
you go and write OOP code, the proper way... Can I do it? Sure, I have a
VPS which allows me to experiment but that's about it.

Thank God, you'll stop supporting 5.3 next year which is actually the reason
for why I'll be porting the application to 5.4, if possible, if not, 5.3
then 5.4
another time ;)


Why do I need those new features in the first place?

Just because I might be experimented enough in order to understand the
benefits from having them and how to use them to their true potential.

I don't understand feature X? Well ok, I need to read more about it. But
some smarter guys that make frameworks, ORMs, CMSs and other
large adopted and used PHP applications understand them, want them
need them to provide better code for people to use, learn from and write.


You think that majority of people write PHP in a professional way?

Could very well be true, in your countries, in mine, the focus is on getting
things done, nice if possible, if not, don't sacrifice the business time to
write nice code. I still manage to write nice code under these conditions
because I want to do more in life that be a simple code monkey. Every
monkey can write code, not every monkey can think beyond the next
echo they'll write.


Then there's Wordpress.

I'm still waiting for a day when the code base from Wordpress won't be
given as a negative example but Wordpress runs on a biiig number of
sites.


Do you really really want the opinion of users about a certain RFC?

Put up a pool on the website and promote it on the frontpage, Zend
mailing list, forums and so on. Announce it at least one week before
it runs and run it for two weeks. That should prove accurate enough
from people interested in the language itself. Those who are not
interested shouldn't count anyway.

How that RFC will be implemented is obviously another thing, but
it should be contained by internals not subject to public voting.


But the core needs more contributors.

Yes, I could be one. Why I'm not a contributor to the core? Well
here's a couple of interesting things:
- I haven't learned/used C until now, I've learned Pascal in
highschool, then Java at university and I've done programming
in PHP for seven years now. Not once I've needed, wanted to
learn C (until today that is);
- my time outside of work is limited and have to split it up between
many things (like most of you)
- I need to learn more PHP, more design patterns, more systems
architecture, more anything that's not related to C but rather
systems, patterns and anything else that I can so that I can
write better software for my employer, keep up with new people
coming after me, provide solutions that save me code, my
employer money and is easy to understand by people that
will maintain after I'll leave my job;
- PHP is written in C not in PHP which means that unlike people
that write C all day, for me C is another way 

Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Levi Morrison
On Mon, Jan 28, 2013 at 12:53 PM, Zeev Suraski  wrote:
>> What should we be voting on when voting on an RFC: on the RFC proposed
>> feature, or on the patch itself?
>
> I think it should be exclusively on the concept.  We never vote about code
> changes anywhere - including when we refactor existing parts.  Why would
> we vote about the implementation here?
>
> The concept is the important part, not the implementation.

Implementation can be a HUGE factor in whether I vote yes or no.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Re: [VOTE] CURLFile uploading API

2013-01-28 Thread Stas Malyshev
Hi!

> I've started a vote on CURLFile RFC:
> https://wiki.php.net/rfc/curl-file-upload#vote
> 
> Please vote.

Looks like the feature has been approved almost anonymously, so I'll be
proceeding with merging the pull soon. I'm also planning adding __wakeup
there that blocks unserializing CURLFile, for security reasons, please
tell me if anyone thinks it's not good. Also, if anyone has
comments/suggestions/additions to it, you are welcome to voice them.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] Purpose of voting

2013-01-28 Thread Zeev Suraski
> What should we be voting on when voting on an RFC: on the RFC proposed
> feature, or on the patch itself?

I think it should be exclusively on the concept.  We never vote about code
changes anywhere - including when we refactor existing parts.  Why would
we vote about the implementation here?

The concept is the important part, not the implementation.

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] Voting periods

2013-01-28 Thread Zeev Suraski
> Can we stop calling things "new shiny features" as if that means
anything? It's
> empty rhetoric. When you treat your users like unintelligent noobies who
are
> just going to hang themselves when you give them a rope, then that's the
type
> of users you will end up with.

If it doesn't mean anything, why does it bother you?

You don't need to be dumb to appreciate simplicity, and you can be very
intelligent and still appreciate complexity.  The people behind J2EE were
all exceptionally smart.

PHP has become the most popular Web language in existence WITHOUT these
features.  Most users couldn't care less about them.  They're happy
without them.  They're happ*ier* without them.  They'd rather a faster PHP
that did exactly the same thing it does today - and not a slower one with
more features that's more difficult to learn and debug.  The whole concept
of 'WE MUST ADD THIS TO PHP OR ELSE' is ludicrous in my opinion.  PHP is
doing well, and many of the people who opposed this RFC are responsible
for steering it that way.

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Stas Malyshev
Hi!

> If we introduced BC breaks other than those, then we'd to review them
> and see why they have been introduced. But one thing is clear: we do
> not allow BC breaks between 5.x and 5.x+1.

We need a better definition of BC break then. Is deprecating an existing
feature BC break? Is adding a notice BC break? If something like making
isset($string["foo"]) not return true anymore or fixing 64-bit numbers
handling BC break? Each can break code that relied on old way of doing
things. If we ban all of them for 5.x we'd need to have 6.0 much sooner,
since otherwise we'd be stuck with a lot of old unfixable warts for 5
years.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Pierre Joye
hi,

On Mon, Jan 28, 2013 at 8:14 PM, Anthony Ferrara  wrote:
> Hey all,
>
> After reading the Voting Periods email thread, I'm left wondering a simple
> question (which has a difficult answer):
>
> What should we be voting on when voting on an RFC: on the RFC proposed
> feature, or on the patch itself?
>
> I've always approached it as we're voting for the concept (and details)
> provided in the RFC. But it appears that other people have been voting on
> the specifics of the attached patch (so theoretically an RFC could be
> rejected entirely because some people don't like part of the implementation
> in C, but are fine with the PHP details).
>
> I'll leave out my opinion (and justification) for now, I'm curious what you
> all think...
>
> Thoughts?

We do not vote on RFC for features/change without patch(es).

However I could imagine a kind of poll to see if a complex feature is
worse the effort to implement it. It can be very frustrated and
demotivating to spend literally days on something that will be
rejected.

Cheers,
--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Anthony Ferrara
Stas,

Remember we talked about this while discussing voting? What we have here
> is a huge language feature (and, like it or dislike it, it is a big
> feature which had a lot of effort, energy and though spent on it, and
> also has a lot of consequences for PHP language, which may be good or
> bad depending on your POV) balancing more or less on a couple of votes.
> And because votes are so close, we get technicalities on which votes may
> hinge and possibility for gaming them and possibility of accusing each
> other of gaming them, and that doesn't contribute to consensus and
> general collaboration. So we need to think about how to make this better.
>

I think the "making better" shouldn't involve rules. IMHO, if the decision
is so close that it's rejected or accepted on technicalities or gaming,
then it shouldn't be accepted anyway. To me, the vote should be more about
officially verifying consensus, and less about "let the numbers speak". If
it's close enough that rules or whatever against technicalities or gaming
need to come in, then it didn't belong in there in the first place.

But this is also why IMHO voters who don't participate in internals
discussions (at least reading them, if not responding, which is hard to )
shouldn't be allowed to vote. This isn't to limit the voting crowd, but to
increase the consensus on the discussion. The vote should thereby become a
formality. Now, this can lead to bike shedding, but at least it would
result in more voters participating in the discussions (I would hope at
least).

But I definitely agree with you that we do need to make this better...

Anthony


Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Stas Malyshev
Hi!

> What should we be voting on when voting on an RFC: on the RFC proposed
> feature, or on the patch itself?

Either, or both, depending on the RFC and the intent of the author. Note
that since there's rarely competing teams/patches on the same feature,
accepting the RFC means also accepting the approach proposed by the team
doing it, otherwise it's meaningless - if we accept the idea, but not
implementation, what the use would be for the idea which has nobody to
implement it?
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Thoughts on "scalar objects"

2013-01-28 Thread Steve Clay

Re: https://github.com/nikic/scalar_objects

Initial impression: This patch reminds me of extending native prototypes in Javascript, 
with similar limitations that may explain why this has fallen out of fashion in JS. The 
big one is that allowing change to the prototypes introduces global state with all the 
problems that implies. The second is that you can't store local state beside the value. 
E.g. a useful UTF-8 string class would want to store some extra state like: has the string 
been validated, and are all chars in ASCII.


Other ideas:

* Instead of registering a single class to wrap a native type, allow users to register 
handlers that receive the native value, the type, the called method name, and args. This 
allows altering behavior based on the value/method at call-time. The handler would return 
a 2 member array: the first would indicate whether the handler actually handled the call, 
the second would have the return value.


* Would it be possible to limit this behavior to a particular scope?


Steve Clay
--
http://www.mrclay.org/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: [RFC] skipping optional parameters

2013-01-28 Thread Stas Malyshev
Hi!

> what is the status of the rfc?
> were there any reasons why you didn't called for votes?
> Personally I would prefer named parameters also, and I think that we are
> too close to the 5.5 feature freeze, but somebody asked why did the
> progress stopped and I don't think that there were any showstopper issues.

There are some issues with making internal functions compatible with
this and fixing all the tests, and I didn't have enough time to get
through it yet. I hope to get back to it in the near future, but
probably not in time for 5.5 if its schedule stays as it is now. The
concept is basically done but there are all kinds of cleanups to be done
and tests to be fixed and so on and it takes time, unfortunately.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Thomas Bley
In the past months, I talked to a lot of German companies using PHP or Java:
All PHP companies were using 5.2/5.3 and planned to upgrade to 5.4.
Almost all were using default binaries from their favorite Linux
distribution on their production systems.
Only one was building their own extensions, based on the book from 2006.
None of them complained about missing features or security problems.
None of them complained about quality of PHP or missing documentation
in userland functions.
Those who chose Java did it because of better IDE support, tools for
static code analysis (FindBugs) and the compiler giving warnings (e.g.
code calls non-existing methods).
None of them mentioned they are using or needing a debugger.
Those who chose PHP did it because they want things going quickly and
want cheap programmers without academic graduation.
Those who had performance problems, mainly had a shop framework
producing bad queries.
Most choose a PHP framework because it is the biggest and well-known.
Most did not run automatic tests. Those who did testing mainly did
selenium or unit tests for important functions.
Those who were using Wordpress confirmed they did not look into the
code before using it in production.

Regards,
Thomas


On Mon, Jan 28, 2013 at 7:22 PM, Matthew Leverton  wrote:
> On Mon, Jan 28, 2013 at 11:07 AM, Zeev Suraski  wrote:
>> The vast majority of the PHP community is a silent one;  These people
>> ...
>> In fact, they're not completely silent.  They speak in volumes
>> - PHP 5.4 is used in less than 1% of the sites using PHP today, and even
>> the relatively revolutionary 5.3 is still a lot less popular than 5.2.
>> The new shiny features are not all that interesting for most people.
>>
> Can we stop calling things "new shiny features" as if that means
> anything? It's empty rhetoric. When you treat your users like
> unintelligent noobies who are just going to hang themselves when you
> give them a rope, then that's the type of users you will end up with.
> As a long time (silent) PHP user of 10+ years, these are exactly the
> types of features that I and *everybody* I work with as professionals
> who write our own code would like to see in PHP. The second PHP 5.5 is
> out, I'll be updating just to have easy-to-use iterators (i.e.,
> generators).
>
> As somebody who has been actively involved on another large open
> source project for 15 years, I can appreciate the desire to avoid
> adding pointless complexity. In fact, I think putting properties into
> something already in alpha state (5.5) is not wise. But the feature
> itself is spot-on, and to claim that using __get and __set is better
> or sufficient is a hard position to back up.
>
> Pointing to usage of PHP 5.4 as any sort of justification is
> meaningless. What's happening is that the average PHP user is simply
> turning into a person who uses few old, mainstream PHP applications
> like Wordpress because PHP lacks the features to be competitive with
> other languages. So it's things like Wordpress that are driving the
> big numbers, which has nothing to do with the number of individual
> people who write their own serious, modern software.
>
> And for the discussion at hand, yes, it seems obvious that every RFC
> should have an absolute deadline of when voting ends.
>
> --
> Matthew Leverton
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Purpose of voting

2013-01-28 Thread Will Fitch

On Jan 28, 2013, at 2:14 PM, Anthony Ferrara  wrote:

> Hey all,
> 
> After reading the Voting Periods email thread, I'm left wondering a simple
> question (which has a difficult answer):
> 
> What should we be voting on when voting on an RFC: on the RFC proposed
> feature, or on the patch itself?

Personally, I'm discussing/voting on the feature.  We do tend to combine our 
discussions, but voting seems to be directly for the proposed feature.  I don't 
necessarily disagree with this approach, as we tend to hash out the 
implementation during the discussions.  It might save RFC authors a lot of time 
and keyboard taps if we discussed/voted on a feature prior to discussing 
implementation.  This could open the door for a flood of feature requests in 
the form of RFCs, but I don't believe that would happen.

One of the advantages of combining the patch(es) with an RFC is it shows the 
author has put forth an effort in thinking the idea through.  That said, a 
"rule of thumb" (or official rule) that RFC authors should provide a patch once 
the feature has been approved might work.  

In the end, separating the two would end up saving the RFC's author and this 
list time as to whether a feature should be considered.  However, there are 
times where the implementation could change the outcome of the feature vote 
itself.

> 
> I've always approached it as we're voting for the concept (and details)
> provided in the RFC. But it appears that other people have been voting on
> the specifics of the attached patch (so theoretically an RFC could be
> rejected entirely because some people don't like part of the implementation
> in C, but are fine with the PHP details).
> 
> I'll leave out my opinion (and justification) for now, I'm curious what you
> all think...
> 
> Thoughts?
> 
> Anthony


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Stas Malyshev
Hi!

> I mean more "no matter if it is or not", but the result is not tie
> anyway, accepted or not.

Remember we talked about this while discussing voting? What we have here
is a huge language feature (and, like it or dislike it, it is a big
feature which had a lot of effort, energy and though spent on it, and
also has a lot of consequences for PHP language, which may be good or
bad depending on your POV) balancing more or less on a couple of votes.
And because votes are so close, we get technicalities on which votes may
hinge and possibility for gaming them and possibility of accusing each
other of gaming them, and that doesn't contribute to consensus and
general collaboration. So we need to think about how to make this better.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Purpose of voting

2013-01-28 Thread Anthony Ferrara
Hey all,

After reading the Voting Periods email thread, I'm left wondering a simple
question (which has a difficult answer):

What should we be voting on when voting on an RFC: on the RFC proposed
feature, or on the patch itself?

I've always approached it as we're voting for the concept (and details)
provided in the RFC. But it appears that other people have been voting on
the specifics of the attached patch (so theoretically an RFC could be
rejected entirely because some people don't like part of the implementation
in C, but are fine with the PHP details).

I'll leave out my opinion (and justification) for now, I'm curious what you
all think...

Thoughts?

Anthony


Re: [PHP-DEV] Re: [RFC] skipping optional parameters

2013-01-28 Thread Ferenc Kovacs
2012.04.20. 8:08, "Stas Malyshev"  ezt írta:
>
> Hi!
>
> > I can't estimate the amount of breakage, but what about using underscore
> > (literal _) without quotation marks?
>
> This one is taken. See: http://us2.php.net/_
>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Hi,

what is the status of the rfc?
were there any reasons why you didn't called for votes?
Personally I would prefer named parameters also, and I think that we are
too close to the 5.5 feature freeze, but somebody asked why did the
progress stopped and I don't think that there were any showstopper issues.


Re: [PHP-DEV] Voting periods

2013-01-28 Thread Lazare Inepologlou
2013/1/28 Zeev Suraski 

> > -Original Message-
> > From: Clint Priest [mailto:cpri...@zerocue.com]
> > Sent: Monday, January 28, 2013 3:15 PM
> > To: Peter Cowburn
> > Cc: Zeev Suraski; Pierre Joye; PHP internals
> > Subject: Re: [PHP-DEV] Voting periods
> >
> >
> > On 1/28/2013 6:12 AM, Peter Cowburn wrote:
> > > On 28 January 2013 12:03, Clint Priest  wrote:
> > >> If you're still worried about this making it in, don't worry. Nikita
> > >> and I have given up, to the determinant of the community.
> > >>
> > > Then please close the voting.
> > Since there is no "maximum voting period" and 5.5 is not in a feature
> freeze yet,
> > I left the voting open, in case some people decided to read the patch
> and change
> > their minds.  I see no reason to close the vote unless I'm required to
> do so or the
> > game is up.
>
> I think there's an almost-consensus that voting periods need to be well
> defined.  Two reasons:
>
> 1. If you care enough about it you should be able to vote about it within
> one or two weeks.
> 2. Leaving it open ended gives the RFC proposer too much power.  He could
> simply end the vote once it happens to reach the necessary majority.
>
> So I'd say yes, you're required to end it, either immediately or at most
> at the end of the two week boundary.
>
> > asking for this feature (present in every other modern
> > language) for 5+ years.  I spent two years going through the *tedious*
> RFC
> > discussion process, wrote the software, Nikita made it even better to
> have it
> > shot down without even reasonable explanations as to why "from most
> people."
>
> There are two very reasonable explanations, and it's fine you may disagree
> with them:
>
> 1. It makes the language more complex.
> 2. It makes the language more difficult to maintain.
>


This is not accurate. There are people who would like to see a feature
implemented, but voted no because they did not like the proposed
implementation. This is important. A blunt "No" blocks not only the RFC
itself but also all attempts for alternative or improved solutions.

I believe that all proposals should have 3 options: "Yes, all the way",
"Yes in principle, but not this implementation" and "No in principle". This
would leave room for better approaches.




>
> In both cases, the people who opposed it thought that the gain from adding
> it doesn't outweigh these loss in complexity and maintenance overhead.
>
> > Some are resting on the idea that the ROI isn't there just aren't
> listening to the
> > community.
>
> The vast majority of the PHP community is a silent one;  These people
> don't participate here on internals;  They don't attend conferences;  They
> use it - the vast majority of them in a professional manner - and they
> picked it because they like it the way it is, not because of what it needs
> to become.  For every person that subscribes to internals, there's a
> thousand (yes, a THOUSAND) people who don't (it's several thousands vs.~5
> million).  In fact, they're not completely silent.  They speak in volumes
> - PHP 5.4 is used in less than 1% of the sites using PHP today, and even
> the relatively revolutionary 5.3 is still a lot less popular than 5.2.
> The new shiny features are not all that interesting for most people.
>
> The community that participates in internals isn't necessarily
> representative of the community at large.
>
> Zeev
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Lazare INEPOLOGLOU
Ingénieur Logiciel


Re: [PHP-DEV] Voting periods

2013-01-28 Thread Stas Malyshev
Hi!

> Zeev, for one, was one of them asking to have a 2/3 majority for any
> language related RFC. That's what applies to this RFC, and it is, as
> of now, accepted. I don't see how the vote is remotely close to a tie.

I'm sorry, I am seeing 34/21 result. It's 61% for, 39% against - which
means, it falls short of 2/3 majority. How is it "as of now, accepted"?

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Pierre Joye
Lester,

On Mon, Jan 28, 2013 at 5:37 PM, Lester Caine  wrote:

> I'm not going to go back and list the problems. E_STRICT errors DO cause
> problems running legacy code. I've had plenty of white screens until
> E_STRICT was switched back off in PHP5.4! Things that are just warnings in
> PHP5.3.

To be honest I am tired of your 1st level support questions and
arguing. The white page syndrome is something that happens to any
newcomer, say for the 1st half day of his work. Stop now to hi jack
every discussion with totally pointless topics. You have questions
about how to setup a production server to do not be impacted by
notices? Ask on php-general or read the very well written
documentation.


--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] VCS Account Rejected: tyraeltest10 rejected by bjori

2013-01-28 Thread PHP Group
Nuked tyraeltest10


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] VCS Account Approved: tyraeltest10 approved by bjori

2013-01-28 Thread PHP Group
Approved tyraeltest10 \o/


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] VCS Account Request: tyraeltest10

2013-01-28 Thread Ferenc Kovacs
just testing my recent change in the accept/reject emails, please first accept 
this account then delete it.
thanks.


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Lester Caine

Zeev Suraski wrote:

They speak in volumes
- PHP 5.4 is used in less than 1% of the sites using PHP today, and even
the relatively revolutionary 5.3 is still a lot less popular than 5.2.
The new shiny features are not all that interesting for most people.


And I wonder how many of the 1% using 5.4 live are using it purely because they 
HAVE spent the time to get 5.2 based code working clean on it rather than 
because they use any of the 'new shiny features' ... I'm about 50% through the 
move to 5.4 and it will be some time before the rest can be moved of the PHP5.2 
machines. It does now seem a 'false economy' simply to hide the problems with 
the code rather than making the code run clean so sticking with a suitable 
machine is safer than trying to selectively get a 5.4 machine run both 5.2 
'dirty' code as well as 5.4 'clean' code?


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Ralf Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 28.01.2013 18:35, schrieb Pierre Joye:
> On Jan 28, 2013 6:22 PM, "Zeev Suraski"  wrote:
>> 
>> I agree, but we’re in opposite camps on this feature.  What does
>> that
> mean? J
> 
> Go back to our roots? :-)

Classless, Exception-less and when somebody says something on a list,
it gets implemented just like that with any arbitrary naming scheme? ;-)

I think this is not where most people want to go, but experiences may
differ. People I talk to are either "Let's not break what works" or
"I'd like PHP to have X to compete with Y or to eliminate ugly
workaround Z" or something in between. PHP is strong where it offers
features without forcing users to use exactly these and nothing else.

The core people have limited time for listening if they want to get
anything done. There is little awareness among php users

* that not everything needs to go into core or mainstream extensions
just because other languages have it there
* that the right place to push change is not reddit or heise.de or
myfavoritepythonblog.com but the community itself.

I can't help that. I am here because I think exceptions should be in
more places where we now have fatals and I learnt a lot why this is
not happening now and why it is complicated to achieve and what it
could break.

In politics, everybody is advocate of silent majorities if he cannot
be advocate of vocal majorities. Let's not have this here :)

- -- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: l...@b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEGuiMACgkQCs1dsHJ/X7BQugCgocJoohygnPVwOXWeBc7Zrq0v
G+wAn096id90c2qOjGLX3127YO3DC6JI
=U3uV
-END PGP SIGNATURE-

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] Voting periods

2013-01-28 Thread Pierre Joye
On Jan 28, 2013 6:22 PM, "Zeev Suraski"  wrote:
>
> I agree, but we’re in opposite camps on this feature.  What does that
mean? J

Go back to our roots? :-)


RE: [PHP-DEV] Voting periods

2013-01-28 Thread Zeev Suraski
I agree, but we’re in opposite camps on this feature.  What does that mean?
J

I think many of us are purely and simply totally out of sync with our
users. I have no immediate solution but this is something we must solve,
now.


RE: [PHP-DEV] Voting periods

2013-01-28 Thread Pierre Joye
On Jan 28, 2013 6:07 PM, "Zeev Suraski"
> The community that participates in internals isn't necessarily
> representative of the community at large.
>

Letzten me clarify my view. I do not attend hyped conferences, because I
want to meet are not there. However I meet a lot of our "silent" community,
inside companies, customers, non PHP specific conferences, UGs, schools
(for active ppl), etc. My opinion and my certitude about this feature are
based on the feedback of these people.

However, projects leaders have the same feedbacks from their users, that
says all.

I think many of us are purely and simply totally out of sync with our
users. I have no immediate solution but this is something we must solve,
now.


RE: [PHP-DEV] Voting periods

2013-01-28 Thread Zeev Suraski
> -Original Message-
> From: Clint Priest [mailto:cpri...@zerocue.com]
> Sent: Monday, January 28, 2013 3:15 PM
> To: Peter Cowburn
> Cc: Zeev Suraski; Pierre Joye; PHP internals
> Subject: Re: [PHP-DEV] Voting periods
>
>
> On 1/28/2013 6:12 AM, Peter Cowburn wrote:
> > On 28 January 2013 12:03, Clint Priest  wrote:
> >> If you're still worried about this making it in, don't worry. Nikita
> >> and I have given up, to the determinant of the community.
> >>
> > Then please close the voting.
> Since there is no "maximum voting period" and 5.5 is not in a feature
freeze yet,
> I left the voting open, in case some people decided to read the patch
and change
> their minds.  I see no reason to close the vote unless I'm required to
do so or the
> game is up.

I think there's an almost-consensus that voting periods need to be well
defined.  Two reasons:

1. If you care enough about it you should be able to vote about it within
one or two weeks.
2. Leaving it open ended gives the RFC proposer too much power.  He could
simply end the vote once it happens to reach the necessary majority.

So I'd say yes, you're required to end it, either immediately or at most
at the end of the two week boundary.

> asking for this feature (present in every other modern
> language) for 5+ years.  I spent two years going through the *tedious*
RFC
> discussion process, wrote the software, Nikita made it even better to
have it
> shot down without even reasonable explanations as to why "from most
people."

There are two very reasonable explanations, and it's fine you may disagree
with them:

1. It makes the language more complex.
2. It makes the language more difficult to maintain.

In both cases, the people who opposed it thought that the gain from adding
it doesn't outweigh these loss in complexity and maintenance overhead.

> Some are resting on the idea that the ROI isn't there just aren't
listening to the
> community.

The vast majority of the PHP community is a silent one;  These people
don't participate here on internals;  They don't attend conferences;  They
use it - the vast majority of them in a professional manner - and they
picked it because they like it the way it is, not because of what it needs
to become.  For every person that subscribes to internals, there's a
thousand (yes, a THOUSAND) people who don't (it's several thousands vs.~5
million).  In fact, they're not completely silent.  They speak in volumes
- PHP 5.4 is used in less than 1% of the sites using PHP today, and even
the relatively revolutionary 5.3 is still a lot less popular than 5.2.
The new shiny features are not all that interesting for most people.

The community that participates in internals isn't necessarily
representative of the community at large.

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Ferenc Kovacs
On Mon, Jan 28, 2013 at 5:37 PM, Lester Caine  wrote:

> Ferenc Kovacs wrote:
>
>>
>> Please Lester, could you stop pretending that E_STRICT errors will crash
>> your
>> application and kill all the kittens?
>> There are a bunch of people (myself included) who tries to write E_STRICT
>> free
>> code so that our application is fast and bugfree?
>> Yes, there are people who ignore E_STRICT and E_DEPRECATED and I agree
>> that
>> having a zillion of those in the PEAR packages is a wrong thing.
>> But currently it is the way to remove a feature: deprecate it both in the
>> code
>> and the manual, advertise in the release announcement, and remove it in
>> the next
>> version, hence people who are interested in keeping up with the changes
>> will
>> know what do they need to check and change.
>>
>
> I'm not going to go back and list the problems. E_STRICT errors DO cause
> problems running legacy code. I've had plenty of white screens until
> E_STRICT was switched back off in PHP5.4!


We told you that it shouldn't cause anything like that(except indirectly
like taking up more memory or executing time and hitting a limit, or having
a custom error handler which explicitly exit()s on an E_STRICT).
We also told you to check your error log and if by any chance is a bug
(what only you bumped into) then open a bugreport on
http://bugs.php.net/preferably attaching a simple reproduce script,
but you never did that as
far as I can tell.
So as far as we are concerned, E_STRICT works just fine.


> Things that are just warnings in PHP5.3.


the only thing that was changed in 5.4 related to E_STRICT was that E_ALL
now includes E_STRICT, nothing else.
5.3 and 5.4 should behave in every other regard, if you think it isn't then
please open a bugreport.



> Since this is optional, some people 'opt' to ignore the warnings, just as
> they ignore the E_DEPRECATED ones.


yeah, those who don't wanna know or decide to ignore our runtime messages
about features going away are free to do that.
I can't see how and why should we change that, plus it would be a BC break.


> The problem comes as in the case of $this in static functions where the
> optional fixes are used to allow the code to run. PHP5.2 code works in 5.3
> if warnings are hidden, but there is no guarantee the same code will run in
> 5.4 and it may well now blow up in 5.5.
>

the current releaseprocess RFC wouldn't allow that to happen in 5.x


>
> So I repeat the question, what is the point of providing a switch which
> disables warning such as over the $this and then pulling the plug on it in
> a later version.


see above, we will (almost)always will deprecate a feature before removing
it.
taking away the option to silent those errors would be a pretty bad idea,
and would be a major BC (to do that you would have to also change the
current user error handler implementation, otherwise people would just
ignore from there).
removing a feature in a minor version is a different point, and it is
indeed a BC break and it isn't allowed by the current releaseprocess RFC.
personally I think that the current releaseprocess RFC will be either not
followed all the times or we will release major versions more frequently,
but time will tell.

This is the exact sort of activity that I have been moaning about all
> along. PHP5.3 and PHP5.4 introduced changes that should ideally have been
> reserved for a major update. PHP5 code should run without problems and
> complain in ANY later version of PHP5, not just some. That is what BC is
> all about! For a LONG time we could even write PHP4 code that ran in PHP5.


those versions were before us having formal RFCs, so features/changes was
done and merged in a case-by-case basis.
the major version bumps were always when the Zend Engine got rewritten, so
only when the extension API was broken.
the current releaseprocess in the other hand is a more stricter approach,
it requires a major version bump for any userland BC break.
so I think that you should be satisfied with the current situation as long
as the releaseprocess is followed.


-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


Re: [PHP-DEV] Voting periods

2013-01-28 Thread Levi Morrison
I also disagree with an open-ended voting period. I'm fine with having
a long voting window, but when a vote is called it should declare when
the voting will end. This just makes sense to me.

Since we're on the topic of voting, I also want to bring up that 50% +
1 is actually pretty low for something that doesn't modify the core.
For instance, suppose that the voting on an RFC ended with exactly a
50% + 1 vote in favor of adding the feature.  That means that half of
the people who voted did not want it to go through.  That seems like a
problem to me; half of the people were against it yet it is accepted
and introduced to the language?  Maybe I'm used to working in councils
that require near unanimity, but 50% + 1 seems very, very low. If
we're going to revisit voting,  can we re-discuss this as well?

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Lester Caine

Ferenc Kovacs wrote:


Please Lester, could you stop pretending that E_STRICT errors will crash your
application and kill all the kittens?
There are a bunch of people (myself included) who tries to write E_STRICT free
code so that our application is fast and bugfree?
Yes, there are people who ignore E_STRICT and E_DEPRECATED and I agree that
having a zillion of those in the PEAR packages is a wrong thing.
But currently it is the way to remove a feature: deprecate it both in the code
and the manual, advertise in the release announcement, and remove it in the next
version, hence people who are interested in keeping up with the changes will
know what do they need to check and change.


I'm not going to go back and list the problems. E_STRICT errors DO cause 
problems running legacy code. I've had plenty of white screens until E_STRICT 
was switched back off in PHP5.4! Things that are just warnings in PHP5.3. Since 
this is optional, some people 'opt' to ignore the warnings, just as they ignore 
the E_DEPRECATED ones. The problem comes as in the case of $this in static 
functions where the optional fixes are used to allow the code to run. PHP5.2 
code works in 5.3 if warnings are hidden, but there is no guarantee the same 
code will run in 5.4 and it may well now blow up in 5.5.


So I repeat the question, what is the point of providing a switch which disables 
warning such as over the $this and then pulling the plug on it in a later 
version. This is the exact sort of activity that I have been moaning about all 
along. PHP5.3 and PHP5.4 introduced changes that should ideally have been 
reserved for a major update. PHP5 code should run without problems and complain 
in ANY later version of PHP5, not just some. That is what BC is all about! For a 
LONG time we could even write PHP4 code that ran in PHP5.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Pierre Joye
On Mon, Jan 28, 2013 at 4:59 PM, Pierre Joye  wrote:
> hi,
>
> On Mon, Jan 28, 2013 at 4:56 PM, Gustavo Lopes  wrote:
>> On Mon, 28 Jan 2013 16:45:43 +0100, Pierre Joye 
>> wrote:
>>
>>> On Mon, Jan 28, 2013 at 4:30 PM, Zeev Suraski  wrote:
>
> -Original Message-
>>>
>>>
 Can you explain why you think it's a major BC break?  The RFC suggested
 that the BC break would be minimal and that the likelihood a lot of people
 used it is very low.  If you think differently and share it it might put it
 in a different light.
>>>
>>>
>>> Problem is that we do not allow BC break in 5.5, at all, minor or not.
>>> Minor vs major BC is all relative, a minor BC for someone can create
>>> large issues for someone else, that's why we do not allow BC, in
>>> general. Killing some outdated "security" features however may fit
>>> better, but I am really not sure this one is worse the risk.
>>>
>>
>> Sorry, this objection simply is not timely.
>>
>> In order for this voting thing to work, votes have to have a strong degree
>> of finality. It would have to take a pretty strong new fact to overcome that
>> finality. Otherwise, people will not have incentives to look *early* at the
>> RFCs and the discussions will never end.
>>
>> In any case, the interpretation of the release process RFC as to BC breaks
>> has been rather lax. 5.4 introduced pretty disruptive BC breaks like
>> eliminating call-time pass-by-ref and changing the default encoding for
>> htmlentities/htmlspecialchars and new keywords. 5.5 will also introduce a
>> few (look at UPGRADING).
>
> I did not see any but the one about ini options we wanted to kill since years.
>
> If we introduced BC breaks other than those, then we'd to review them
> and see why they have been introduced. But one thing is clear: we do
> not allow BC breaks between 5.x and 5.x+1.

ok, reading the list, there is nothing remotely comparable to what you
propose. However that's a non issue for 5.5 as this RFC only
introduces a strict warning. I would suggest to modify it to specify
that the removal will happen in the next major version.

--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Pierre Joye
hi,

On Mon, Jan 28, 2013 at 4:56 PM, Gustavo Lopes  wrote:
> On Mon, 28 Jan 2013 16:45:43 +0100, Pierre Joye 
> wrote:
>
>> On Mon, Jan 28, 2013 at 4:30 PM, Zeev Suraski  wrote:

 -Original Message-
>>
>>
>>> Can you explain why you think it's a major BC break?  The RFC suggested
>>> that the BC break would be minimal and that the likelihood a lot of people
>>> used it is very low.  If you think differently and share it it might put it
>>> in a different light.
>>
>>
>> Problem is that we do not allow BC break in 5.5, at all, minor or not.
>> Minor vs major BC is all relative, a minor BC for someone can create
>> large issues for someone else, that's why we do not allow BC, in
>> general. Killing some outdated "security" features however may fit
>> better, but I am really not sure this one is worse the risk.
>>
>
> Sorry, this objection simply is not timely.
>
> In order for this voting thing to work, votes have to have a strong degree
> of finality. It would have to take a pretty strong new fact to overcome that
> finality. Otherwise, people will not have incentives to look *early* at the
> RFCs and the discussions will never end.
>
> In any case, the interpretation of the release process RFC as to BC breaks
> has been rather lax. 5.4 introduced pretty disruptive BC breaks like
> eliminating call-time pass-by-ref and changing the default encoding for
> htmlentities/htmlspecialchars and new keywords. 5.5 will also introduce a
> few (look at UPGRADING).

I did not see any but the one about ini options we wanted to kill since years.

If we introduced BC breaks other than those, then we'd to review them
and see why they have been introduced. But one thing is clear: we do
not allow BC breaks between 5.x and 5.x+1.

--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Gustavo Lopes
On Mon, 28 Jan 2013 16:45:43 +0100, Pierre Joye   
wrote:



On Mon, Jan 28, 2013 at 4:30 PM, Zeev Suraski  wrote:

-Original Message-


Can you explain why you think it's a major BC break?  The RFC suggested  
that the BC break would be minimal and that the likelihood a lot of  
people used it is very low.  If you think differently and share it it  
might put it in a different light.


Problem is that we do not allow BC break in 5.5, at all, minor or not.
Minor vs major BC is all relative, a minor BC for someone can create
large issues for someone else, that's why we do not allow BC, in
general. Killing some outdated "security" features however may fit
better, but I am really not sure this one is worse the risk.



Sorry, this objection simply is not timely.

In order for this voting thing to work, votes have to have a strong degree  
of finality. It would have to take a pretty strong new fact to overcome  
that finality. Otherwise, people will not have incentives to look *early*  
at the RFCs and the discussions will never end.


In any case, the interpretation of the release process RFC as to BC breaks  
has been rather lax. 5.4 introduced pretty disruptive BC breaks like  
eliminating call-time pass-by-ref and changing the default encoding for  
htmlentities/htmlspecialchars and new keywords. 5.5 will also introduce a  
few (look at UPGRADING).


--
Gustavo Lopes

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Pierre Joye
On Mon, Jan 28, 2013 at 4:49 PM, Pierre Joye  wrote:
> On Mon, Jan 28, 2013 at 4:47 PM, Zeev Suraski  wrote:
>
>> What does it mean then?  That implementing this RFC waits for 6.0 or that
>> it was invalid in the first place?
>
> Both, if the plan is to get that into 5.x.

Let me clarify, in my previous mail, I meant 5.6, not 5.5. The RFC is
clear that 5.5 will only get a strict warning, which is perfectly
fine. However removing it in 5.6 is not allowed.

--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Ferenc Kovacs
On Mon, Jan 28, 2013 at 4:45 PM, Pierre Joye  wrote:

> hi Zeev,
>
> On Mon, Jan 28, 2013 at 4:30 PM, Zeev Suraski  wrote:
> >> -Original Message-
>
> > Can you explain why you think it's a major BC break?  The RFC suggested
> that
> > the BC break would be minimal and that the likelihood a lot of people
> used
> > it is very low.  If you think differently and share it it might put it
> in a
> > different light.
>
> Problem is that we do not allow BC break in 5.5, at all, minor or not.
> Minor vs major BC is all relative, a minor BC for someone can create
> large issues for someone else, that's why we do not allow BC, in
> general. Killing some outdated "security" features however may fit
> better, but I am really not sure this one is worse the risk.
>
> Cheers,
> --
> Pierre
>
> @pierrejoye
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
did you read the RFC?
we would only deprecate this feature in 5.5.
and we already have such changes in 5.5 like
https://wiki.php.net/rfc/remove_preg_replace_eval_modifier

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Pierre Joye
On Mon, Jan 28, 2013 at 4:47 PM, Zeev Suraski  wrote:

> What does it mean then?  That implementing this RFC waits for 6.0 or that
> it was invalid in the first place?

Both, if the plan is to get that into 5.x.

--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Ferenc Kovacs
On Mon, Jan 28, 2013 at 4:32 PM, Lester Caine  wrote:

> Ferenc Kovacs wrote:
>
>> >But this is a core php feature, for anyone who does not use traits We
>>> >use this quite a bit, it may not be for purists, but it has worked
>>> >perfectly for years. This is getting a bit silly, change for change
>>> sake
>>> >
>>>
>> I've found this to be a huge wtf when you bump into, and already reported
>> by E_STRICT, so I was sold to the arguments made in the RFC.
>>
>
> I think that this is the point here ...
> In order for legacy code to even work, E_STRICT has to be disabled, so one
> does not see any problem.


Please Lester, could you stop pretending that E_STRICT errors will crash
your application and kill all the kittens?
There are a bunch of people (myself included) who tries to write E_STRICT
free code so that our application is fast and bugfree?
Yes, there are people who ignore E_STRICT and E_DEPRECATED and I agree that
having a zillion of those in the PEAR packages is a wrong thing.
But currently it is the way to remove a feature: deprecate it both in the
code and the manual, advertise in the release announcement, and remove it
in the next version, hence people who are interested in keeping up with the
changes will know what do they need to check and change.


> That is the whole point of the switch? There is no requirement to test
> code with the switch on, the wtf comes when something that is 'protected'
> by E_STRICT is later removed!


E_STRICT was introduced in 5.0 E_DEPRECATED was introduced in 5.3, E_STRICT
was used for things that we use E_DEPRECATED now, but E_STRICT can be used
stuff other than deprecating features (like suggesting better alternatives:
http://lxr.php.net/xref/PHP_5_5/ext/date/php_date.c#1493 )



> This was one of the major rework areas on my own code and I can TOTALLY
> understand people taking the ADVISED ROUTE of switching E_STRICT off as an
> alternative solution.


What do you mean by ADVISED ROUTE?
I don't think we officially advised anybody for ignoring
errors/warnings/etc.
Maybe you mean that somebody from the php project advised you to ignore the
E_STRICT messages in a 3rd party library that you are using and not wanting
to clean up yourself?


> NOW the question is, what is the point of E_STRICT if it can't be avoided
> anyway?


http://php.net/manual/en/errorfunc.constants.php
"Enable to have PHP suggest changes to your code which will ensure the best
interoperability and forward compatibility of your code."


-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


RE: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Zeev Suraski
> -Original Message-
> From: Pierre Joye [mailto:pierre@gmail.com]
> Sent: Monday, January 28, 2013 5:46 PM
> To: Zeev Suraski
> Cc: Alan Knowles; Gustavo Lopes; PHP Internals
> Subject: Re: [PHP-DEV] [VOTE] Deprecate and remove calls from
incompatible
> context
>
> hi Zeev,
>
> On Mon, Jan 28, 2013 at 4:30 PM, Zeev Suraski  wrote:
> >> -Original Message-
>
> > Can you explain why you think it's a major BC break?  The RFC
> > suggested that the BC break would be minimal and that the likelihood a
> > lot of people used it is very low.  If you think differently and share
> > it it might put it in a different light.
>
> Problem is that we do not allow BC break in 5.5, at all, minor or not.
> Minor vs major BC is all relative, a minor BC for someone can create
large issues
> for someone else, that's why we do not allow BC, in general. Killing
some
> outdated "security" features however may fit better, but I am really not
sure
> this one is worse the risk.

What does it mean then?  That implementing this RFC waits for 6.0 or that
it was invalid in the first place?

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Pierre Joye
hi Zeev,

On Mon, Jan 28, 2013 at 4:30 PM, Zeev Suraski  wrote:
>> -Original Message-

> Can you explain why you think it's a major BC break?  The RFC suggested that
> the BC break would be minimal and that the likelihood a lot of people used
> it is very low.  If you think differently and share it it might put it in a
> different light.

Problem is that we do not allow BC break in 5.5, at all, minor or not.
Minor vs major BC is all relative, a minor BC for someone can create
large issues for someone else, that's why we do not allow BC, in
general. Killing some outdated "security" features however may fit
better, but I am really not sure this one is worse the risk.

Cheers,
--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Alan Knowles

Ok, just checked the mailing list (and sorry for top-posting)

July 31st.  RFC announced
Jul 31st - 6 or 7 mails  at least one very negative, a couple for it.
August 1,3,5,6 - 5 or 6 emails getting a bit off-topic.
Jan 21st - call to vote (single email - no-one replied on list)... - got 
15 +1 votes

Jan 28th - announced success..

I know it's not deliberate, but it looks like this change is just a BC 
disaster waiting to happen, anyone who has been using PHP for more that  
a few years, before traits, knows this is how to simulate multiple 
inheritance, it's basically textbook PHP for some of us old boys.. ;)


It looks like the justification in the RFC is basically it's a WTF for 
beginners. Sorry, but this is pretty identical to javascript behavior 
(which does take some understanding, but is very powerful), so there is 
no WTF, or surprise, once you seen it done, and understand it..


If you where suggesting that calling a non-static method from global 
scope would cause some kind of E_DEPRECIATED, I'd agree, it's a good 
idea. but I'm not convinced that this proposal is particularly well 
thought through.


Ok, that's all for tonight ;)

Regards
Alan



On Monday, January 28, 2013 11:01 PM, Gustavo Lopes wrote:

On Mon, 28 Jan 2013 15:49:26 +0100, Alan Knowles  wrote:


I was trying to vote against, for what it's worth.

It's a major bc break with no obvious value, and what appears to be 7 
days given to vote when every one is busy discussing a new property 
syntax.


Traits is cute, but this was a amazing feature of the PHP language, 
not obvious, but it's pretty similar to Javascript, not sure why it 
would be so confusing.


Sorry for being contrary, but i was a but shocked that this was.going 
to be removed




You had more than 6 months to voice your concerns. There was a 
discussion when the feature was proposed during summer. I'm sorry you 
did not notice it, but I can't be spamming the list every once in a 
while to maximize the number of people that are aware of what's going on.


Concerns about voting periods not having an upper bound 
notwithstanding, there was nothing remotely irregular about the way 
the process was conducted. I therefore find your comments about 
"sneaking this in" rather odd. Blame yourself instead.


Again, I'm not commenting on the merits.




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Lester Caine

Ferenc Kovacs wrote:

>But this is a core php feature, for anyone who does not use traits We
>use this quite a bit, it may not be for purists, but it has worked
>perfectly for years. This is getting a bit silly, change for change sake
>

I've found this to be a huge wtf when you bump into, and already reported
by E_STRICT, so I was sold to the arguments made in the RFC.


I think that this is the point here ...
In order for legacy code to even work, E_STRICT has to be disabled, so one does 
not see any problem. That is the whole point of the switch? There is no 
requirement to test code with the switch on, the wtf comes when something that 
is 'protected' by E_STRICT is later removed! This was one of the major rework 
areas on my own code and I can TOTALLY understand people taking the ADVISED 
ROUTE of switching E_STRICT off as an alternative solution. NOW the question is, 
what is the point of E_STRICT if it can't be avoided anyway?


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Zeev Suraski
> -Original Message-
> From: Alan Knowles [mailto:a...@roojs.com]
> Sent: Monday, January 28, 2013 4:49 PM
> To: Gustavo Lopes; PHP Internals; Alan Knowles
> Subject: Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible
> context
>
> I was trying to vote against, for what it's worth.
>
> It's a major bc break with no obvious value, and what appears to be 7 days
> given to vote when every one is busy discussing a new property syntax.
>
> Traits is cute, but this was a amazing feature of the PHP language, not
> obvious,
> but it's pretty similar to Javascript, not sure why it would be so
> confusing.
>
> Sorry for being contrary, but i was a but shocked that this was.going to
> be
> removed

Alan,

Can you explain why you think it's a major BC break?  The RFC suggested that
the BC break would be minimal and that the likelihood a lot of people used
it is very low.  If you think differently and share it it might put it in a
different light.

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Leigh
On 30 July 2012 18:31, Gustavo Lopes  wrote:

> https://wiki.php.net/rfc/incompat_ctx
>
> An RFC for deprecating and removing $this from incompatible context.
>
> Comments are welcome.
>
>
Gustavo, my apologies, the ORIGINAL mail did say a little more about it.


Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Leigh
On 28 January 2013 14:49, Alan Knowles  wrote:

> I was trying to vote against, for what it's worth.
>
> It's a major bc break with no obvious value, and what appears to be 7 days
> given to vote when every one is busy discussing a new property syntax.
>

See other thread by Zeev :)


On 20 January 2013 19:17, Gustavo Lopes  wrote:

> I've opened the vote for the "remove calls from incompatible context" RFC:
>
> https://wiki.php.net/rfc/incompat_ctx#vote
>

Gustavo, it's probably a good idea in future to be a little more verbose
about the content of an RFC. The original mail didn't really give much
context with what was being proposed, so was easily skimmed over I guess.

That said, it *was* announced through the correct channels, and if you see
and RFC and don't know what it's about, all you have to do is click it and
see.


On 28 January 2013 14:17, Alan Knowles  wrote:

> But this is a core php feature, for anyone who does not use traits We
> use this quite a bit, it may not be for purists, but it has worked
> perfectly for years. This is getting a bit silly, change for change sake
>
>
So your code has been generating errors since 2006 and you didn't think to
fix it? E_STRICT is an error just like any other. Ok, probably shouldn't
start a discussion about this, but it was my first thought.


Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Ferenc Kovacs
On Mon, Jan 28, 2013 at 3:49 PM, Alan Knowles  wrote:

> I was trying to vote against, for what it's worth.
>

trying to re-open the vote and voting after Gustavo announced that the
voting was closed?
that's sounds a little bit weird.


>
> It's a major bc break with no obvious value, and what appears to be 7 days
> given to vote when every one is busy discussing a new property syntax.
>

personally I don't think it is a major BC break, AFAIR it is an
undocumented feature, it is marked by E_STRICT, and for the next release
this change will be only bumping from E_STRICT to E_DEPRECATED so anybody
out there depending on this will be notified and has time to deal with the
issue before the next release after 5.5.
closing the votes after 7 days is fine, and I think it wasn't closed to
rush the decision but it seemed that nobody was against it.


>
> Traits is cute, but this was a amazing feature of the PHP language, not
> obvious, but it's pretty similar to Javascript, not sure why it would be so
> confusing.
>

because $this doesn't make sense in a static call, and assuming the caller
methods scope isn't something what you would guess beforehand trying it out.
it is unintuitive and you will be surprised that it works when you first
encounter this.


>
> Sorry for being contrary, but i was a but shocked that this was.going to
> be removed
>

I think that if you have concerns it is better to talk it over so if we
missed something then it will brought forth.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Gustavo Lopes

On Mon, 28 Jan 2013 15:49:26 +0100, Alan Knowles  wrote:


I was trying to vote against, for what it's worth.

It's a major bc break with no obvious value, and what appears to be 7  
days given to vote when every one is busy discussing a new property  
syntax.


Traits is cute, but this was a amazing feature of the PHP language, not  
obvious, but it's pretty similar to Javascript, not sure why it would be  
so confusing.


Sorry for being contrary, but i was a but shocked that this was.going to  
be removed




You had more than 6 months to voice your concerns. There was a discussion  
when the feature was proposed during summer. I'm sorry you did not notice  
it, but I can't be spamming the list every once in a while to maximize the  
number of people that are aware of what's going on.


Concerns about voting periods not having an upper bound notwithstanding,  
there was nothing remotely irregular about the way the process was  
conducted. I therefore find your comments about "sneaking this in" rather  
odd. Blame yourself instead.


Again, I'm not commenting on the merits.

--
Gustavo Lopes

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Alan Knowles
I was trying to vote against, for what it's worth.

It's a major bc break with no obvious value, and what appears to be 7 days 
given to vote when every one is busy discussing a new property syntax.

Traits is cute, but this was a amazing feature of the PHP language, not 
obvious, but it's pretty similar to Javascript, not sure why it would be so 
confusing.

Sorry for being contrary, but i was a but shocked that this was.going to be 
removed

Regards
Alan

Gustavo Lopes  wrote:

>On Mon, 28 Jan 2013 15:17:21 +0100, Alan Knowles 
>wrote:
>
>> my apologies for deleting the = vote, but i could not work out how to
>
>> revert it.
>
>No problem, the result is still available at
>https://wiki.php.net/rfc/incompat_ctx?rev=1359379541
>
>I don't know want to know what you were trying to do, though...
>
>> But this is a core php feature, for anyone who does not use
>traits
>> We use this quite a bit, it may not be for purists, but it has worked
>
>> perfectly for years. This is getting a bit silly, change for change
>> sake
>
>I'm not discussing this again on the merits, but note that by the time
>
>this feature is removed, no PHP version without traits will be
>maintained
>anymore.
>
>--
>Gustavo Lopes
>
>--
>PHP Internals - PHP Runtime Development Mailing List
>To unsubscribe, visit: http://www.php.net/unsub.php

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Ferenc Kovacs
On Mon, Jan 28, 2013 at 3:17 PM, Alan Knowles  wrote:

>
> Holy crap, how did you sneak this through..
>

what do you mean by sneak? it was proposed and announced in the usual
channels.


>
> my apologies for deleting the = vote, but i could not work out how to
> revert it.
>

no problem, I've restored it, restoring an older version is done via
clicking the old version, clicking edit, and saving the page.


>
> But this is a core php feature, for anyone who does not use traits We
> use this quite a bit, it may not be for purists, but it has worked
> perfectly for years. This is getting a bit silly, change for change sake
>

I've found this to be a huge wtf when you bump into, and already reported
by E_STRICT, so I was sold to the arguments made in the RFC.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Gustavo Lopes

On Mon, 28 Jan 2013 15:17:21 +0100, Alan Knowles  wrote:

my apologies for deleting the = vote, but i could not work out how to  
revert it.


No problem, the result is still available at  
https://wiki.php.net/rfc/incompat_ctx?rev=1359379541


I don't know want to know what you were trying to do, though...

But this is a core php feature, for anyone who does not use traits  
We use this quite a bit, it may not be for purists, but it has worked  
perfectly for years. This is getting a bit silly, change for change  
sake


I'm not discussing this again on the merits, but note that by the time  
this feature is removed, no PHP version without traits will be maintained  
anymore.


--
Gustavo Lopes

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Alan Knowles

Holy crap, how did you sneak this through..

my apologies for deleting the = vote, but i could not work out how to revert it.

But this is a core php feature, for anyone who does not use traits We use 
this quite a bit, it may not be for purists, but it has worked perfectly for 
years. This is getting a bit silly, change for change sake

Regards
Alan

Gustavo Lopes  wrote:

>On Sun, 20 Jan 2013 20:17:05 +0100, Gustavo Lopes
>
>wrote:
>
>> I've opened the vote for the "remove calls from incompatible context"
>
>> RFC:
>>
>> https://wiki.php.net/rfc/incompat_ctx#vote
>>
>
>The RFC has been accepted unanimously. I'll implement it shortly. The
>change is trivial for 5.5 (change E_STRICT to E_DEPRECATED); for
>master,
>it should be fairly straightforward as well.
>
>--
>Gustavo Lopes
>
>--
>PHP Internals - PHP Runtime Development Mailing List
>To unsubscribe, visit: http://www.php.net/unsub.php

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

[PHP-DEV] [RFC][result] Define PHP 5.3 end of life

2013-01-28 Thread Pierre Joye
A large majority has been in favor of the "One year with security
fixes only, announce with5.5 final release" option.

That means PHP 5.3 end of life (no release, no support, etc.) will
happen exactly one year after the release of PHP 5.5.0-stable. The
announce of the exact date will be done at the same time than the
release announce for PHP 5.5.0.

Thanks for your comments and votes!

Cheers,
--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [VOTE] Deprecate and remove calls from incompatible context

2013-01-28 Thread Gustavo Lopes
On Sun, 20 Jan 2013 20:17:05 +0100, Gustavo Lopes   
wrote:


I've opened the vote for the "remove calls from incompatible context"  
RFC:


https://wiki.php.net/rfc/incompat_ctx#vote



The RFC has been accepted unanimously. I'll implement it shortly. The  
change is trivial for 5.5 (change E_STRICT to E_DEPRECATED); for master,  
it should be fairly straightforward as well.


--
Gustavo Lopes

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] I think that "Function naming inconsistency" bug deservers more attention

2013-01-28 Thread Thomas Bley
> +1 from that, fortunately since it's an extension it won't be subject to a
> vote, you can use it or not. :)  The core seems to be heavily protected by
> the core developers.

As an APC user, I would be also fine with an extension :-)

@pierre Would it be possible to get windows builds from nikita's repo?

Regards,
Thomas


On Mon, Jan 28, 2013 at 1:06 PM, Clint Priest  wrote:
>
> On 1/28/2013 2:09 AM, Christian Stoller wrote:
>>
>> In userland we can only do something like
>> $str = new String('my_string_class');
>> echo $str->length();
>>
>> But that's useless.
>> It would be great if method calls on primitive types could be supported,
>> like in Nikic' proof of concept (https://github.com/nikic/scalar_objects).
>>
>> $str = 'my_string_class';
>> echo $str->length();
>>
>> I would really like to see that in PHP. It's not only a nicer and shorter
>> way to code but it would also be a solution for the function naming
>> inconsistency ;-)
>
>
> +1 from that, fortunately since it's an extension it won't be subject to a
> vote, you can use it or not. :)  The core seems to be heavily protected by
> the core developers.
>
>> Best regards
>> Christian
>>
> --
> -Clint
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Clint Priest


On 1/28/2013 6:12 AM, Peter Cowburn wrote:

On 28 January 2013 12:03, Clint Priest  wrote:

If you're still worried about this making it in, don't worry. Nikita and I
have given up, to the determinant of the community.


Then please close the voting.
Since there is no "maximum voting period" and 5.5 is not in a feature 
freeze yet, I left the voting open, in case some people decided to read 
the patch and change their minds.  I see no reason to close the vote 
unless I'm required to do so or the game is up.


I share Pierre's sentiment that this vote is pretty ridiculous. People 
have been asking for this feature (present in every other modern 
language) for 5+ years.  I spent two years going through the *tedious* 
RFC discussion process, wrote the software, Nikita made it even better 
to have it shot down without even reasonable explanations as to why 
"from most people."


Some people gave good explanations (Sherif Ramadan) even if I don't 
agree with them.  Very few others did and it really leaves us/me with no 
direction to go.  No reason for the rejection ergo no way to "improve 
this, or improve that."


Some are resting on the idea that the ROI isn't there just aren't 
listening to the community.


I'd love nothing more than to have this proposal accepted, and perhaps I 
will give it another go in the future.  I figured at the very least I 
should contribute in other ways to PHP so that I eliminate the "big RFC 
from a new developer" aspect of the situation, which I think ultimately 
was the deciding factor.


-Clint




--
-Clint

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] Voting periods

2013-01-28 Thread Zeev Suraski
> I mean more "no matter if it is or not", but the result is not tie
anyway, accepted
> or not.
>
> I find the way things are being done right now as a bad thing. There is
a time for
> discussions and argumentations, and there is a time for votes. Coming in
with
> things like that does not give me a good feeling. Even if you have a
good point
> about how we should clarify the voting phase duration.
>
> I am not saying that you do that on purpose or not, but this is
something we
> should carefully deal with, and not like we were sitting alone at the
> Bahnhofstation, if you see what I mean :)

Agreed.

I'll wait for your proposed improvements to the voting RFC.

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Pierre Joye
On Mon, Jan 28, 2013 at 2:00 PM, Zeev Suraski  wrote:
>> Zeev, for one, was one of them asking to have a 2/3 majority for any
> language
>> related RFC. That's what applies to this RFC, and it is, as of now,
> accepted. I don't
>> see how the vote is remotely close to a tie.
>
> Are you talking about https://wiki.php.net/rfc/propertygetsetsyntax-v1.2?
>
> There are presently 33 supporteds, 21 opposers.  That's less than 2/3
> (there would have to be 37 supporters vs. 21 opposers for it to be more
> than the needed 2/3).  On Wednesday evening it was even less than that.

I mean more "no matter if it is or not", but the result is not tie
anyway, accepted or not.

I find the way things are being done right now as a bad thing. There
is a time for discussions and argumentations, and there is a time for
votes. Coming in with things like that does not give me a good
feeling. Even if you have a good point about how we should clarify the
voting phase duration.

I am not saying that you do that on purpose or not, but this is
something we should carefully deal with, and not like we were sitting
alone at the Bahnhofstation, if you see what I mean :)

Cheers,
--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] Voting periods

2013-01-28 Thread Zeev Suraski
> -Original Message-
> From: Zeev Suraski [mailto:z...@zend.com]
> Sent: Monday, January 28, 2013 3:00 PM
> To: 'Pierre Joye'; 'Clint Priest'
> Cc: 'PHP internals'
> Subject: RE: [PHP-DEV] Voting periods
>
> > Zeev, for one, was one of them asking to have a 2/3 majority for any
> > language related RFC. That's what applies to this RFC, and it is, as
> > of now, accepted. I don't see how the vote is remotely close to a tie.
>
> Are you talking about
https://wiki.php.net/rfc/propertygetsetsyntax-v1.2?
>
> There are presently 33 supporteds, 21 opposers.  That's less than 2/3
(there
> would have to be 37 supporters vs. 21 opposers for it to be more than
the
> needed 2/3).  On Wednesday evening it was even less than that.

Erm, my ALU didn't wake up today.  There would actually need to be 43
supporters vs. 21 opposers in order for this to be accepted.

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] Voting periods

2013-01-28 Thread Zeev Suraski
> Zeev, for one, was one of them asking to have a 2/3 majority for any
language
> related RFC. That's what applies to this RFC, and it is, as of now,
accepted. I don't
> see how the vote is remotely close to a tie.

Are you talking about https://wiki.php.net/rfc/propertygetsetsyntax-v1.2?

There are presently 33 supporteds, 21 opposers.  That's less than 2/3
(there would have to be 37 supporters vs. 21 opposers for it to be more
than the needed 2/3).  On Wednesday evening it was even less than that.

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Pierre Joye
hi Clint, Zeev,

On Mon, Jan 28, 2013 at 1:03 PM, Clint Priest  wrote:
>
> On 1/28/2013 5:19 AM, Zeev Suraski wrote:
>>
>> I feel that this is what was done in this particular case, not the other
>> way around. That what brought me to bring up that subject here in the first
>> place. This particular RFC was the only RFC where I noticed this weird 'no
>> sooner than' language, and it seemed intentional to me - given the fact it's
>> a very controversial feature opposed by most core devs. If we want to change
>> the default voting period to two weeks, that's fine - but IMHO it should be
>> for future RFCs after it gets approved.
>
>
> Actually, it was not done on purpose but was mimicking what many other RFC
> "vote sections" do, I thought it was the way it was supposed to be done,
> see:
>
> https://wiki.php.net/rfc/incompat_ctx
> https://wiki.php.net/rfc/array_column
>
> If you're still worried about this making it in, don't worry. Nikita and I
> have given up, to the determinant of the community.


This is horribly wrong, totally wrong.

Zeev, for one, was one of them asking to have a 2/3 majority for any
language related RFC. That's what applies to this RFC, and it is, as
of now, accepted. I don't see how the vote is remotely close to a tie.
There is something very bad going on right now. I'd to think how to
solve that as it is the worst thing that can happen to our project,
accepted RFCs being "rejected" because of the pressure.

Cheers,
--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Sebastian Bergmann
Am 28.01.2013 12:19, schrieb Zeev Suraski:
> OK, please put a one week as an option too.  To put things in perspective,
> elections that effect the fate of billions of people typically end in
> 24hrs.

 But they sometimes require weeks of analysing punch cards ;-)

-- 
Sebastian BergmannCo-Founder and Principal Consultant
http://sebastian-bergmann.de/   http://thePHP.cc/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Peter Cowburn
On 28 January 2013 12:03, Clint Priest  wrote:
>
> If you're still worried about this making it in, don't worry. Nikita and I
> have given up, to the determinant of the community.
>

Then please close the voting.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] I think that "Function naming inconsistency" bug deservers more attention

2013-01-28 Thread Clint Priest


On 1/28/2013 2:09 AM, Christian Stoller wrote:

In userland we can only do something like
$str = new String('my_string_class');
echo $str->length();

But that's useless.
It would be great if method calls on primitive types could be supported, like 
in Nikic' proof of concept (https://github.com/nikic/scalar_objects).

$str = 'my_string_class';
echo $str->length();

I would really like to see that in PHP. It's not only a nicer and shorter way 
to code but it would also be a solution for the function naming inconsistency 
;-)


+1 from that, fortunately since it's an extension it won't be subject to 
a vote, you can use it or not. :)  The core seems to be heavily 
protected by the core developers.



Best regards
Christian


--
-Clint

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Clint Priest


On 1/28/2013 5:19 AM, Zeev Suraski wrote:
I feel that this is what was done in this particular case, not the 
other way around. That what brought me to bring up that subject here 
in the first place. This particular RFC was the only RFC where I 
noticed this weird 'no sooner than' language, and it seemed 
intentional to me - given the fact it's a very controversial feature 
opposed by most core devs. If we want to change the default voting 
period to two weeks, that's fine - but IMHO it should be for future 
RFCs after it gets approved.


Actually, it was not done on purpose but was mimicking what many other 
RFC "vote sections" do, I thought it was the way it was supposed to be 
done, see:


https://wiki.php.net/rfc/incompat_ctx
https://wiki.php.net/rfc/array_column

If you're still worried about this making it in, don't worry. Nikita and 
I have given up, to the determinant of the community.


-Clint

Zeev 


--
-Clint

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Pierre Joye
On Mon, Jan 28, 2013 at 12:19 PM, Zeev Suraski  wrote:

>> I will add a vote on that in the voting RFC, as un update, so we will a
> clear(er)
>> position for the next RFCs.
>
> OK, please put a one week as an option too.  To put things in perspective,
> elections that effect the fate of billions of people typically end in
> 24hrs.

Yes, I was thinking about having 1, 2 or 3 weeks as options, or just 1
or 2, 3 looks long to me :)

--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] Voting periods

2013-01-28 Thread Zeev Suraski
> -Original Message-
> From: Pierre Joye [mailto:pierre@gmail.com]
> Sent: Monday, January 28, 2013 1:07 PM
> To: Zeev Suraski
> Cc: PHP internals
> Subject: Re: [PHP-DEV] Voting periods
>
> hi,
>
> On Mon, Jan 28, 2013 at 11:57 AM, Zeev Suraski  wrote:
> >> > My suggestion is for voting periods to be limited to one week,
> >> > regardless of the topic.  It should be more than enough.
> >> > Regardless,
> > an 'open
> >> ended'
> >> > voting period is unacceptable IMHO.
> >>
> >> You were one of the person who requested to have at least two weeks,
> >> so nobody can miss a vote due to various reasons (on the road, off
> >> time, or whatever else). I'd to keep two weeks.
> >
> > Well the way it is right now it's a 'one week by default', unless
> > there are reasons to extend it, which IIRC was the compromise.  I find
> > it difficult to believe that had this particular RFC been in an
'accepted'
> > position back on Wednesday the 23rd, the vote wouldn't have
> > immediately closed...
>
> I find somehow disturbing that you raised that for the RFC you don't
like, that
> has to be said :)

That's fair, but it's the only one of 6 open RFCs right now that has an
intentional open-ended ending date.

> You also, if I am not mistaken, changed your vote during the
> week.

I was never in favor of this feature, in all of its different
incarnations.  I did not change my vote.

> That's all good, but changing rules to get the results we wish is not
going
> to happen.

I feel that this is what was done in this particular case, not the other
way around.  That what brought me to bring up that subject here in the
first place.  This particular RFC was the only RFC where I noticed this
weird 'no sooner than' language, and it seemed intentional to me - given
the fact it's a very controversial feature opposed by most core devs.

If we want to change the default voting period to two weeks, that's fine -
but IMHO it should be for future RFCs after it gets approved.

> > In my opinion - based on our actual experience now as opposed to
> > theoretical predictions which we had back then - one week should be
> > enough as the default.  But I'm fine going with two weeks.  I guess
> > we'll vote on that too :)  It's more important to have a definite end
> > date than whether it's one week or two weeks.
>
> One week is too short, I'd to go with two weeks minumum, end date must
be set
> when a vote begins, to avoid any confusions.
>
> I will add a vote on that in the voting RFC, as un update, so we will a
clear(er)
> position for the next RFCs.

OK, please put a one week as an option too.  To put things in perspective,
elections that effect the fate of billions of people typically end in
24hrs.

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Pierre Joye
hi,

On Mon, Jan 28, 2013 at 11:57 AM, Zeev Suraski  wrote:
>> > My suggestion is for voting periods to be limited to one week,
>> > regardless of the topic.  It should be more than enough.  Regardless,
> an 'open
>> ended'
>> > voting period is unacceptable IMHO.
>>
>> You were one of the person who requested to have at least two weeks, so
>> nobody can miss a vote due to various reasons (on the road, off time, or
>> whatever else). I'd to keep two weeks.
>
> Well the way it is right now it's a 'one week by default', unless there
> are reasons to extend it, which IIRC was the compromise.  I find it
> difficult to believe that had this particular RFC been in an 'accepted'
> position back on Wednesday the 23rd, the vote wouldn't have immediately
> closed...

I find somehow disturbing that you raised that for the RFC you don't
like, that has to be said :) You also, if I am not mistaken, changed
your vote during the week. That's all good, but changing rules to get
the results we wish is not going to happen.

> In my opinion - based on our actual experience now as opposed to
> theoretical predictions which we had back then - one week should be enough
> as the default.  But I'm fine going with two weeks.  I guess we'll vote on
> that too :)  It's more important to have a definite end date than whether
> it's one week or two weeks.

One week is too short, I'd to go with two weeks minumum, end date must
be set when a vote begins, to avoid any confusions.

I will add a vote on that in the voting RFC, as un update, so we will
a clear(er) position for the next RFCs.

Cheers,
--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] Voting periods

2013-01-28 Thread Zeev Suraski
> > My suggestion is for voting periods to be limited to one week,
> > regardless of the topic.  It should be more than enough.  Regardless,
an 'open
> ended'
> > voting period is unacceptable IMHO.
>
> You were one of the person who requested to have at least two weeks, so
> nobody can miss a vote due to various reasons (on the road, off time, or
> whatever else). I'd to keep two weeks.

Well the way it is right now it's a 'one week by default', unless there
are reasons to extend it, which IIRC was the compromise.  I find it
difficult to believe that had this particular RFC been in an 'accepted'
position back on Wednesday the 23rd, the vote wouldn't have immediately
closed...

In my opinion - based on our actual experience now as opposed to
theoretical predictions which we had back then - one week should be enough
as the default.  But I'm fine going with two weeks.  I guess we'll vote on
that too :)  It's more important to have a definite end date than whether
it's one week or two weeks.

Zeev

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Florian Anderiasch
On 01/28/2013 10:22 AM, Zeev Suraski wrote:

> My suggestion is for voting periods to be limited to one week, regardless
> of the topic.  It should be more than enough.  Regardless, an ‘open ended’
> voting period is unacceptable IMHO.

Whatever the voting period is, IMHO the most important thing would be to
have the person opening the vote set a mandatory voting end date in the
announcement + RFC itself, no matter how long it will be (to be
discussed seperately)

Greetings,
Florian

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Re: Voting periods

2013-01-28 Thread Bruno CHALOPIN
Hi,

Le Mon, 28 Jan 2013 11:22:52 +0200, Zeev Suraski a écrit :

> Regardless, an
> ‘open ended’
> voting period is unacceptable IMHO.

I agree with that. An update of the voting rfc (https://wiki.php.net/rfc/
voting) should be made.

However one week only seems a little shorter in my opinion to validate 
changes that "will affect millions of people". There's times in the year 
when we are most AFK (summer vacations, christmas, etc...) and as you 
point that there can be "a specific point in time where the vote happens 
to be in favor with what the proposer wanted", there also can have a 
specific period in the year to make a rfc pass easier due to the lack of 
voters (perhaps my mind is twisted but i've already seen this trick in 
politics so... ;-).

I'm not sure how long we should make the vote duration but i think that, 
like the discussion period, there shoud be a minimum 2 weeks between the 
vote opening and it's closing.

My 2 cents,

regards,

Bruno

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Voting periods

2013-01-28 Thread Pierre Joye
hi,

On Mon, Jan 28, 2013 at 10:22 AM, Zeev Suraski  wrote:
> Hi,
>
>
>
> There’s something that I’m not quite following regarding open votes.
>
> Why are we saying that ‘votes will end no sooner than X’, instead of
> actually saying when they *will* end?
>
>
>
> If there’s no clear end date for a vote, when do we declare than a vote is
> over?  Is it in a specific point in time where the vote happens to be in
> favor with what the proposer wanted?

Itt was more defined as a "minimum voting period".

> The specific case in point is
> https://wiki.php.net/rfc/propertygetsetsyntax-v1.2 - which while has more
> supporters than opposers, consistent fell short of the 2/3 majority it
> needs to be approved.  The vote should have ended on Wednesday – 4 days
> ago, but for some reason it’s still open.  It’s time to close it.
>
>
>
> My suggestion is for voting periods to be limited to one week, regardless
> of the topic.  It should be more than enough.  Regardless, an ‘open ended’
> voting period is unacceptable IMHO.

You were one of the person who requested to have at least two weeks,
so nobody can miss a vote due to various reasons (on the road, off
time, or whatever else). I'd to keep two weeks.

Cheers,
--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Patch: Specify temp directory

2013-01-28 Thread ALeX Kazik
Hi,

>> Wouldn't it make more sense to have the ini consistent with the
>> function name, sys_temp_dir?
>
> Yes, I think it would. Alex, could you change it?

You're right. It's changed.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Voting periods

2013-01-28 Thread Zeev Suraski
Hi,



There’s something that I’m not quite following regarding open votes.

Why are we saying that ‘votes will end no sooner than X’, instead of
actually saying when they *will* end?



If there’s no clear end date for a vote, when do we declare than a vote is
over?  Is it in a specific point in time where the vote happens to be in
favor with what the proposer wanted?



The specific case in point is
https://wiki.php.net/rfc/propertygetsetsyntax-v1.2 - which while has more
supporters than opposers, consistent fell short of the 2/3 majority it
needs to be approved.  The vote should have ended on Wednesday – 4 days
ago, but for some reason it’s still open.  It’s time to close it.



My suggestion is for voting periods to be limited to one week, regardless
of the topic.  It should be more than enough.  Regardless, an ‘open ended’
voting period is unacceptable IMHO.



Zeev


RE: [PHP-DEV] I think that "Function naming inconsistency" bug deservers more attention

2013-01-28 Thread Christian Stoller
> You can write String class all by yourself, put it on github and once 
> virtually
> everybody is using it, we'd gladly discuss including it as a standard 
> extension.

In userland we can only do something like
$str = new String('my_string_class');
echo $str->length();

But that's useless.
It would be great if method calls on primitive types could be supported, like 
in Nikic' proof of concept (https://github.com/nikic/scalar_objects).

$str = 'my_string_class';
echo $str->length();

I would really like to see that in PHP. It's not only a nicer and shorter way 
to code but it would also be a solution for the function naming inconsistency 
;-)

Best regards
Christian



-Original Message-
From: Stas Malyshev [mailto:smalys...@sugarcrm.com] 
Sent: Saturday, January 26, 2013 7:39 PM
To: Thomas Bley
Cc: internals@lists.php.net; Rasmus Lerdorf
Subject: Re: [PHP-DEV] I think that "Function naming inconsistency" bug 
deservers more attention

Hi!

> So function aliases, new open tag and deprecation are bad. What about
> the String class?

Design it, write it and we'll see how it works. It's not like the
process should *start* with including it in PHP core. You can write
String class all by yourself, put it on github and once virtually
everybody is using it, we'd gladly discuss including it as a standard
extension.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php