1--TEST-- 2Test: Xinclude errors 3--EXTENSIONS-- 4dom 5--SKIPIF-- 6<?php 7if (PHP_INT_SIZE != 8) die("skip for 64bit platforms only"); 8?> 9--FILE-- 10<?php 11$dom = new DOMDocument; 12$dom->xinclude(PHP_INT_MAX); 13 14$dom = Dom\XMLDocument::createEmpty(); 15try { 16 $dom->xinclude(PHP_INT_MAX); 17} catch (ValueError $e) { 18 echo $e->getMessage(); 19} 20?> 21--EXPECTF-- 22Warning: DOMDocument::xinclude(): Invalid flags in %s on line %d 23Dom\XMLDocument::xinclude(): Argument #1 ($options) is too large 24