xref: /PHP-8.2/ext/xmlwriter/tests/bug48204.phpt (revision 74859783)
1--TEST--
2xmlwriter_open_uri with PHP_MAXPATHLEN + 1
3--EXTENSIONS--
4xmlwriter
5--FILE--
6<?php
7$path = str_repeat('a', PHP_MAXPATHLEN + 1);
8var_dump(xmlwriter_open_uri('file:///' . $path));
9?>
10--CREDITS--
11Koen Kuipers koenk82@gmail.com
12Theo van der Zee
13#Test Fest Utrecht 09-05-2009
14--EXPECTF--
15Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d
16bool(false)
17