another solution using http://leafo.net/lessphp:
1: get the css code for your .less files:
$baseCSS = file_get_contents("style.less");
$baseCSS .= file_get_contents("default.less");//append the second file to the variable
2: compile using:
$finalCSSCode = $less->compile($baseCSS);
cheers