update actions/github-script from v5 to v7
[m6w6/m6w6.github.io] / _posts / 2005-11-16-submitting-patch-for-php.md
1 ---
2 title: Submitting a patch for PHP
3 author: m6w6
4 tags:
5 - PHP
6 ---
7
8 If you once have that odd feeling that something in PHP is missing and you're
9 brave enough to write something up (a patch) that would change that situation
10 in your eyes, don't expect such a submission will make it into old branches.
11
12 Questions to include new features in PHP-4 or PHP-5.0 will most probably be
13 declined (for a good reason), so the chance that the invested time is wasted
14 time is rather high.
15
16 If you still feel confident about your addition, write the patch against the
17 CVS HEAD or at least 5.1 branch, but for PHP-5.1 which is
18 [around the corner](../../2005-11-13/php-51-around-the-corner/)
19 the probability for acceptance of new features has decreased a lot (or rather
20 completely).
21
22 On the other hand, if your patch is trying to fix a
23 [bug](http://bugs.php.net), don't hesitate to provide a patch for **every
24 single** CVS branch ;)
25