@@ 1798-1800 (lines=3) @@ | ||
1795 | } |
|
1796 | $whitespace = strlen(substr($cmdstr, strlen($func), $paramspos - strlen($func))); |
|
1797 | $paramstr = substr($cmdstr, $paramspos + 1); |
|
1798 | if (substr($paramstr, - 1, 1) === $paramsep) { |
|
1799 | $paramstr = substr($paramstr, 0, - 1); |
|
1800 | } |
|
1801 | ||
1802 | if (strlen($paramstr) === 0) { |
|
1803 | $params = array(); |
|
@@ 3110-3112 (lines=3) @@ | ||
3107 | } |
|
3108 | } else { |
|
3109 | $paramstr = substr($cmdstr, $paramspos + 1); |
|
3110 | if (substr($paramstr, - 1, 1) === $paramsep) { |
|
3111 | $paramstr = substr($paramstr, 0, - 1); |
|
3112 | } |
|
3113 | ||
3114 | $ptr = 0; |
|
3115 | $params = array(); |