|
Phar::addFromString(Unknown) Phar::addFromString — Add a file from the filesystem to the phar archive Описание
void Phar::addFromString
( string $localname
, string $contents
)
With this method, any string can be added to the phar archive. The file will be stored in the archive with localname as its path. This method is similar to ZipArchive::addFromString(). Список параметров
Возвращаемые значенияno return value, exception is thrown on failure. Примеры
Пример #1 A Phar::addFromString() example
<?php Смотрите также
|
|