Workaround for superfluous comma in var_export() result.

This commit is contained in:
Sebastian Bergmann 2002-09-04 05:46:16 +00:00
parent 7d85d01834
commit 84c1bee585

View File

@ -519,7 +519,7 @@ Changes in the Zend Engine 2.0
$args = '';
}
$args = str_replace("\n", '', $args);
$args = str_replace(array("\n", ',)'), array('', ')'), $args);
printf(
"%s%s(%s) [%s:%s]\n",