<?php
function
otherOperators
($code) {switch
($code) {case
'>'
:
case
'<'
:
$return ='<code class="comparison operator">'
.htmlspecialchars
($code) .'</code>'
;break
;case
'+'
:
case
'-'
:
case
'*'
:
case
'/'
:
case
'%'
:
$return ='<code class="arithmetic operator">'
.htmlspecialchars
($code) .'</code>'
;break
;case
'='
:
$return ='<code class="assignment operator">'
. $code .'</code>'
;break
;case
'@'
:
$return ='<code class="error-control operator">'
. $code .'</code>'
;break
;default
:
$return =htmlspecialchars
($code); }return
$return; }?>
Quite inaccessible in non-CSS browsers ;]