title: how to pass current year as default argument in php function
body: <p><strong>I want to pass the current Year as one of the default value of a function</strong></p>
  
  <p>I AM using</p>
  
  <pre><code>date("Y")
  </code></pre>
  
  <p>for current year</p>
  
  <p>So it work fine when i write function in this way:</p>
  
  <pre><code>function MYfUNCTION($month,$year = 2013)
  {
  }
  </code></pre>
  
  <p>But I want to pass current year instead of 2013
  but it gives me an error when i write like this</p>
  
  <pre><code>function MYfUNCTION($month,$year = date("Y"))
  {
  }
  </code></pre>
  
  <p>Please help me</p>