Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001256 [Quercus] minor always 07-18-06 13:44 04-30-07 18:59
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.0.19
Summary 0001256: Can't do error suppression on void functions
Description PHP:

<?php
@closedir($foo);
?>

This produces an invalid Java source file when Quercus compiles it:

[13:42:39.869] com.caucho.java.JavaCompileException: /Users/sgrimm/resin/trunk/webapps/test/WEB-INF/work/_quercus/_test__php.java:54: 'void' type not allowed here
[13:42:39.869] env.suppress(env.setErrorMask(0), com.caucho.quercus.lib.file.FileModule.closedir(env, ((com.caucho.quercus.lib.file.DirectoryValue) env.cast(com.caucho.quercus.lib.file.DirectoryValue.class, (v_foo = env.getVar("foo")).toValue()))))
[13:42:39.869] ^
[13:42:39.869] 1 error
Additional Information
Attached Files

- Relationships

- Notes
(0001883)
nam
04-30-07 18:59

php/3c64

issue was fixed some time ago
 

- Issue History
Date Modified Username Field Change
07-18-06 13:44 koreth New Issue
04-30-07 18:53 nam Status new => assigned
04-30-07 18:53 nam Assigned To  => nam
04-30-07 18:59 nam Status assigned => closed
04-30-07 18:59 nam Note Added: 0001883
04-30-07 18:59 nam Resolution open => fixed
04-30-07 18:59 nam Fixed in Version  => 3.1.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker