Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1256 | minor | always | 07-18-06 13:44 | 04-30-07 18:59 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.19 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.1 | ||
|
|||||
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 |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|