| 1 |
<!DOCTYPE html> |
| 2 |
<html><head> |
| 3 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| 4 |
<title>test.ini</title> |
| 5 |
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (INI Files) - Theme (Breeze Light)"/> |
| 6 |
</head><body style="background-color:#ffffff;color:#1f1c1b"><pre> |
| 7 |
<span style="color:#898887;">; comment</span> |
| 8 |
<span style="color:#898887;">; comment with </span><span style="color:#81ca2d;background-color:#f7e6e6;font-weight:bold;">###</span><span style="color:#898887;"> alerts</span> |
| 9 |
<span style="color:#898887;"># alternative comments</span> |
| 10 |
|
| 11 |
<span style="font-weight:bold;">[Empty section]</span> |
| 12 |
|
| 13 |
<span style="font-weight:bold;">[Section 2]</span> |
| 14 |
<span style="color:#0057ae;">Key1</span><span style="color:#006e28;">=</span><span style="color:#bf0303;">String Value</span> |
| 15 |
<span style="color:#0057ae;">Key2</span><span style="color:#006e28;">=</span><span style="color:#b08000;">42</span> |
| 16 |
<span style="color:#0057ae;">Key3</span><span style="color:#006e28;">=</span><span style="color:#b08000;">3.14</span> |
| 17 |
<span style="color:#0057ae;">Key4</span><span style="color:#006e28;">=</span><span style="color:#b08000;">-42</span> |
| 18 |
<span style="color:#0057ae;">Key5</span><span style="color:#006e28;">=</span><span style="color:#bf0303;">128.0.0.1</span> |
| 19 |
<span style="color:#0057ae;">Key\SubKey</span><span style="color:#006e28;">=</span><span style="font-weight:bold;">True</span> |
| 20 |
|
| 21 |
<span style="font-weight:bold;">[Section 3]</span> |
| 22 |
<span style="color:#898887;">; = in values are fine</span> |
| 23 |
<span style="color:#898887;">; inline comments are not supported, ;/# are part of the value</span> |
| 24 |
<span style="color:#0057ae;">key4 </span><span style="color:#006e28;">=</span><span style="color:#bf0303;"> foo = True; bar = False</span> |
| 25 |
<span style="color:#0057ae;">key4b </span><span style="color:#006e28;">=</span><span style="color:#bf0303;"> abcd#1234!</span> |
| 26 |
<span style="color:#0057ae;">key5/subkey </span><span style="color:#006e28;">=</span><span style="color:#bf0303;"> "foo\nbar 123.123 123456"</span> |
| 27 |
|
| 28 |
<span style="font-weight:bold;">[php]</span> |
| 29 |
<span style="color:#0057ae;">error_reporting</span><span style="color:#006e28;">=</span><span style="color:#bf0303;">~</span><span style="font-weight:bold;">E_NOTICE</span> |
| 30 |
<span style="color:#0057ae;">error_reporting</span><span style="color:#006e28;">=</span><span style="font-weight:bold;">E_ALL</span><span style="color:#bf0303;"> | </span><span style="font-weight:bold;">E_STRICT</span> |
| 31 |
</pre></body></html> |