by Example
Показать выпадающий список
Configuration of substr_compare()
Эта страница доступна только на английском языке.
<?php
/**
* PHP By Example
*
* @copyright 2014 Michel Corne
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU GPL v3
*/
require_once 'models/function_core.php';
/**
* Function configuration
*
* @see docs/function-configuration.txt
*/
class substr_compare extends function_core
{
public $examples = [
[
"abcde",
"bc",
1,
2
],
[
"abcde",
"de",
-2,
2
],
[
"abcde",
"bcg",
1,
2
],
[
"abcde",
"BC",
1,
2,
true
],
[
"abcde",
"bc",
1,
3
],
[
"abcde",
"cd",
1,
2
],
[
"abcde",
"abc",
5,
1
]
];
public $synopsis = 'int substr_compare ( string $main_str , string $str , int $offset [, int $length [, bool $case_insensitivity = false ]] )';
}
Powered by
PHP 7.1.33 (0.003 s)
2014-2017 Michel Corne