ich hat das mal reportet um zu gucken was die php jungs zu sagen:
Zitat:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php
Please see php.net7operators for the Operator Precedence.What happensis
that in
$order .= ' ' . ($this->data["order"] == 1) ? "desc" : "asc";
The expression
' ' . ($this->data["order"] == 1)
will be evaluated first. Depending on the result "desc" or"asc" will be
evaluated and returned.
Use parenthesis:
$order .= ' ' . (($this->data["order"] == 1) ? "desc" : "asc");
|
das macht sinn und is daher in meiner config richtig, aber wieso macht deine php5.3.1 was anderes draus?