how to pass float to function when declared parameters type in php
<p>when i used wStrict typing, whatever I pass to the function, fatal error accurs :</p>

<pre><code>function quote(float $a){
    var_dump(func_get_args());
}
quote(1.1071212);
</code></pre>

<p>Catchable fatal error: Argument 1 passed to quote() must be an instance of float, double given</p>

<pre><code>function quote(double $a){
    var_dump(func_get_args());
}
quote(1.1071212);
</code></pre>

<p>Catchable fatal error: Argument 1 passed to quote() must be an instance of double, double given, called</p>