xref: /PHP-7.2/ext/xmlwriter/tests/bug48204.phpt (revision f1d7e3ca)
1--TEST--
2xmlwriter_open_uri with PHP_MAXPATHLEN + 1
3--SKIPIF--
4<?php if (!extension_loaded("xmlwriter")) print "skip"; ?>
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