Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2919 | minor | always | 09-10-08 18:54 | 09-11-08 14:15 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.2.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.2.1 | ||
|
|||||
Summary: | 0002919: Compile error when defining fallback implementation of apc_fetch | ||||
Description: |
We have code like the following in a script that can be run from the command line, where apc_fetch isn't defined: <?php if (!function_exists('apc_fetch')) { function apc_fetch($key) { return false; } } This fails to compile: [18:51:15.783] {resin-21} com.caucho.java.JavaCompileException: .../test__php.java:56: v_key is already defined in call(com.caucho.quercus.env.Env,com.caucho.quercus.env.Value) [18:51:15.783] {resin-21} Value v_key = NullValue.NULL; [18:51:15.783] {resin-21} ^ [18:51:15.783] {resin-21} 1 error The same error happens on our similar fallback definition of apc_store(). It does not happen if I just have a parameter called "$key" in some random other function. Low priority since I can just comment this out in our code for testing purposes. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|