mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Workaround for superfluous comma in var_export() result.
This commit is contained in:
parent
7d85d01834
commit
84c1bee585
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user