On 1/2/11 5:14 PM, Enrico Weigelt wrote:
> * Stas Malyshev <smalys...@sugarcrm.com> wrote:
>> Hi!
>>
>>> IIRC many deprecation warnings, which totally broke the output.
>>
>> Err, you actually output the warnings in your output? In production?! 
> 
> Something seem to turn them on magically, no idea what it was.
> (perhaps the config variable name changed ? ;-o)
> 
>>> I, personally, have no time to test prereleases of dozens of
>>> packages (php is just one of dozens I'm using, not in the list
>>
>> Of course, nobody personally has any time. But PHP is a volunteer 
>> project, so if nobody has the time, nobody should complain about "php 
>> developers not caring". PHP developers are caring, but it's not humanly 
>> possible for them to foresee everything, that's why testing exists.
> 
> True. But at least we could use an development process that requires
> less testing (or automates much of it). Perhaps starting with clear
> specifications which it gets tested against.
> 
> If it was some commercial project and I was the chief architect,
> I'd require my people to first have a well-thought specification
> before starting actually implementing anything new.
> 
> I know, it's a big beaurocracy which doesn't make as much fun as
> coding, but at some point it gets necessary for stability and
> reliability.
> 
>>> IMHO there's a fundamental flaw in the development process:
>>> existing semantics in a stable line should _never_ change.
>>
>> Deprecating a function is a very minor change and doesn't change the 
>> semantics.
> 
> The fact that those warnings suddenly appeared in the output *is*
> a semantic change. I still wonder why went to stdout instead of
> syslog in the first place.
> 
>> It's a warning that semantics is going to be changed - and if 
>> it took a major version to deprecate every single thing, we'd be now 
>> somewhere at PHP 318.0. I don't think that's what you mean by stability.
> 
> Why such kind of deprecations at all ?
> Why dont such things become optional (buildtime) features that are
> enabled by default (unless some --disable-deprecated-foo given) ?

Nope, we really didn't change anything.  The simple explanation is that
you installed without or with a different php.ini from the previous
version.  If you go back and use your current php.ini config with the
version of PHP you were upgrading from you will see exactly the same
output.  Like I said, no defaults changed, no warnings were added, nor
removed.

-Rasmus

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

Reply via email to