Mantis - Quercus
Viewing Issue Advanced Details
3324 major always 02-06-09 10:51 02-06-09 16:07
koreth  
nam  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003324: Long-as-boolean compile failure
<?php
function foo() {
  $x = 0;
  if (!$x) print "x";
}

Fails to compile:

16:30:40.696] {resin-18} com.caucho.java.JavaCompileException: .../_not_22dlong__php.java:60: operator ! cannot be applied to long
[16:30:40.696] {resin-18} if (! v_x != 0) {
[16:30:40.696] {resin-18} ^

Notes
(0003809)
nam   
02-06-09 16:07   
php/3aaw