mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- Fix crashbug in php_chunk_split()
This commit is contained in:
parent
061cd20400
commit
be52d66f4b
1 changed files with 1 additions and 1 deletions
|
@ -1588,7 +1588,7 @@ PHP_FUNCTION(chunk_split)
|
||||||
convert_to_string_ex(p_str);
|
convert_to_string_ex(p_str);
|
||||||
|
|
||||||
if (argc > 1) {
|
if (argc > 1) {
|
||||||
convert_to_string_ex(p_chunklen);
|
convert_to_long_ex(p_chunklen);
|
||||||
chunklen = Z_LVAL_PP(p_chunklen);
|
chunklen = Z_LVAL_PP(p_chunklen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue