Dear The PHP Group
I'm thinking of contributing to PHP within my working hours.
Is there any CLA document?
My company has some legal check processes before contribution.
The legal department cares of "who has the copyright of contributed codes".
I suppose The PHP Group has the copyright, is it correct?
I've read the following documents, but I'm not sure about it.
Thanks for wanting to contribute, and I'm glad to hear your company is
interested in letting you contributing during working hours.
First off, a disclaimer: I am not a lawyer, and this is not legal advice.
PHP does not have a CLA. When you contribute code to any open source
project, unless you sign a CLA or other document that specifies
assignment of copyright, all copyright on the code contributed (if it is
copyrightable) remains with the contributor. Depending on the laws in
your country, since you're performing the work during work hours, this
may mean that your company owns the copyright. While the contributor
owns the copyright on their contributions, they are implicitly granting
the project (and users of the project) use of their code under the same
terms as the main license on the project (unless otherwise stated).
I mentioned "if it is copyrightable" because very small changes (i.e.,
typo fixes and other insignificant, minor changes) may not be copyrightable.