projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix mlang_room indexes
[brisk.git]
/
web
/
Obj
/
brisk.phh
diff --git
a/web/Obj/brisk.phh
b/web/Obj/brisk.phh
index
6cb7f29
..
f52cfb3
100644
(file)
--- a/
web/Obj/brisk.phh
+++ b/
web/Obj/brisk.phh
@@
-290,19
+290,20
@@
function csplitter($in, $sep)
$out = array();
$out[$id] = "";
for ($i = 0 ; $i < strlen($in) ; $i++) {
$out = array();
$out[$id] = "";
for ($i = 0 ; $i < strlen($in) ; $i++) {
+ $ini = substr($in, $i, 1);
if ($st == 0) {
if ($st == 0) {
- if ($in
{$i}
== '\\')
+ if ($in
i
== '\\')
$st = 1;
$st = 1;
- else if ($in
{$i}
== $sep) {
+ else if ($in
i
== $sep) {
$id++;
$out[$id] = "";
}
else {
$id++;
$out[$id] = "";
}
else {
- $out[$id] .= $in
{$i}
;
+ $out[$id] .= $in
i
;
}
}
else if ($st == 1) {
}
}
else if ($st == 1) {
- $out[$id] .= $in
{$i}
;
+ $out[$id] .= $in
i
;
$st = 0;
}
}
$st = 0;
}
}
@@
-310,7
+311,6
@@
function csplitter($in, $sep)
return ($out);
}
return ($out);
}
-
function xcape($s)
{
$from = array ( '\\', '@', '|' );
function xcape($s)
{
$from = array ( '\\', '@', '|' );