<?php

current_time(); // OK. Well not really, but not our concern.
current_time( 'mysql', true ); // OK.
current_time( 'Y-m-d' ); // OK.
current_time( self::get_date_format() ); // OK.
current_time( $format, $gmt ); // OK.

time(); // Error.

time(); // Error.

// Test multi-line function call + interlaced comments handling.
current_time( // Error.
	"timestamp", // Timestamp format.
	true // Use GMT timezone.
);

current_time( 'timestamp', $gmt ); // Warning.
current_time( 'timestamp', false ); // Warning.
current_time( 'U', 0 ); // Warning.
current_time( 'U' ); // Warning.
