error_reporting -1

Any error/warning/notice/strict can take 0.15ms on modern production hardware even if it isn't logged if you are using custom error handlers.

<?php 
$results = get_results();
foreach($results as $foo) {
   if($foo > 10) $stuff[]++; 
}
template->assign('stuff', $stuff);