Home » PHP » PHP_Compat » Bug #1647
var_export leaves comma at end of array
Details
| Submitted | 2004-06-15 15:10 UTC |
|---|---|
| From | pear at rocketwebco dot com |
| Status | Bogus |
| Package | PHP_Compat |
| PHP Version | 4.3.5 |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2004-06-15 15:10 UTC] pear at rocketwebco dot com
Description:
------------
The var_export function leaves a comma at the end of the exported array value, instead of leaving the last comma off.
[2004-06-15 15:14 UTC] pear at rocketwebco dot com
ok, so after testing, this appears to be valid code...but it sure is sloppy looking.
[2004-06-15 22:16 UTC] aidan at virtualexplorer dot com dot au
Hi there,
This is the expected behaviour - the native function has exactly the same output.
Thanks.