php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #14613 Implement Function/Feature Conformity Tests
Submitted: 2001-12-20 02:14 UTC Modified: 2011-02-22 21:26 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: zak@php.net Assigned: zak (profile)
Status: Not a bug Package: *General Issues
PHP Version: * OS: *
Private report: No CVE-ID: None
 [2001-12-20 02:14 UTC] zak@php.net
I strongly believe that PHP needs to continue evolving and 
improving. However, I also recognise the importance of 
maintaining backwards compatibility.

To help balance these two conflicting desires, I have been 
kicking around the idea of implementing a set of tests to 
help determine when the behavior of a function changes.

The basic idea is to run the tests against the various 
version of PHP, compare the output and flag when 
differences crop up. Users would be able to run these 
tests using a make target. The data from these tests could 
be used by a utility program that walks a directory 
structure, reading php files and looking for 
functions/features that have changed behavior.

I would like to call these 'Lemosian Conformity Tests' in 
honor of Manuel's consistent and vociferous work on 
preserving BC. :) While I don't like his approach, I agree 
that it is a valid concern. Personally, rather than being 
chained to BC, I would rather that we actively work to 
help users deal with changes more effectively.

Additionally, these changes would help developers and the 
QA team spot unintentional changes to function behavior.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-20 02:14 UTC] zak@php.net
Assigning it to myself so that I don't forget. Now I just 
have to get to the other bug reports that are assigned to 
me. :)

 [2010-12-29 11:58 UTC] jani@php.net
-Status: Open +Status: Assigned -Package: Feature/Change Request +Package: *General Issues -Operating System: +Operating System: * -PHP Version: 4.1.0 +PHP Version: *
 [2010-12-29 11:58 UTC] jani@php.net
Ancient issue, will not close for now. Zak can do it himself..
 [2011-02-22 21:26 UTC] zak@php.net
-Status: Assigned +Status: Bogus
 [2011-02-22 21:26 UTC] zak@php.net
Wow. Nearly ten years old. o.O

I have no idea if this is currently relevant.  If so, some brave soul should re-open the issue.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 08 21:01:28 2024 UTC