From: <da...@us...> - 2003-08-08 06:59:09
|
Update of /cvsroot/binaryphp/binaryphp In directory sc8-pr-cvs1:/tmp/cvs-serv29274 Modified Files: tokenflow.php Log Message: Fixed multiple parameter parsing. Index: tokenflow.php =================================================================== RCS file: /cvsroot/binaryphp/binaryphp/tokenflow.php,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** tokenflow.php 8 Aug 2003 05:10:53 -0000 1.51 --- tokenflow.php 8 Aug 2003 06:59:06 -0000 1.52 *************** *** 122,126 **** $params[] = $code; $code = (string) null; ! ++$this->token; } switch($token) --- 122,127 ---- $params[] = $code; $code = (string) null; ! // ++$this->token; ! continue; } switch($token) *************** *** 137,141 **** break; case T_CONSTANT_ENCAPSED_STRING: ! $code .= '"' . substr(str_replace(array('\\\'', '"'), array('\'', '\\"'), $data), 1, -1) . '"'; break; case '-': --- 138,142 ---- break; case T_CONSTANT_ENCAPSED_STRING: ! $code .= '"' . str_replace(array('\\\'', '"'), array('\'', '\\"'), substr($data, 1, -1)) . '"'; break; case '-': *************** *** 234,236 **** } } ! ?> \ No newline at end of file --- 235,237 ---- } } ! ?> |