diff options
| author | Anatol Belski <ab@php.net> | 2016-09-26 18:47:30 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2016-09-26 18:47:30 +0200 |
| commit | 39e599170532f64fd433dd68aa79bc0dcbda4689 (patch) | |
| tree | 2e45092c0b844f1c26b3141da7de51a3067e2f2e /tests | |
| parent | eaee65080ee504f70f663c75c3e17de5125cba85 (diff) | |
| download | php-git-39e599170532f64fd433dd68aa79bc0dcbda4689.tar.gz | |
Fixed bug #73172 parse error: Invalid numeric literal
Diffstat (limited to 'tests')
| -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== |
