mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
0067c3ced1
We'd call strtol starting at the whitespace, and strtol strips whitespace... Fixes oss-fuzz #29272.
9 lines
194 B
PHP
9 lines
194 B
PHP
--TEST--
|
|
Octal literal followed by whitespace and another number
|
|
--FILE--
|
|
<?php
|
|
var_dump(0o0 2);
|
|
?>
|
|
--EXPECTF--
|
|
Parse error: syntax error, unexpected integer "2", expecting ")" in %s on line %d
|