return true if the given line is a include line, returns false otherwise the fielname and path of the include are written into $include if it is given */
($line, &$include)
| 83 | the fielname and path of the include are written into $include if it is given |
| 84 | */ |
| 85 | function isIncludeLine($line, &$include) { |
| 86 | if(preg_match('/^#[ \t]*include[ \t]*<(.*)>/', ltrim($line), $parts)) |
| 87 | { |
| 88 | $include = $parts[1]; |
| 89 | return true; |
| 90 | } |
| 91 | return false; |
| 92 | } |
| 93 | |
| 94 | function isAlpha($char) { |
| 95 | $c = ord($char); |