Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: content of /usr/include/*.php files Date: Mon, 14 Dec 2020 13:37:34 +0100 Lines: 30 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net NH1ZrsQqLPzmCXBImY/hVQbFQ9hSaaXGDzrODa707u+xhfgFH8 Cancel-Lock: sha1:g7y1ptrpUfdKvm6hl/Vft6L29yE= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 In-Reply-To: Content-Language: en-US-large Xref: csiph.com comp.lang.php:18461 On 14/12/2020 10.44, alex wrote: > The files contained in these directories, in turn, what should they > contain? > /usr/include c/c++ header files only for libraries that you have installed on your system. > ~/include Up to you, avoid to store headers and stuff here as you will complicate your project and may break it from working on other systems. > /include headers files that are part of your project., for example *.h / .hpp some php projects uses this for a location of files with functionality used in many parts of the project and default values as constants, classes that works as data containers. In many PHP projects this is called libs instead, as PHP do not really use headers like c/c++. -- //Aho