René's URL Explorer Experiment


Title: PHP: Command line usage - Manual

X Title: PHP: Command line usage - Manual

Open Graph Description: Using PHP from the command line

X Description: Using PHP from the command line

X: @official_php

direct link

Domain: php.net

DescriptionUsing PHP from the command line
twitter:cardsummary_large_image
twitter:creator@official_php
twitter:image:srchttps://www.php.net/images/meta-image.png
Nonehttps://www.php.net/images/meta-image.png
og:imagehttps://www.php.net/images/meta-image.png

Links:

update page nowhttps://php.net/x-myracloud-5958a2bbbed300a9b9ac631223924e0b/1768212231.59
https://php.net/
Downloads https://php.net/downloads.php
Documentation https://php.net/docs.php
Get Involved https://php.net/get-involved.php
Help https://php.net/support.php
https://php.net/releases/8.5/index.php
https://php.net/lookup-form.php
https://php.net/menu.php
Getting Startedhttps://php.net/manual/en/getting-started.php
Introductionhttps://php.net/manual/en/introduction.php
A simple tutorialhttps://php.net/manual/en/tutorial.php
Language Referencehttps://php.net/manual/en/langref.php
Basic syntaxhttps://php.net/manual/en/language.basic-syntax.php
Typeshttps://php.net/manual/en/language.types.php
Variableshttps://php.net/manual/en/language.variables.php
Constantshttps://php.net/manual/en/language.constants.php
Expressionshttps://php.net/manual/en/language.expressions.php
Operatorshttps://php.net/manual/en/language.operators.php
Control Structureshttps://php.net/manual/en/language.control-structures.php
Functionshttps://php.net/manual/en/language.functions.php
Classes and Objectshttps://php.net/manual/en/language.oop5.php
Namespaceshttps://php.net/manual/en/language.namespaces.php
Enumerationshttps://php.net/manual/en/language.enumerations.php
Errorshttps://php.net/manual/en/language.errors.php
Exceptionshttps://php.net/manual/en/language.exceptions.php
Fibershttps://php.net/manual/en/language.fibers.php
Generatorshttps://php.net/manual/en/language.generators.php
Attributeshttps://php.net/manual/en/language.attributes.php
References Explainedhttps://php.net/manual/en/language.references.php
Predefined Variableshttps://php.net/manual/en/reserved.variables.php
Predefined Exceptionshttps://php.net/manual/en/reserved.exceptions.php
Predefined Interfaces and Classeshttps://php.net/manual/en/reserved.interfaces.php
Predefined Attributeshttps://php.net/manual/en/reserved.attributes.php
Context options and parametershttps://php.net/manual/en/context.php
Supported Protocols and Wrappershttps://php.net/manual/en/wrappers.php
Securityhttps://php.net/manual/en/security.php
Introductionhttps://php.net/manual/en/security.intro.php
General considerationshttps://php.net/manual/en/security.general.php
Installed as CGI binaryhttps://php.net/manual/en/security.cgi-bin.php
Installed as an Apache modulehttps://php.net/manual/en/security.apache.php
Session Securityhttps://php.net/manual/en/security.sessions.php
Filesystem Securityhttps://php.net/manual/en/security.filesystem.php
Database Securityhttps://php.net/manual/en/security.database.php
Error Reportinghttps://php.net/manual/en/security.errors.php
User Submitted Datahttps://php.net/manual/en/security.variables.php
Hiding PHPhttps://php.net/manual/en/security.hiding.php
Keeping Currenthttps://php.net/manual/en/security.current.php
Featureshttps://php.net/manual/en/features.php
HTTP authentication with PHPhttps://php.net/manual/en/features.http-auth.php
Cookieshttps://php.net/manual/en/features.cookies.php
Sessionshttps://php.net/manual/en/features.sessions.php
Handling file uploadshttps://php.net/manual/en/features.file-upload.php
Using remote fileshttps://php.net/manual/en/features.remote-files.php
Connection handlinghttps://php.net/manual/en/features.connection-handling.php
Persistent Database Connectionshttps://php.net/manual/en/features.persistent-connections.php
Command line usagehttps://php.net/manual/en/features.commandline.php
Garbage Collectionhttps://php.net/manual/en/features.gc.php
DTrace Dynamic Tracinghttps://php.net/manual/en/features.dtrace.php
Function Referencehttps://php.net/manual/en/funcref.php
Affecting PHP's Behaviourhttps://php.net/manual/en/refs.basic.php.php
Audio Formats Manipulationhttps://php.net/manual/en/refs.utilspec.audio.php
Authentication Serviceshttps://php.net/manual/en/refs.remote.auth.php
Command Line Specific Extensionshttps://php.net/manual/en/refs.utilspec.cmdline.php
Compression and Archive Extensionshttps://php.net/manual/en/refs.compression.php
Cryptography Extensionshttps://php.net/manual/en/refs.crypto.php
Database Extensionshttps://php.net/manual/en/refs.database.php
Date and Time Related Extensionshttps://php.net/manual/en/refs.calendar.php
File System Related Extensionshttps://php.net/manual/en/refs.fileprocess.file.php
Human Language and Character Encoding Supporthttps://php.net/manual/en/refs.international.php
Image Processing and Generationhttps://php.net/manual/en/refs.utilspec.image.php
Mail Related Extensionshttps://php.net/manual/en/refs.remote.mail.php
Mathematical Extensionshttps://php.net/manual/en/refs.math.php
Non-Text MIME Outputhttps://php.net/manual/en/refs.utilspec.nontext.php
Process Control Extensionshttps://php.net/manual/en/refs.fileprocess.process.php
Other Basic Extensionshttps://php.net/manual/en/refs.basic.other.php
Other Serviceshttps://php.net/manual/en/refs.remote.other.php
Search Engine Extensionshttps://php.net/manual/en/refs.search.php
Server Specific Extensionshttps://php.net/manual/en/refs.utilspec.server.php
Session Extensionshttps://php.net/manual/en/refs.basic.session.php
Text Processinghttps://php.net/manual/en/refs.basic.text.php
Variable and Type Related Extensionshttps://php.net/manual/en/refs.basic.vartype.php
Web Serviceshttps://php.net/manual/en/refs.webservice.php
Windows Only Extensionshttps://php.net/manual/en/refs.utilspec.windows.php
XML Manipulationhttps://php.net/manual/en/refs.xml.php
GUI Extensionshttps://php.net/manual/en/refs.ui.php
Differences to other SAPIs » https://php.net/features.commandline.differences.php
« Persistent Database Connections https://php.net/features.persistent-connections.php
PHP Manualhttps://php.net/index.php
Featureshttps://php.net/features.php
Differences to other SAPIshttps://php.net/features.commandline.differences.php
Optionshttps://php.net/features.commandline.options.php
Usagehttps://php.net/features.commandline.usage.php
I/O streamshttps://php.net/features.commandline.io-streams.php
Interactive shellhttps://php.net/features.commandline.interactive.php
Built-in web serverhttps://php.net/features.commandline.webserver.php
INI settingshttps://php.net/features.commandline.ini.php
php_sapi_name()https://php.net/function.php-sapi-name.php
PHP_SAPIhttps://php.net/reserved.constants.php#constant.php-sapi
Learn How To Improve This Pagehttps://github.com/php/doc-base/blob/master/README.md
Submit a Pull Requesthttps://github.com/php/doc-en/blob/master/features/commandline.xml
Report a Bughttps://github.com/php/doc-en/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Ffeatures.commandline%0A%0A---
+add a notehttps://php.net/manual/add-note.php?sect=features.commandline&repo=en&redirect=https://www.php.net/manual/en/features.commandline.php
uphttps://php.net/manual/vote-note.php?id=108883&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=108883&page=features.commandline&vote=down
sep16 at psu dot eduhttps://php.net/features.commandline.php#108883
https://php.net/features.commandline.php#108883
uphttps://php.net/manual/vote-note.php?id=119901&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=119901&page=features.commandline&vote=down
ohcc at 163 dot comhttps://php.net/features.commandline.php#119901
https://php.net/features.commandline.php#119901
uphttps://php.net/manual/vote-note.php?id=121914&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=121914&page=features.commandline&vote=down
apmuthu at usa dot nethttps://php.net/features.commandline.php#121914
https://php.net/features.commandline.php#121914
uphttps://php.net/manual/vote-note.php?id=113224&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=113224&page=features.commandline&vote=down
PSIKYO at mail dot dlut dot edu dot cnhttps://php.net/features.commandline.php#113224
https://php.net/features.commandline.php#113224
uphttps://php.net/manual/vote-note.php?id=116023&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=116023&page=features.commandline&vote=down
frankNospamwanted at. toppoint dot. dehttps://php.net/features.commandline.php#116023
https://php.net/features.commandline.php#116023
uphttps://php.net/manual/vote-note.php?id=57143&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=57143&page=features.commandline&vote=down
drewish at katherinehouse dot comhttps://php.net/features.commandline.php#57143
https://php.net/features.commandline.php#57143
uphttps://php.net/manual/vote-note.php?id=105568&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=105568&page=features.commandline&vote=down
Kodearthttps://php.net/features.commandline.php#105568
https://php.net/features.commandline.php#105568
uphttps://php.net/manual/vote-note.php?id=125955&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=125955&page=features.commandline&vote=down
Anonymoushttps://php.net/features.commandline.php#125955
https://php.net/features.commandline.php#125955
uphttps://php.net/manual/vote-note.php?id=39576&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=39576&page=features.commandline&vote=down
ben at slax0rnet dot comhttps://php.net/features.commandline.php#39576
https://php.net/features.commandline.php#39576
uphttps://php.net/manual/vote-note.php?id=26201&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=26201&page=features.commandline&vote=down
phpnotes at ssilk dot dehttps://php.net/features.commandline.php#26201
https://php.net/features.commandline.php#26201
uphttps://php.net/manual/vote-note.php?id=53252&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=53252&page=features.commandline&vote=down
roberto dot dimas at gmail dot comhttps://php.net/features.commandline.php#53252
https://php.net/features.commandline.php#53252
uphttps://php.net/manual/vote-note.php?id=94924&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=94924&page=features.commandline&vote=down
notreallyanaddress at somerandomaddr dot comhttps://php.net/features.commandline.php#94924
https://php.net/features.commandline.php#94924
uphttps://php.net/manual/vote-note.php?id=56928&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=56928&page=features.commandline&vote=down
OverFlow636 at gmail dot comhttps://php.net/features.commandline.php#56928
https://php.net/features.commandline.php#56928
uphttps://php.net/manual/vote-note.php?id=76606&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=76606&page=features.commandline&vote=down
lucas dot vasconcelos at gmail dot comhttps://php.net/features.commandline.php#76606
https://php.net/features.commandline.php#76606
uphttps://php.net/manual/vote-note.php?id=24970&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=24970&page=features.commandline&vote=down
jeff at noSpam[] dot genhex dot nethttps://php.net/features.commandline.php#24970
https://php.net/features.commandline.php#24970
uphttps://php.net/manual/vote-note.php?id=98647&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=98647&page=features.commandline&vote=down
Anonymoushttps://php.net/features.commandline.php#98647
https://php.net/features.commandline.php#98647
uphttps://php.net/manual/vote-note.php?id=32701&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=32701&page=features.commandline&vote=down
monte at ispi dot nethttps://php.net/features.commandline.php#32701
https://php.net/features.commandline.php#32701
uphttps://php.net/manual/vote-note.php?id=83843&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=83843&page=features.commandline&vote=down
thomas dot harding at laposte dot nethttps://php.net/features.commandline.php#83843
https://php.net/features.commandline.php#83843
uphttps://php.net/manual/vote-note.php?id=75532&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=75532&page=features.commandline&vote=down
eric dot brison at anakeen dot comhttps://php.net/features.commandline.php#75532
https://php.net/features.commandline.php#75532
uphttps://php.net/manual/vote-note.php?id=39655&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=39655&page=features.commandline&vote=down
linn at backendmedia dot comhttps://php.net/features.commandline.php#39655
https://php.net/features.commandline.php#39655
uphttps://php.net/manual/vote-note.php?id=71154&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=71154&page=features.commandline&vote=down
goalain eat gmail dont comhttps://php.net/features.commandline.php#71154
https://php.net/features.commandline.php#71154
uphttps://php.net/manual/vote-note.php?id=74088&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=74088&page=features.commandline&vote=down
robhttps://php.net/features.commandline.php#74088
https://php.net/features.commandline.php#74088
uphttps://php.net/manual/vote-note.php?id=75985&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=75985&page=features.commandline&vote=down
bluej100@gmailhttps://php.net/features.commandline.php#75985
https://php.net/features.commandline.php#75985
uphttps://php.net/manual/vote-note.php?id=123606&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=123606&page=features.commandline&vote=down
sam marshallhttps://php.net/features.commandline.php#123606
https://php.net/features.commandline.php#123606
uphttps://php.net/manual/vote-note.php?id=54756&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=54756&page=features.commandline&vote=down
doceyhttps://php.net/features.commandline.php#54756
https://php.net/features.commandline.php#54756
uphttps://php.net/manual/vote-note.php?id=50358&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=50358&page=features.commandline&vote=down
obfuscated at emailaddress dot comhttps://php.net/features.commandline.php#50358
https://php.net/features.commandline.php#50358
uphttps://php.net/manual/vote-note.php?id=33119&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=33119&page=features.commandline&vote=down
Adam, php(at)getwebspace.comhttps://php.net/features.commandline.php#33119
https://php.net/features.commandline.php#33119
uphttps://php.net/manual/vote-note.php?id=78093&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=78093&page=features.commandline&vote=down
losbrutos at free dot frhttps://php.net/features.commandline.php#78093
https://php.net/features.commandline.php#78093
uphttps://php.net/manual/vote-note.php?id=19167&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=19167&page=features.commandline&vote=down
pyxl at jerrell dot comhttps://php.net/features.commandline.php#19167
https://php.net/features.commandline.php#19167
uphttps://php.net/manual/vote-note.php?id=31360&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=31360&page=features.commandline&vote=down
Popeye at P-t-B dot comhttps://php.net/features.commandline.php#31360
https://php.net/features.commandline.php#31360
uphttps://php.net/manual/vote-note.php?id=62162&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=62162&page=features.commandline&vote=down
stromdotcom at hotmail dot comhttps://php.net/features.commandline.php#62162
https://php.net/features.commandline.php#62162
http://www.stromcode.comhttp://www.stromcode.com
uphttps://php.net/manual/vote-note.php?id=78672&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=78672&page=features.commandline&vote=down
james_s2010 at NOSPAM dot hotmail dot comhttps://php.net/features.commandline.php#78672
https://php.net/features.commandline.php#78672
uphttps://php.net/manual/vote-note.php?id=29468&page=features.commandline&vote=up
downhttps://php.net/manual/vote-note.php?id=29468&page=features.commandline&vote=down
Alexander Plakidinhttps://php.net/features.commandline.php#29468
https://php.net/features.commandline.php#29468
+add a notehttps://php.net/manual/add-note.php?sect=features.commandline&repo=en&redirect=https://www.php.net/manual/en/features.commandline.php
Featureshttps://php.net/features.php
HTTP authentication with PHPhttps://php.net/features.http-auth.php
Cookieshttps://php.net/features.cookies.php
Sessionshttps://php.net/features.sessions.php
Handling file uploadshttps://php.net/features.file-upload.php
Using remote fileshttps://php.net/features.remote-files.php
Connection handlinghttps://php.net/features.connection-handling.php
Persistent Database Connectionshttps://php.net/features.persistent-connections.php
Command line usagehttps://php.net/features.commandline.php
Garbage Collectionhttps://php.net/features.gc.php
DTrace Dynamic Tracinghttps://php.net/features.dtrace.php
Copyright © 2001-2026 The PHP Documentation Grouphttps://php.net/manual/en/copyright.php
My PHP.nethttps://php.net/my.php
Contacthttps://php.net/contact.php
Other PHP.net siteshttps://php.net/sites.php
Privacy policyhttps://php.net/privacy.php
javascript:;

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.