PHP: Command line usage - Manual - PHP: Hypertext Preprocessor

PHP: Command line usage - Manual - PHP: Hypertext Preprocessor

瀏覽:1354
日期:2025-04-25
You can easily parse command line arguments into the $_GET variable by using the parse_str() function. It behaves exactly like you'd expect with cgi-php. $ php -f somefile.php a=1 b[]=2 b[]=3 This ......看更多