[doc] Update PHP doc links (#18957)

* Replace https://secure.php.net with https://www.php.net

* Replace http://www.php.net with https://www.php.net
This commit is contained in:
Bizley
2021-10-19 14:50:26 +02:00
committed by GitHub
parent b22bcaebfd
commit 0041f034fd
221 changed files with 596 additions and 596 deletions

View File

@ -189,7 +189,7 @@ JS
```
The above example code uses PHP
[Heredoc syntax](https://secure.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc) for better readability. This also enables better syntax highlighting in most IDEs so it is the
[Heredoc syntax](https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc) for better readability. This also enables better syntax highlighting in most IDEs so it is the
preferred way of writing inline JavaScript, especially useful for code that is longer than a single line. The variable `$message` is created in PHP and
thanks to [[yii\helpers\Json::htmlEncode|Json::htmlEncode]] it contains the
string in valid JS syntax, which can be inserted into the JavaScript code to place the dynamic string in the function call to `alert()`.