by Example
ドロップダウンリストを表示
Configuration of PDO::quote()
このページは英語でのみ提供されています。
<?php
/**
* PHP By Example
*
* @copyright 2015 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 pdo__quote extends function_core
{
public $examples = [
'Nice',
'Naughty \' string',
"Co'mpl''ex \"st'\"ring",
];
public $synopsis = 'public string PDO::quote ( string $string [, int $parameter_type = PDO::PARAM_STR ] )';
function pre_exec_function()
{
$this->result['pdo'] = $this->object = new PDO('sqlite::memory:', null, null, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);
}
}
ヘルプ
その他
設定
この関数のテスト
単体テスト
Powered by
PHP 7.1.33 (0.002 s)
2014-2017 Michel Corne