@@ -24,6 +24,7 @@ had several contributions accepted, commit privileges are often quickly granted.
24
24
* [ What happens after submitting contribution?] ( #what-happens-after-submitting-contribution )
25
25
* [ What happens when your contribution is applied?] ( #what-happens-when-your-contribution-is-applied )
26
26
* [ Git commit rules] ( #git-commit-rules )
27
+ * [ Copyright and license headers] ( #copyright-and-license-headers )
27
28
28
29
## Pull requests
29
30
@@ -394,4 +395,28 @@ decreasing order under the fixed version.
394
395
You can use [ gitweb] ( https://git.php.net/ ) to look at PHP Git repository in
395
396
various ways.
396
397
398
+ ## Copyright and license headers
399
+
400
+ New source code files should include the following header block:
401
+
402
+ ``` c
403
+ /*
404
+ +----------------------------------------------------------------------+
405
+ | PHP Version 7 |
406
+ +----------------------------------------------------------------------+
407
+ | Copyright (c) The PHP Group |
408
+ +----------------------------------------------------------------------+
409
+ | This source file is subject to version 3.01 of the PHP license, |
410
+ | that is bundled with this package in the file LICENSE, and is |
411
+ | available through the world-wide-web at the following url: |
412
+ | https://www.php.net/license/3_01.txt |
413
+ | If you did not receive a copy of the PHP license and are unable to |
414
+ | obtain it through the world-wide-web, please send a note to |
415
+ | license@php.net so we can mail you a copy immediately. |
416
+ +----------------------------------------------------------------------+
417
+ | Author: |
418
+ +----------------------------------------------------------------------+
419
+ */
420
+ ```
421
+
397
422
Thank you for contributing to PHP!
0 commit comments