• 语法高亮测试

    PHP语法高亮测试:

    foreach ($crons as $timestamp => $cronhooks) {
    	if ( $timestamp > $local_time )
    		break;
    
    	foreach ($cronhooks as $hook => $keys) {
    
    		foreach ($keys as $k => $v) {
    
    			$schedule = $v['schedule'];
    
    			if ($schedule != false) {
    				$new_args = array($timestamp, $schedule, $hook, $v['args']);
    				call_user_func_array('wp_reschedule_event', $new_args);
    			}
    
    			wp_unschedule_event($timestamp, $hook, $v['args']);
    
     			do_action_ref_array($hook, $v['args']);
    		}
    	}
    }
    

    XML语法高亮测试: