mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
18 lines
427 B
PHP
18 lines
427 B
PHP
--TEST--
|
|
xmlwriter_open_uri with PHP_MAXPATHLEN + 1
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("xmlwriter")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
$path = str_repeat('a', PHP_MAXPATHLEN + 1);
|
|
var_dump(xmlwriter_open_uri('file:///' . $path));
|
|
?>
|
|
--CREDITS--
|
|
Koen Kuipers koenk82@gmail.com
|
|
Theo van der Zee
|
|
#Test Fest Utrecht 09-05-2009
|
|
--EXPECTF--
|
|
|
|
Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d
|
|
bool(false)
|