|
|
@ -831,7 +831,7 @@ PHP_FUNCTION(preg_split) |
|
|
else { /* if no match */ |
|
|
else { /* if no match */ |
|
|
/* Add the last piece to the return value, if there is |
|
|
/* Add the last piece to the return value, if there is |
|
|
something left */ |
|
|
something left */ |
|
|
if (limit != 0) |
|
|
|
|
|
|
|
|
if (limit_val != 0) |
|
|
add_next_index_stringl(return_value, |
|
|
add_next_index_stringl(return_value, |
|
|
piece, |
|
|
piece, |
|
|
subject_end-piece, 1); |
|
|
subject_end-piece, 1); |
|
|
|