diff options
Diffstat (limited to 'ext/standard/array.c')
| -rw-r--r-- | ext/standard/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c index fd32ed90c2..8e0024eae4 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2111,7 +2111,7 @@ PHP_FUNCTION(array_splice) /* Don't create the array of removed elements if it's not going * to be used; e.g. only removing and/or replacing elements */ if (return_value_used) { - int size; + int size = 0; /* Clamp the offset.. */ if (offset > num_in) { |
