start . me .
Directory path . web , php .

HTML Document File : php-uses.html

<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>PHP uses</title>
	<link rel="stylesheet" href="/sitewide.css"><script src="/web/dhtml/color-theme/colors.js"></script>
</head>

<body>
	<div><a href="."> go to main page. </a></div>

	<hr>

	<h1>PHP uses</h1>

	<p>see also the command "man php" in Unix-like shell (MSYS, Debian, etc)</p>

	<h2>php -a</h2>
	<p>this is the PHP REPL. one statement at a time, usually. useful to test-run some code. also good for
		teaching/demonstrating.</p>

	<h2>php script-file.php</h2>
	<p>this executes a script file. this is a batch execution of the many statements in the script file.</p>

	<h2>php -S localhost:80</h2>
	<p>this responds to HTTP requests, executing HTTP-requested script files, staying active as a process in run-loop.
	</p>

	<hr>

	<script src="/web/show-source.js" data-href="?show-source"></script>

</body>

</html>