PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PHP » PHP_Compat » Bug #1647

var_export leaves comma at end of array

Details

Submitted2004-06-15 15:10 UTC
Frompear at rocketwebco dot com
StatusBogus
PackagePHP_Compat
PHP Version4.3.5
OSlinux
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.