Skip to content

Commit 4500dff

Browse files
authored
Update README.md
1 parent 67e1fd4 commit 4500dff

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

php/README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
PHP
22

3-
文件 filename `index.php`:
3+
Check version:
4+
5+
```sh
6+
$ php --version
7+
PHP 8.0.0 (cli) (built: Nov 30 2020 13:47:29) ( NTS )
8+
Copyright (c) The PHP Group
9+
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies
10+
with Zend OPcache v8.0.0, Copyright (c), by Zend Technologies
11+
```
12+
13+
14+
Create file `index.php`:
415

516
```php
617
<?php
@@ -15,10 +26,18 @@ var_dump($str);
1526

1627
```
1728

18-
29+
Run the code in Terminal:
1930

2031
```
2132
$ php index.php
2233
Hello, World!
2334
string(13) "Hello, World!"
2435
```
36+
37+
## References
38+
39+
https://www.php.net/
40+
41+
https://www.jetbrains.com/phpstorm/
42+
43+
-END-

0 commit comments

Comments
 (0)