mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 14:28:27 +08:00
[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:
@ -41,7 +41,7 @@ class BaseStringHelper
|
||||
* @param int $length the desired portion length. If not specified or `null`, there will be
|
||||
* no limit on length i.e. the output will be until the end of the string.
|
||||
* @return string the extracted part of string, or FALSE on failure or an empty string.
|
||||
* @see https://secure.php.net/manual/en/function.substr.php
|
||||
* @see https://www.php.net/manual/en/function.substr.php
|
||||
*/
|
||||
public static function byteSubstr($string, $start, $length = null)
|
||||
{
|
||||
@ -63,7 +63,7 @@ class BaseStringHelper
|
||||
* @param string $path A path string.
|
||||
* @param string $suffix If the name component ends in suffix this will also be cut off.
|
||||
* @return string the trailing name component of the given path.
|
||||
* @see https://secure.php.net/manual/en/function.basename.php
|
||||
* @see https://www.php.net/manual/en/function.basename.php
|
||||
*/
|
||||
public static function basename($path, $suffix = '')
|
||||
{
|
||||
@ -88,7 +88,7 @@ class BaseStringHelper
|
||||
*
|
||||
* @param string $path A path string.
|
||||
* @return string the parent directory's path.
|
||||
* @see https://secure.php.net/manual/en/function.basename.php
|
||||
* @see https://www.php.net/manual/en/function.basename.php
|
||||
*/
|
||||
public static function dirname($path)
|
||||
{
|
||||
@ -440,7 +440,7 @@ class BaseStringHelper
|
||||
* @param string $string the string to be proceeded
|
||||
* @param string $encoding Optional, defaults to "UTF-8"
|
||||
* @return string
|
||||
* @see https://secure.php.net/manual/en/function.ucfirst.php
|
||||
* @see https://www.php.net/manual/en/function.ucfirst.php
|
||||
* @since 2.0.16
|
||||
*/
|
||||
public static function mb_ucfirst($string, $encoding = 'UTF-8')
|
||||
|
Reference in New Issue
Block a user