diff options
| author | Anatol Belski <ab@php.net> | 2016-09-26 18:49:40 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2016-09-26 18:49:40 +0200 |
| commit | 4e3746380a85c8b8a4fc7dce4535760a1fb80216 (patch) | |
| tree | c95fcc199c358817a805e9f5c8349c799ffc1a1c /tests/lang | |
| parent | 5e24fe9fde183eda239236aa18c96007d9ac7138 (diff) | |
| parent | 39e599170532f64fd433dd68aa79bc0dcbda4689 (diff) | |
| download | php-git-4e3746380a85c8b8a4fc7dce4535760a1fb80216.tar.gz | |
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #73172 parse error: Invalid numeric literal
Diffstat (limited to 'tests/lang')
| -rw-r--r-- | tests/lang/bug73172.inc | 7 | ||||
| -rw-r--r-- | tests/lang/bug73172.phpt | 13 |
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/lang/bug73172.inc b/tests/lang/bug73172.inc new file mode 100644 index 0000000000..5e4a85ea2e --- /dev/null +++ b/tests/lang/bug73172.inc @@ -0,0 +1,7 @@ +<?php + +function test($a, $x, $y){ + return; +} +test('test', 9223372036854775808, 'test'); + diff --git a/tests/lang/bug73172.phpt b/tests/lang/bug73172.phpt new file mode 100644 index 0000000000..369d293cac --- /dev/null +++ b/tests/lang/bug73172.phpt @@ -0,0 +1,13 @@ +--TEST-- +Bug #73172 parse error: Invalid numeric literal +--FILE-- +<?php + +setlocale(LC_ALL, 'fr_FR.utf8', 'fra'); + +include dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug73172.inc"; + +?> +==DONE== +--EXPECTF-- +==DONE== |
