Example 2 php. It is possible to refer to existing. It is possible to configure PHP to scan for. This can be done at compile time by setting the --with-config-file-scan-dir option. Within each directory, PHP will scan all files ending in.
Submit a Pull Request Report a Bug. Step 1. Create a script to display your PHP information. Just one single line. Save the file and call it phpinfo. In the phpinfo. Example 4 Value Interpolation. In addition to evaluating constants, certain characters have special meaning in an ini value. Example 5 Escaping Characters. Some characters have special meaning in double-quoted strings and must be escaped by the backslash prefix.
There is an exception made for Windows-like paths: it's possible to not escape trailing backslash if the quoted string is directly followed by a linebreak:. If one does need to escape double quote followed by linebreak in a multiline value, it's possible to use value concatenation in the following way there is one double-quoted string directly followed by another one :.
It must be escaped if followed by the open curly brace:. Note : This function has nothing to do with the php. It is already processed by the time you run your script. This function can be used to read in your own application's configuration files. Note : If a value in the ini file contains any non-alphanumeric characters it needs to be enclosed in double-quotes ". Note : There are reserved words which must not be used as keys for ini files.
Live Chat. Contact Support. Download Default php. Download default php. We use cookies to personalize our website for you and to analyze our website traffic. You consent to this by clicking on "I consent" or by continuing to utilize our website.
Further information about our cookie policies can be found in our Privacy Policy.
0コメント