Rev 74 | Rev 92 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 74 | Rev 82 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | // TODO: show full signature of each element? |
3 | // TODO: show full signature of each element? |
4 | 4 | ||
5 | error_reporting(0); |
5 | error_reporting(0); |
6 | 6 | ||
Line 243... | Line 243... | ||
243 | if (substr($x, 0, 2) == '/*') return trim(substr($x, 2, strlen($x)-4)); |
243 | if (substr($x, 0, 2) == '/*') return trim(substr($x, 2, strlen($x)-4)); |
244 | return $x; |
244 | return $x; |
245 | } |
245 | } |
246 | 246 | ||
247 | 247 | ||
248 | private static final function array_peek($array) { |
248 | private static /*final*/ function array_peek($array) { |
249 | if (!isset($array[count($array)-1])) return null; |
249 | if (!isset($array[count($array)-1])) return null; |
250 | return $array[count($array)-1]; |
250 | return $array[count($array)-1]; |
251 | } |
251 | } |
252 | } |
252 | } |
253 | 253 |