cvs: phpdoc /scripts/quickref processafter.php
| From: | Gabor Hojtsy | Date: | Sun, 25 Jan 2004 10:36:52 +0000 |
| Subject: | cvs: phpdoc /scripts/quickref processafter.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969358442@lists.php.net to get a copy of this message | ||
goba Sun Jan 25 05:36:52 2004 EDT
Modified files:
/phpdoc/scripts/quickref processafter.php
Log:
some wrapping so we can have better diffs
http://cvs.php.net/diff.php/phpdoc/scripts/quickref/processafter.php?r1=1.8&r2=1.9&ty=u
Index: phpdoc/scripts/quickref/processafter.php
diff -u phpdoc/scripts/quickref/processafter.php:1.8 phpdoc/scripts/quickref/processafter.php:1.9
--- phpdoc/scripts/quickref/processafter.php:1.8 Sun Jan 25 05:33:11 2004
+++ phpdoc/scripts/quickref/processafter.php Sun Jan 25 05:36:52 2004
@@ -16,20 +16,33 @@
| Authors: Mitja Slenc <mitja@php.net> |
+----------------------------------------------------------------------+
- $Id: processafter.php,v 1.8 2004/01/25 10:33:11 goba Exp $
+ $Id: processafter.php,v 1.9 2004/01/25 10:36:52 goba Exp $
*/
-$lines=file("originalafter.js");
+$lines = file("originalafter.js");
foreach($lines as $key => $line) {
- $lines[$key]=array_shift(explode("//", trim($line)));
+ $lines[$key] = array_shift(explode("//", trim($line)));
}
-$leave=array("cpd", "dcp", "for", "document",
"forms", "break", "if", "continue", "var",
"style", "innerHTML", "value", "getElementById",
"onblur", "onfocus", "onkeyup", "onkeydown",
"onkeypress", "onchange", "display", "pattern",
"show", "left", "top", "event", "evt",
"ev", "which", "length", "all", "navigator",
"userAgent", "toLowerCase", "indexOf", "width",
"else", "write", "split", "join", "charAt",
"substring", "function", "return", "new", "Array",
"switch", "case", "push", "pop", "default",
"true", "false", "offsetLeft", "offsetParent",
"while", "null", "tagName", "clientLeft",
"parseInt", "border", "isNaN", "getAttribute",
"charCode", "keyCode", "cc", "setTimeout",
"fh_HideAll", "setAttribute", "replace", "g",
"s");
+$leave = array(
+ "cpd", "dcp", "for", "document", "forms",
"break", "if", "continue",
+ "var", "style", "innerHTML", "value",
"getElementById", "onblur",
+ "onfocus", "onkeyup", "onkeydown", "onkeypress",
"onchange",
+ "display", "pattern", "show", "left", "top",
"event", "evt", "ev",
+ "which", "length", "all", "navigator",
"userAgent", "toLowerCase",
+ "indexOf", "width", "else", "write", "split",
"join", "charAt",
+ "substring", "function", "return", "new",
"Array", "switch", "case",
+ "push", "pop", "default", "true", "false",
"offsetLeft", "offsetParent",
+ "while", "null", "tagName", "clientLeft",
"parseInt", "border", "isNaN",
+ "getAttribute", "charCode", "keyCode", "cc",
"setTimeout", "fh_HideAll",
+ "setAttribute", "replace", "g", "s"
+);
-$text=implode(" ", $lines);
+$text = implode(" ", $lines);
-while (strlen(str_replace(" ", " ", $text))<strlen($text))
- $text=str_replace(" ", " ", $text);
+while (strlen(str_replace(" ", " ", $text))<strlen($text)) {
+ $text=str_replace(" ", " ", $text);
+}
$pos=0;
$instring="'";