Recently I rewrote a very small PHP program (~300 lines) under the GNU General Public License into an equivalent C# program and it made me curious where the new program I wrote stands legally. Is the C# code I have written still under the GNU General Public License since it was converted from the PHP program?
The new code I have written is a direct - almost line by line - translation of the PHP program into C#. After the translation I added a few additional features to it I needed that were not in the original PHP version.
To be perfectly clear, this is mostly asked out of simple curiosity. Regardless of the answer, I am at the very least planning on giving credit to the author of the PHP program and providing a link back to his code.