source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/highlighting/php-hl.xml@ c158fe6

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since c158fe6 was b1a51ac1, checked in by Krejzi <krejzi@…>, 11 years ago

Import new branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4Syntax highlighting definition for PHP
5
6xslthl - XSLT Syntax Highlighting
7http://sourceforge.net/projects/xslthl/
8Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks
9
10This software is provided 'as-is', without any express or implied
11warranty. In no event will the authors be held liable for any damages
12arising from the use of this software.
13
14Permission is granted to anyone to use this software for any purpose,
15including commercial applications, and to alter it and redistribute it
16freely, subject to the following restrictions:
17
181. The origin of this software must not be misrepresented; you must not
19 claim that you wrote the original software. If you use this software
20 in a product, an acknowledgment in the product documentation would be
21 appreciated but is not required.
222. Altered source versions must be plainly marked as such, and must not be
23 misrepresented as being the original software.
243. This notice may not be removed or altered from any source distribution.
25
26Michal Molhanec <mol1111 at users.sourceforge.net>
27Jirka Kosek <kosek at users.sourceforge.net>
28Michiel Hendriks <elmuerte at users.sourceforge.net>
29
30-->
31<highlighters>
32 <highlighter type="multiline-comment">
33 <start>/**</start>
34 <end>*/</end>
35 <style>doccomment</style>
36 </highlighter>
37 <highlighter type="oneline-comment">
38 <start><![CDATA[/// ]]></start>
39 <style>doccomment</style>
40 </highlighter>
41 <highlighter type="multiline-comment">
42 <start>/*</start>
43 <end>*/</end>
44 </highlighter>
45 <highlighter type="oneline-comment">//</highlighter>
46 <highlighter type="oneline-comment">#</highlighter>
47 <highlighter type="string">
48 <string>"</string>
49 <escape>\</escape>
50 <spanNewLines />
51 </highlighter>
52 <highlighter type="string">
53 <string>'</string>
54 <escape>\</escape>
55 <spanNewLines />
56 </highlighter>
57 <highlighter type="heredoc">
58 <start>&lt;&lt;&lt;</start>
59 </highlighter>
60 <highlighter type="hexnumber">
61 <prefix>0x</prefix>
62 <ignoreCase />
63 </highlighter>
64 <highlighter type="number">
65 <point>.</point>
66 <exponent>e</exponent>
67 <ignoreCase />
68 </highlighter>
69 <highlighter type="keywords">
70 <keyword>and</keyword>
71 <keyword>or</keyword>
72 <keyword>xor</keyword>
73 <keyword>__FILE__</keyword>
74 <keyword>exception</keyword>
75 <keyword>__LINE__</keyword>
76 <keyword>array</keyword>
77 <keyword>as</keyword>
78 <keyword>break</keyword>
79 <keyword>case</keyword>
80 <keyword>class</keyword>
81 <keyword>const</keyword>
82 <keyword>continue</keyword>
83 <keyword>declare</keyword>
84 <keyword>default</keyword>
85 <keyword>die</keyword>
86 <keyword>do</keyword>
87 <keyword>echo</keyword>
88 <keyword>else</keyword>
89 <keyword>elseif</keyword>
90 <keyword>empty</keyword>
91 <keyword>enddeclare</keyword>
92 <keyword>endfor</keyword>
93 <keyword>endforeach</keyword>
94 <keyword>endif</keyword>
95 <keyword>endswitch</keyword>
96 <keyword>endwhile</keyword>
97 <keyword>eval</keyword>
98 <keyword>exit</keyword>
99 <keyword>extends</keyword>
100 <keyword>for</keyword>
101 <keyword>foreach</keyword>
102 <keyword>function</keyword>
103 <keyword>global</keyword>
104 <keyword>if</keyword>
105 <keyword>include</keyword>
106 <keyword>include_once</keyword>
107 <keyword>isset</keyword>
108 <keyword>list</keyword>
109 <keyword>new</keyword>
110 <keyword>print</keyword>
111 <keyword>require</keyword>
112 <keyword>require_once</keyword>
113 <keyword>return</keyword>
114 <keyword>static</keyword>
115 <keyword>switch</keyword>
116 <keyword>unset</keyword>
117 <keyword>use</keyword>
118 <keyword>var</keyword>
119 <keyword>while</keyword>
120 <keyword>__FUNCTION__</keyword>
121 <keyword>__CLASS__</keyword>
122 <keyword>__METHOD__</keyword>
123 <keyword>final</keyword>
124 <keyword>php_user_filter</keyword>
125 <keyword>interface</keyword>
126 <keyword>implements</keyword>
127 <keyword>extends</keyword>
128 <keyword>public</keyword>
129 <keyword>private</keyword>
130 <keyword>protected</keyword>
131 <keyword>abstract</keyword>
132 <keyword>clone</keyword>
133 <keyword>try</keyword>
134 <keyword>catch</keyword>
135 <keyword>throw</keyword>
136 <keyword>cfunction</keyword>
137 <keyword>old_function</keyword>
138 <keyword>true</keyword>
139 <keyword>false</keyword>
140 <!-- PHP 5.3 -->
141 <keyword>namespace</keyword>
142 <keyword>__NAMESPACE__</keyword>
143 <keyword>goto</keyword>
144 <keyword>__DIR__</keyword>
145 <ignoreCase />
146 </highlighter>
147 <highlighter type="word">
148 <!-- highlight the php open and close tags as directives -->
149 <word>?&gt;</word>
150 <word>&lt;?php</word>
151 <word>&lt;?=</word>
152 <style>directive</style>
153 </highlighter>
154</highlighters>
Note: See TracBrowser for help on using the repository browser.