Comments By: Pascal
-
Nice article! I'm a great fan o'preg_split; but for the example you used I prefer to use
$list = array_filter(explode(",", ...))in order to filter out empty array elements ... I'll wrap up a benchmark somewhere this weekend in order to see which one line performs better :) posted on Nov 27, 2009 at 9:11am | context
