The existing content of 1.php is as follows:
Copy code The code is as follows:
echo 'hinhi';
Execute the file in the command line:
Copy the code The code is as follows:
bash >> php 1 .php
hinhi
The reason why line breaks cannot be made is very simple, just replace the single quotes with double quotes.
Copy code The code is as follows:
echo "hinhi";
Execute the file in the command line:
Copy the code The code is as follows:
bash >> php 1 .php
hi
hi
http://www.bkjia.com/PHPjc/759333.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/759333.htmlTechArticleThe existing content of 1.php is as follows: Copy the code as follows: ?php echo 'hinhi'; in the command line Execute the file: Copy the code as follows: bash php 1.php hinhi The original line break cannot be used...