|
List Info
Thread: Ident && Match Brackets
|
|
| Ident && Match Brackets |
  Germany |
2007-08-10 02:56:45 |
|
| Hello guys,
in the following example I
found three problems:
- After the
PHPDoc Tag the ident move all followed line one space to the right
site.
- In a
nested switch/case, after the 2. switch block, the ident move all followed lines
too much to the right site.
- The PDT
function Matchbracket found the '}' in the comment line. So the end bracket of
the function will not be found.
Axel
==========================================
<?php
/** *
InfoText * */
function
fctPrintHello(){
switch($a){ case
'A':
switch($b){
case
'B':
print
$b;
break;
}
default:
print $a; }
print
"Hello"; // if(true)
// // }
}
?>
========================================== |
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|