Short ParametersIt returns an array containing command-line arguments. For example, to get the value of-a-b and-C, you can do this:$arguments = getopt ("A:B:C:");You can run the script in the following way (there are no spaces are not related, note
Getop in PHP is used to receive cmd parameters.For example, when you need PHP debugging in linxu, you often need parameter debugging.Getopt is a command that can be passed in with parameters.
Usage:Array
Getopt(String
$ Options[, Array
$
Introduction: This is the PHP getopt function of the detailed page, introduced and PHP, related knowledge, skills, experience, and some PHP source code and so on.
class= ' pingjiaf ' frameborder= ' 0 ' src= '
PHP uses getopt () to parse cli parameters, getoptcli
The getopt () in the PHP manual is described as follows:
/**
* Gets options from the command line argument list
* @ Link http://php.net/manual/en/function.getopt.php
* @ Param string $ options
The PHP manual getopt () is described below:/*** Gets options from the command line argument list* @link http://php.net/manual/en/function.getopt.php* @param string $options Each character in this string would be used as option characters and*
Test method:
The Program (method) provided on this site may be offensive and only used for security research and teaching. You are at your own risk! ######################################## ############################## PHP 5.3.0 getopt () Denial
Ziadoz a list of PHP resources that are maintained on GitHub, including libraries, frameworks, templates, security, code Analysis, logs, third-party libraries, configuration tools, Web tools, books, ebooks, classic blogs, and more. Bó Lè has
Dependency ManagementDependency and Package Management Library
Composer/packagist: A package and dependency manager
Composer Installers: A multi-frame Composer Library Installer
Pickle: a php extension installer
Other
Other frameworksOther web development frameworks
Symfony cmf-Create a custom CMS Content management framework
KNP rad bundle-symfony 2 Fast Application (RAD) Pack
Framework ComponentsStandalone components from the Web development
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.