Anonymous | Login | Signup for a new account | 12-17-2024 08:51 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 | ||||
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 | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |