Anonymous | Login | Signup for a new account | 12-12-2024 17:56 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003179 | [Quercus] | minor | always | 12-15-08 12:00 | 12-15-08 13:43 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.0 | ||||||
Summary | 0003179: Assignment with comparison operator fails to compile | ||||||||
Description |
<?php function foo() { $arr = array(); if (($foo = count($arr)) < 1) { print "yo\n"; } } Fails to compile under the latest Resin Pro: [11:59:29.981] {resin-38} com.caucho.java.JavaCompileException: .../_lt__php.java:56: operator < cannot be applied to com.caucho.quercus.env.Value,double [11:59:29.981] {resin-38} if (((v_foo = LongValue.create(ArrayModule.count(env, v_arr, false))) < 1.0)) { |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |