Index: src/wp-includes/functions.php
===================================================================
--- src/wp-includes/functions.php	(revision 37600)
+++ src/wp-includes/functions.php	(working copy)
@@ -4607,7 +4607,7 @@
 	}
 
 	foreach ( $all_headers as $field => $regex ) {
-		if ( preg_match( '/^[ \t\/*#@]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, $match ) && $match[1] )
+		if ( preg_match( '/^(?:[ \t]*<\?php)?[ \t\/*#@]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, $match ) && $match[1] )
 			$all_headers[ $field ] = _cleanup_header_comment( $match[1] );
 		else
 			$all_headers[ $field ] = '';
