note 119989 deleted from install.windows.commandline by cmb
| From: | cmb@php.net | Date: | Wed, 05 Oct 2016 16:46:03 +0000 |
| Subject: | note 119989 deleted from install.windows.commandline by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206778@lists.php.net to get a copy of this message | ||
Note Submitter: gmail.com after jrvmedic2@
----
While trying to get PHP 7.0.10 to run command-line scripts on Windows 7 Pro, using "php -f
myScript.php" or "php myScript.php" as commands, only the contents of the script
(including comments) were output to the console.
Most other 'scripting' languages do not require the entire body of the script to be
'packaged'. But with PHP it is necessary to add "<?php" and "?>"
at the top and bottom of the file, respectively, to yield the expected output from the script.