From 4b7f9e7005c4562f8b4b554ea5ea53fb1ebf804a Mon Sep 17 00:00:00 2001 From: Tom N Harris Date: Thu, 28 May 2009 23:54:38 +0200 Subject: Change expensive uses of split to the much faster explode. darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz --- inc/parser/lexer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/parser/lexer.php') diff --git a/inc/parser/lexer.php b/inc/parser/lexer.php index 86e818d9c..d2aaf407b 100644 --- a/inc/parser/lexer.php +++ b/inc/parser/lexer.php @@ -513,7 +513,7 @@ class Doku_Lexer { // modes starting with plugin_ are all handled by the same // handler but with an additional parameter if(substr($handler,0,7)=='plugin_'){ - list($handler,$plugin) = split('_',$handler,2); + list($handler,$plugin) = explode('_',$handler,2); return $this->_parser->$handler($content, $is_match, $pos, $plugin); } -- cgit v1.2.3