diff options
author | Theodore Brown <theodorejb@outlook.com> | 2019-05-02 12:10:19 -0500 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-14 11:37:04 +0200 |
commit | f74109d9a4b1e4fbaeba4f68c8fc89950e19d265 (patch) | |
tree | 479e45443ebaac440802f843baaac77a4e0aa6a3 /Zend/tests/numeric_literal_separator_007.phpt | |
parent | ec77cca5f30c77944c5038bb17de7353fb200757 (diff) | |
download | php-git-f74109d9a4b1e4fbaeba4f68c8fc89950e19d265.tar.gz |
Implement numeric literal separators
RFC: https://wiki.php.net/rfc/numeric_literal_separator
Diffstat (limited to 'Zend/tests/numeric_literal_separator_007.phpt')
-rw-r--r-- | Zend/tests/numeric_literal_separator_007.phpt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Zend/tests/numeric_literal_separator_007.phpt b/Zend/tests/numeric_literal_separator_007.phpt new file mode 100644 index 0000000000..e74c7ed033 --- /dev/null +++ b/Zend/tests/numeric_literal_separator_007.phpt @@ -0,0 +1,7 @@ +--TEST-- +Invalid use: underscore next to 0b +--FILE-- +<?php +0b_0101; +--EXPECTF-- +Parse error: syntax error, unexpected 'b_0101' (T_STRING) in %s on line %d |