if ( count( $entry_array>0 ) )
{
$GLOBALS[ 'year' ] = substr($entry_array[0], 5, 2); //line 22
$GLOBALS[ 'month' ] = substr($entry_array[0], 7, 2); //line 23
$GLOBALS[ 'day' ] = substr($entry_array[0], 9, 2); //line 24
}
Run Code Online (Sandbox Code Playgroud)
第22,23,24行的错误说明:未定义的偏移量:0
有任何想法来解决这个问题..