1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/tests/lang/string/unicode_escape_large_codepoint.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

10 lines
220 B
PHP

--TEST--
Invalid Unicode escape sequence: Large codepoint
--FILE--
<?php
var_dump("\u{110000}"); // U+10FFFF + 1
?>
--EXPECTF--
Parse error: Invalid UTF-8 codepoint escape sequence: Codepoint too large in %s on line %d