Lines Matching refs:that
3 This file lists standards that any programmer adding or changing code in
5 features are going in that general direction. Many sections have been
12 2. Functions that are given pointers to resources should not free them.
19 * The function's designated behavior is freeing that resource. E.g.
22 * The function is given a boolean argument, that controls whether or not the
26 * Low-level parser routines, that are tightly integrated with the token
29 3. Functions that are tightly integrated with other functions within the same
33 4. Use definitions and macros whenever possible, so that constants have
38 5. When writing functions that deal with strings, be sure to remember that PHP
39 holds the length property of each string, and that it shouldn't be
40 calculated with `strlen()`. Write your functions in such a way so that
42 order for them to be binary-safe. Functions that change strings and obtain
43 their new lengths while doing so, should return that new length, so it
59 9. Do not define functions that are not available. For instance, if a library is
66 that ensures the deallocation of any unfreed memory at the end of a request.
109 2. If they are part of a "parent set" of functions, that parent should be
133 letters, that describes the function. If applicable, they should be declared
145 count. The initial letter of the name is lowercase, and each letter that
206 1. Functions that are part of the external API should be named
224 3. Header file that is used by other sources must be named `php_modulename.h`.
231 C code, you have to ensure that your code would compile with other compilers
232 as well. The only exception to this rule is code that is Win32-specific,
238 that goes into the core of PHP or one of its standard modules, please
261 spaces. It is important to maintain consistency in indentation so that
276 of a new set of functions, it has been suggested that the first implementation
277 include a file labeled `EXPERIMENTAL` in the function directory, and that the
295 reference, user-functions with completely different names, that alias to the