www.php.net should have their license agreement post which should give you some insite on use. For any properitary stuff in which you develop, i'd recommend checking with a lawyer on the matter to make sure you're not violating any copyrights, patents, etc....