ReflectionClass::newInstance/newInstanceArgs generates undefined property
<p>When I try to create a new instance with constructor arguments via the <code>ReflectionClass</code> object I get this notice:</p>

<blockquote>
  <p>Notice: Undefined property: ReflectionClass::$newInstanceArgs in XXX on line 93</p>
</blockquote>

<p>On line 93 I simply try to instanciate the reflection by:</p>

<pre><code>$obj = new $reflection-&gt;newInstanceArgs([$arg1]);
</code></pre>

<p>The notice is generated by newInstance as well:</p>

<pre><code>$obj = new $reflection-&gt;newInstance([$arg1]);
</code></pre>

<blockquote>
  <p>Notice: Undefined property: ReflectionClass::$newInstance in XXX on line 93</p>
</blockquote>

<p>The class I'm trying to instantiate looks like this:</p>

<pre><code>class ObjectName
{
      public function __construct ($str = "")
      {}
}
</code></pre>

<p>I can't seem to find the problem. Am I doing something wrong here?</p>
