by Example
显示下拉菜单
Configuration of iconv_strpos()
本页面仅提供英文版本。
<?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
*
* Changes to this class may affect other classes.
*
* @see docs/function-configuration.txt
*/
class iconv_strpos extends function_core
{
public $examples = [
[
"hello world",
'world',
0,
"UTF-8",
],
];
public $options_getter = ['charset' => 'mb_list_encodings'];
public $source_code = '
inject_function_call
// enter non ASCII chars in hex in $_haystack or $_needle if $_charset is not UTF-8
';
public $synopsis = 'int iconv_strpos ( string $haystack , string $needle [, int $offset = 0 [, string $charset = ini_get("iconv.internal_encoding") ]] )';
}
帮助
杂项
配置
测试
单元测试
Powered by
PHP 7.1.33 (0.003 s)
2014-2017 Michel Corne