PHP » GoLang |
login |
register |
about
|
GoLang Phar::addFromString
request it (426)
GoLang replacement for PHP's Phar::addFromString
[edit | history]
Phar::addFromString(Unknown) Phar::addFromString — Add a file from a string to the phar archive Description
public 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(). Parameters
Return Valuesno return value, exception is thrown on failure. Examples
Example #1 A Phar::addFromString() example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|