Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3123 | minor | always | 12-05-08 11:09 | 12-10-08 09:14 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.2.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|||||
Summary: | 0003123: var_export doesn't work on objects | ||||
Description: |
<?php class Foo { var $bar; } $x = new Foo(); print var_export($x); On Quercus, this throws an exception: java.lang.UnsupportedOperationException: com.caucho.quercus.env.ObjectExtValue at com.caucho.quercus.env.Value.varExport(Value.java:2299) at com.caucho.quercus.lib.VariableModule.var_export(VariableModule.java:741) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:129) ... Not super high-priority but this is sometimes helpful for debugging since print_r doesn't always fully descend into field values. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|