--TEST-- Phar: create with illegal path --SKIPIF-- --INI-- phar.readonly=0 phar.require_hash=1 --FILE-- getMessage() . "\n"; } } ?> ===DONE=== --CLEAN-- --EXPECTF-- string(5) "query" string(5) "query" Error: file_put_contents(phar://%s//): failed to open stream: phar error: file "" in phar "%s" cannot be empty Error: file_put_contents(phar://%s/.): failed to open stream: phar error: file "" in phar "%s" cannot be empty Error: file_put_contents(phar://%s/../): failed to open stream: phar error: file "" in phar "%s" cannot be empty Error: file_put_contents(phar://%s/a/..): failed to open stream: phar error: file "" in phar "%s" cannot be empty Exception: Entry a does not exist and cannot be created: phar error: invalid path "a" contains illegal character ===DONE===