phan: Remove internal stubs that should never be used
* dom: This PHP extension is an installation requirement so should
always be available.
* oci8: Oracle support was removed in 1.34 (4d10bb14e8).
* sqlsrv: Likewise for Microsoft SQL Server.
Change-Id: Id53f4ce477a19cff0063d3d60a405647249e7202
This commit is contained in:
parent
09e80b986e
commit
3aa7f762a1
4 changed files with 0 additions and 1288 deletions
|
|
@ -75,16 +75,13 @@ $cfg['analyzed_file_extensions'] = array_merge(
|
|||
);
|
||||
|
||||
$cfg['autoload_internal_extension_signatures'] = [
|
||||
'dom' => '.phan/internal_stubs/dom.phan_php',
|
||||
'excimer' => '.phan/internal_stubs/excimer.php',
|
||||
'imagick' => '.phan/internal_stubs/imagick.phan_php',
|
||||
'memcached' => '.phan/internal_stubs/memcached.phan_php',
|
||||
'oci8' => '.phan/internal_stubs/oci8.phan_php',
|
||||
'pcntl' => '.phan/internal_stubs/pcntl.phan_php',
|
||||
'pgsql' => '.phan/internal_stubs/pgsql.phan_php',
|
||||
'redis' => '.phan/internal_stubs/redis.phan_php',
|
||||
'sockets' => '.phan/internal_stubs/sockets.phan_php',
|
||||
'sqlsrv' => '.phan/internal_stubs/sqlsrv.phan_php',
|
||||
'tideways' => '.phan/internal_stubs/tideways.phan_php',
|
||||
'wikidiff2' => '.phan/internal_stubs/wikidiff.php'
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,420 +0,0 @@
|
|||
<?php
|
||||
// These stubs were generated by the phan stub generator.
|
||||
// @phan-stub-for-extension dom@20031129
|
||||
|
||||
namespace {
|
||||
class DOMAttr extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $name;
|
||||
public $ownerElement;
|
||||
public $schemaTypeInfo;
|
||||
public $specified;
|
||||
public $value;
|
||||
|
||||
// methods
|
||||
public function isId() {}
|
||||
public function __construct($name, $value = null) {}
|
||||
}
|
||||
|
||||
class DOMCdataSection extends \DOMText {
|
||||
|
||||
// methods
|
||||
public function __construct($value) {}
|
||||
}
|
||||
|
||||
class DOMCharacterData extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $data;
|
||||
public $length;
|
||||
|
||||
// methods
|
||||
public function substringData($offset, $count) {}
|
||||
public function appendData($arg) {}
|
||||
public function insertData($offset, $arg) {}
|
||||
public function deleteData($offset, $count) {}
|
||||
public function replaceData($offset, $count, $arg) {}
|
||||
}
|
||||
|
||||
class DOMComment extends \DOMCharacterData {
|
||||
|
||||
// methods
|
||||
public function __construct($value = null) {}
|
||||
}
|
||||
|
||||
class DOMConfiguration {
|
||||
|
||||
// methods
|
||||
public function setParameter($name, $value) {}
|
||||
public function getParameter($name = null) {}
|
||||
public function canSetParameter($name = null, $value = null) {}
|
||||
}
|
||||
|
||||
class DOMDocument extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $actualEncoding;
|
||||
public $config;
|
||||
public $doctype;
|
||||
public $documentElement;
|
||||
public $documentURI;
|
||||
public $encoding;
|
||||
public $formatOutput;
|
||||
public $implementation;
|
||||
public $preserveWhiteSpace;
|
||||
public $recover;
|
||||
public $resolveExternals;
|
||||
public $standalone;
|
||||
public $strictErrorChecking;
|
||||
public $substituteEntities;
|
||||
public $validateOnParse;
|
||||
public $version;
|
||||
public $xmlEncoding;
|
||||
public $xmlStandalone;
|
||||
public $xmlVersion;
|
||||
|
||||
// methods
|
||||
public function createElement($tagName, $value = null) {}
|
||||
public function createDocumentFragment() {}
|
||||
public function createTextNode($data) {}
|
||||
public function createComment($data) {}
|
||||
public function createCDATASection($data) {}
|
||||
public function createProcessingInstruction($target, $data) {}
|
||||
public function createAttribute($name) {}
|
||||
public function createEntityReference($name) {}
|
||||
public function getElementsByTagName($tagName) {}
|
||||
public function importNode(\DOMNode $importedNode, $deep) {}
|
||||
public function createElementNS($namespaceURI, $qualifiedName, $value = null) {}
|
||||
public function createAttributeNS($namespaceURI, $qualifiedName) {}
|
||||
public function getElementsByTagNameNS($namespaceURI, $localName) {}
|
||||
public function getElementById($elementId) {}
|
||||
public function adoptNode(\DOMNode $source) {}
|
||||
public function normalizeDocument() {}
|
||||
public function renameNode(\DOMNode $node, $namespaceURI, $qualifiedName) {}
|
||||
public function load($source, $options = null) {}
|
||||
public function save($file) {}
|
||||
public function loadXML($source, $options = null) {}
|
||||
public function saveXML(\DOMNode $node = null, $options = null) {}
|
||||
public function __construct($version = null, $encoding = null) {}
|
||||
public function validate() {}
|
||||
public function xinclude($options = null) {}
|
||||
public function loadHTML($source, $options = null) {}
|
||||
public function loadHTMLFile($source, $options = null) {}
|
||||
public function saveHTML() {}
|
||||
public function saveHTMLFile($file) {}
|
||||
public function schemaValidate($filename) {}
|
||||
public function schemaValidateSource($source) {}
|
||||
public function relaxNGValidate($filename) {}
|
||||
public function relaxNGValidateSource($source) {}
|
||||
public function registerNodeClass($baseClass, $extendedClass) {}
|
||||
}
|
||||
|
||||
class DOMDocumentFragment extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $name;
|
||||
|
||||
// methods
|
||||
public function __construct() {}
|
||||
public function appendXML($data) {}
|
||||
}
|
||||
|
||||
class DOMDocumentType extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $entities;
|
||||
public $internalSubset;
|
||||
public $name;
|
||||
public $notations;
|
||||
public $publicId;
|
||||
public $systemId;
|
||||
}
|
||||
|
||||
class DOMDomError {
|
||||
}
|
||||
|
||||
class DOMElement extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $schemaTypeInfo;
|
||||
public $tagName;
|
||||
|
||||
// methods
|
||||
public function getAttribute($name) {}
|
||||
public function setAttribute($name, $value) {}
|
||||
public function removeAttribute($name) {}
|
||||
public function getAttributeNode($name) {}
|
||||
public function setAttributeNode(\DOMAttr $newAttr) {}
|
||||
public function removeAttributeNode(\DOMAttr $oldAttr) {}
|
||||
public function getElementsByTagName($name) {}
|
||||
public function getAttributeNS($namespaceURI, $localName) {}
|
||||
public function setAttributeNS($namespaceURI, $qualifiedName, $value) {}
|
||||
public function removeAttributeNS($namespaceURI, $localName) {}
|
||||
public function getAttributeNodeNS($namespaceURI, $localName) {}
|
||||
public function setAttributeNodeNS(\DOMAttr $newAttr) {}
|
||||
public function getElementsByTagNameNS($namespaceURI, $localName) {}
|
||||
public function hasAttribute($name) {}
|
||||
public function hasAttributeNS($namespaceURI, $localName) {}
|
||||
public function setIdAttribute($name, $isId) {}
|
||||
public function setIdAttributeNS($namespaceURI, $localName, $isId) {}
|
||||
public function setIdAttributeNode(\DOMAttr $attr, $isId) {}
|
||||
public function __construct($name, $value = null, $uri = null) {}
|
||||
}
|
||||
|
||||
class DOMEntity extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $actualEncoding;
|
||||
public $encoding;
|
||||
public $notationName;
|
||||
public $publicId;
|
||||
public $systemId;
|
||||
public $version;
|
||||
}
|
||||
|
||||
class DOMEntityReference extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $name;
|
||||
|
||||
// methods
|
||||
public function __construct($name) {}
|
||||
}
|
||||
|
||||
class DOMErrorHandler {
|
||||
|
||||
// methods
|
||||
public function handleError(\DOMDomError $error) {}
|
||||
}
|
||||
|
||||
final class DOMException extends \Exception {
|
||||
|
||||
// properties
|
||||
public $code;
|
||||
protected $message;
|
||||
protected $file;
|
||||
protected $line;
|
||||
}
|
||||
|
||||
class DOMImplementation {
|
||||
|
||||
// properties
|
||||
public $name;
|
||||
|
||||
// methods
|
||||
public function getFeature($feature, $version) {}
|
||||
public function hasFeature() {}
|
||||
public function createDocumentType($qualifiedName, $publicId, $systemId) {}
|
||||
public function createDocument($namespaceURI, $qualifiedName, \DOMDocumentType $docType) {}
|
||||
}
|
||||
|
||||
class DOMImplementationList {
|
||||
|
||||
// methods
|
||||
public function item($index) {}
|
||||
}
|
||||
|
||||
class DOMImplementationSource {
|
||||
|
||||
// methods
|
||||
public function getDomimplementation($features) {}
|
||||
public function getDomimplementations($features) {}
|
||||
}
|
||||
|
||||
class DOMLocator {
|
||||
}
|
||||
|
||||
class DOMNameList {
|
||||
|
||||
// methods
|
||||
public function getName($index) {}
|
||||
public function getNamespaceURI($index) {}
|
||||
}
|
||||
|
||||
class DOMNameSpaceNode {
|
||||
}
|
||||
|
||||
class DOMNamedNodeMap implements \Traversable, \Countable {
|
||||
|
||||
// properties
|
||||
public $length;
|
||||
|
||||
// methods
|
||||
public function getNamedItem($name) {}
|
||||
public function setNamedItem(\DOMNode $arg) {}
|
||||
public function removeNamedItem($name = null) {}
|
||||
public function item($index = null) {}
|
||||
public function getNamedItemNS($namespaceURI = null, $localName = null) {}
|
||||
public function setNamedItemNS(\DOMNode $arg = null) {}
|
||||
public function removeNamedItemNS($namespaceURI = null, $localName = null) {}
|
||||
public function count() {}
|
||||
}
|
||||
|
||||
class DOMNode {
|
||||
|
||||
// properties
|
||||
public $attributes;
|
||||
public $baseURI;
|
||||
public $childNodes;
|
||||
public $firstChild;
|
||||
public $lastChild;
|
||||
public $localName;
|
||||
public $namespaceURI;
|
||||
public $nextSibling;
|
||||
public $nodeName;
|
||||
public $nodeType;
|
||||
public $nodeValue;
|
||||
public $ownerDocument;
|
||||
public $parentNode;
|
||||
public $prefix;
|
||||
public $previousSibling;
|
||||
public $textContent;
|
||||
|
||||
// methods
|
||||
public function insertBefore(\DOMNode $newChild, \DOMNode $refChild = null) {}
|
||||
public function replaceChild(\DOMNode $newChild, \DOMNode $oldChild) {}
|
||||
public function removeChild(\DOMNode $oldChild) {}
|
||||
public function appendChild(\DOMNode $newChild) {}
|
||||
public function hasChildNodes() {}
|
||||
public function cloneNode($deep = null) {}
|
||||
public function normalize() {}
|
||||
public function isSupported($feature, $version) {}
|
||||
public function hasAttributes() {}
|
||||
public function compareDocumentPosition(\DOMNode $other) {}
|
||||
public function isSameNode(\DOMNode $other) {}
|
||||
public function lookupPrefix($namespaceURI) {}
|
||||
public function isDefaultNamespace($namespaceURI) {}
|
||||
public function lookupNamespaceUri($prefix) {}
|
||||
public function isEqualNode(\DOMNode $arg) {}
|
||||
public function getFeature($feature, $version) {}
|
||||
public function setUserData($key, $data, $handler) {}
|
||||
public function getUserData($key) {}
|
||||
public function getNodePath() {}
|
||||
public function getLineNo() {}
|
||||
public function C14N($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {}
|
||||
public function C14NFile($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {}
|
||||
}
|
||||
|
||||
class DOMNodeList implements \Traversable, \Countable {
|
||||
|
||||
// properties
|
||||
public $length;
|
||||
|
||||
// methods
|
||||
public function item($index) {}
|
||||
public function count() {}
|
||||
}
|
||||
|
||||
class DOMNotation extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $publicId;
|
||||
public $systemId;
|
||||
}
|
||||
|
||||
class DOMProcessingInstruction extends \DOMNode {
|
||||
|
||||
// properties
|
||||
public $data;
|
||||
public $target;
|
||||
|
||||
// methods
|
||||
public function __construct($name, $value = null) {}
|
||||
}
|
||||
|
||||
class DOMStringExtend {
|
||||
|
||||
// methods
|
||||
public function findOffset16($offset32) {}
|
||||
public function findOffset32($offset16) {}
|
||||
}
|
||||
|
||||
class DOMStringList {
|
||||
|
||||
// methods
|
||||
public function item($index) {}
|
||||
}
|
||||
|
||||
class DOMText extends \DOMCharacterData {
|
||||
|
||||
// properties
|
||||
public $wholeText;
|
||||
|
||||
// methods
|
||||
public function splitText($offset) {}
|
||||
public function isWhitespaceInElementContent() {}
|
||||
public function isElementContentWhitespace() {}
|
||||
public function replaceWholeText($content) {}
|
||||
public function __construct($value = null) {}
|
||||
}
|
||||
|
||||
class DOMTypeinfo {
|
||||
}
|
||||
|
||||
class DOMUserDataHandler {
|
||||
|
||||
// methods
|
||||
public function handle() {}
|
||||
}
|
||||
|
||||
class DOMXPath {
|
||||
|
||||
// properties
|
||||
public $document;
|
||||
|
||||
// methods
|
||||
public function __construct(\DOMDocument $doc) {}
|
||||
public function registerNamespace($prefix, $uri) {}
|
||||
public function query($expr, \DOMNode $context = null, $registerNodeNS = null) {}
|
||||
public function evaluate($expr, \DOMNode $context = null, $registerNodeNS = null) {}
|
||||
public function registerPhpFunctions() {}
|
||||
}
|
||||
|
||||
function dom_import_simplexml($node) {}
|
||||
const DOMSTRING_SIZE_ERR = 2;
|
||||
const DOM_HIERARCHY_REQUEST_ERR = 3;
|
||||
const DOM_INDEX_SIZE_ERR = 1;
|
||||
const DOM_INUSE_ATTRIBUTE_ERR = 10;
|
||||
const DOM_INVALID_ACCESS_ERR = 15;
|
||||
const DOM_INVALID_CHARACTER_ERR = 5;
|
||||
const DOM_INVALID_MODIFICATION_ERR = 13;
|
||||
const DOM_INVALID_STATE_ERR = 11;
|
||||
const DOM_NAMESPACE_ERR = 14;
|
||||
const DOM_NOT_FOUND_ERR = 8;
|
||||
const DOM_NOT_SUPPORTED_ERR = 9;
|
||||
const DOM_NO_DATA_ALLOWED_ERR = 6;
|
||||
const DOM_NO_MODIFICATION_ALLOWED_ERR = 7;
|
||||
const DOM_PHP_ERR = 0;
|
||||
const DOM_SYNTAX_ERR = 12;
|
||||
const DOM_VALIDATION_ERR = 16;
|
||||
const DOM_WRONG_DOCUMENT_ERR = 4;
|
||||
const XML_ATTRIBUTE_CDATA = 1;
|
||||
const XML_ATTRIBUTE_DECL_NODE = 16;
|
||||
const XML_ATTRIBUTE_ENTITY = 6;
|
||||
const XML_ATTRIBUTE_ENUMERATION = 9;
|
||||
const XML_ATTRIBUTE_ID = 2;
|
||||
const XML_ATTRIBUTE_IDREF = 3;
|
||||
const XML_ATTRIBUTE_IDREFS = 4;
|
||||
const XML_ATTRIBUTE_NMTOKEN = 7;
|
||||
const XML_ATTRIBUTE_NMTOKENS = 8;
|
||||
const XML_ATTRIBUTE_NODE = 2;
|
||||
const XML_ATTRIBUTE_NOTATION = 10;
|
||||
const XML_CDATA_SECTION_NODE = 4;
|
||||
const XML_COMMENT_NODE = 8;
|
||||
const XML_DOCUMENT_FRAG_NODE = 11;
|
||||
const XML_DOCUMENT_NODE = 9;
|
||||
const XML_DOCUMENT_TYPE_NODE = 10;
|
||||
const XML_DTD_NODE = 14;
|
||||
const XML_ELEMENT_DECL_NODE = 15;
|
||||
const XML_ELEMENT_NODE = 1;
|
||||
const XML_ENTITY_DECL_NODE = 17;
|
||||
const XML_ENTITY_NODE = 6;
|
||||
const XML_ENTITY_REF_NODE = 5;
|
||||
const XML_HTML_DOCUMENT_NODE = 13;
|
||||
const XML_LOCAL_NAMESPACE = 18;
|
||||
const XML_NAMESPACE_DECL_NODE = 18;
|
||||
const XML_NOTATION_NODE = 12;
|
||||
const XML_PI_NODE = 7;
|
||||
const XML_TEXT_NODE = 3;
|
||||
}
|
||||
|
|
@ -1,589 +0,0 @@
|
|||
<?php
|
||||
|
||||
// @phan-stub-for-extension oci8@2.0.7
|
||||
|
||||
|
||||
class OCI_Lob {
|
||||
|
||||
|
||||
public function load () {}
|
||||
|
||||
|
||||
public function tell () {}
|
||||
|
||||
|
||||
public function truncate ($length = 0) {}
|
||||
|
||||
|
||||
public function erase ($offset = null, $length = null) {}
|
||||
|
||||
|
||||
public function flush ($flag = null) {}
|
||||
|
||||
|
||||
public function setbuffering ($on_off) {}
|
||||
|
||||
|
||||
public function getbuffering () {}
|
||||
|
||||
|
||||
public function rewind () {}
|
||||
|
||||
|
||||
public function read ($length) {}
|
||||
|
||||
|
||||
public function eof () {}
|
||||
|
||||
|
||||
public function seek ($offset, $whence = OCI_SEEK_SET) {}
|
||||
|
||||
|
||||
public function write ($data, $length = null) {}
|
||||
|
||||
|
||||
public function append (OCI_Lob $lob_from) {}
|
||||
|
||||
|
||||
public function size () {}
|
||||
|
||||
|
||||
public function writetofile ($filename, $start, $length) {}
|
||||
|
||||
|
||||
public function export ($filename, $start = null, $length = null) {}
|
||||
|
||||
|
||||
public function import ($filename) {}
|
||||
|
||||
|
||||
public function writeTemporary ($data, $lob_type = OCI_TEMP_CLOB) {}
|
||||
|
||||
|
||||
public function close () {}
|
||||
|
||||
|
||||
public function save ($data, $offset = null) {}
|
||||
|
||||
|
||||
public function savefile ($filename) {}
|
||||
|
||||
|
||||
public function free () {}
|
||||
|
||||
}
|
||||
|
||||
|
||||
class OCI_Collection {
|
||||
|
||||
|
||||
public function append ($value) {}
|
||||
|
||||
|
||||
public function getelem ($index) {}
|
||||
|
||||
|
||||
public function assignelem ($index, $value) {}
|
||||
|
||||
|
||||
public function assign (OCI_Collection $from) {}
|
||||
|
||||
|
||||
public function size () {}
|
||||
|
||||
|
||||
public function max () {}
|
||||
|
||||
|
||||
public function trim ($num) {}
|
||||
|
||||
|
||||
public function free () {}
|
||||
|
||||
}
|
||||
|
||||
|
||||
function oci_define_by_name ($statement, $column_name, &$variable, $type = SQLT_CHR) {}
|
||||
|
||||
|
||||
function oci_bind_by_name ($statement, $bv_name, &$variable, $maxlength = -1, $type = SQLT_CHR) {}
|
||||
|
||||
|
||||
function oci_bind_array_by_name ($statement, $name, array &$var_array, $max_table_length, $max_item_length = -1, $type = SQLT_AFC) {}
|
||||
|
||||
|
||||
function oci_field_is_null ($statement, $field) {}
|
||||
|
||||
|
||||
function oci_field_name ($statement, $field) {}
|
||||
|
||||
|
||||
function oci_field_size ($statement, $field) {}
|
||||
|
||||
|
||||
function oci_field_scale ($statement, $field) {}
|
||||
|
||||
|
||||
function oci_field_precision ($statement, $field) {}
|
||||
|
||||
|
||||
function oci_field_type ($statement, $field) {}
|
||||
|
||||
|
||||
function oci_field_type_raw ($statement, $field) {}
|
||||
|
||||
|
||||
function oci_execute ($statement, $mode = OCI_COMMIT_ON_SUCCESS) {}
|
||||
|
||||
|
||||
function oci_cancel ($statement) {}
|
||||
|
||||
|
||||
function oci_fetch ($statement) {}
|
||||
|
||||
|
||||
function oci_fetch_object ($statement) {}
|
||||
|
||||
|
||||
function oci_fetch_row ($statement) {}
|
||||
|
||||
|
||||
function oci_fetch_assoc ($statement) {}
|
||||
|
||||
|
||||
function oci_fetch_array ($statement, $mode = null) {}
|
||||
|
||||
|
||||
function ocifetchinto ($statement_resource, &$result, $mode = null) {}
|
||||
|
||||
|
||||
function oci_fetch_all ($statement, array &$output, $skip = 0, $maxrows = -1, $flags = OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC) {}
|
||||
|
||||
|
||||
function oci_free_statement ($statement) {}
|
||||
|
||||
|
||||
function oci_internal_debug ($onoff) {}
|
||||
|
||||
|
||||
function oci_num_fields ($statement) {}
|
||||
|
||||
|
||||
function oci_parse ($connection, $sql_text) {}
|
||||
|
||||
|
||||
function oci_get_implicit_resultset ($statement) {}
|
||||
|
||||
|
||||
function oci_new_cursor ($connection) {}
|
||||
|
||||
|
||||
function oci_result ($statement, $field) {}
|
||||
|
||||
|
||||
function oci_client_version () {}
|
||||
|
||||
|
||||
function oci_server_version ($connection) {}
|
||||
|
||||
|
||||
function oci_statement_type ($statement) {}
|
||||
|
||||
|
||||
function oci_num_rows ($statement) {}
|
||||
|
||||
|
||||
function oci_close ($connection) {}
|
||||
|
||||
|
||||
function oci_connect ($username, $password, $connection_string = null, $character_set = null, $session_mode = null) {}
|
||||
|
||||
|
||||
function oci_new_connect ($username, $password, $connection_string = null, $character_set = null, $session_mode = null) {}
|
||||
|
||||
|
||||
function oci_pconnect ($username, $password, $connection_string = null, $character_set = null, $session_mode = null) {}
|
||||
|
||||
|
||||
function oci_error ($resource = null) {}
|
||||
|
||||
|
||||
function oci_free_descriptor ($descriptor) {}
|
||||
|
||||
|
||||
function oci_lob_is_equal (OCI_Lob $lob1, OCI_Lob $lob2) {}
|
||||
|
||||
|
||||
function oci_lob_copy (OCI_Lob $lob_to, OCI_Lob $lob_from, $length = 0) {}
|
||||
|
||||
|
||||
function oci_commit ($connection) {}
|
||||
|
||||
|
||||
function oci_rollback ($connection) {}
|
||||
|
||||
|
||||
function oci_new_descriptor ($connection, $type = OCI_DTYPE_LOB) {}
|
||||
|
||||
|
||||
function oci_set_prefetch ($statement, $rows) {}
|
||||
|
||||
|
||||
function oci_set_client_identifier ($connection, $client_identifier) {}
|
||||
|
||||
|
||||
function oci_set_edition ($edition) {}
|
||||
|
||||
|
||||
function oci_set_module_name ($connection, $module_name) {}
|
||||
|
||||
|
||||
function oci_set_action ($connection, $action_name) {}
|
||||
|
||||
|
||||
function oci_set_client_info ($connection, $client_info) {}
|
||||
|
||||
|
||||
function oci_password_change ($connection, $username, $old_password, $new_password) {}
|
||||
|
||||
|
||||
function oci_new_collection ($connection, $tdo, $schema = null) {}
|
||||
|
||||
|
||||
function oci_free_cursor ($statement_resource) {}
|
||||
|
||||
|
||||
function ocifreecursor ($statement_resource) {}
|
||||
|
||||
|
||||
function ocibindbyname ($statement, $column_name, &$variable, $maximum_length = -1, $type = SQLT_CHR) {}
|
||||
|
||||
|
||||
function ocidefinebyname ($statement, $column_name, &$variable, $type = SQLT_CHR) {}
|
||||
|
||||
|
||||
function ocicolumnisnull ($statement, $column_number_or_name) {}
|
||||
|
||||
|
||||
function ocicolumnname ($statement, $column_number) {}
|
||||
|
||||
|
||||
function ocicolumnsize ($statement, $column_number_or_name) {}
|
||||
|
||||
|
||||
function ocicolumnscale ($statement_resource, $column_number) {}
|
||||
|
||||
|
||||
function ocicolumnprecision ($statement_resource, $column_number) {}
|
||||
|
||||
|
||||
function ocicolumntype ($statement_resource, $column_number) {}
|
||||
|
||||
|
||||
function ocicolumntyperaw ($statement_resource, $column_number) {}
|
||||
|
||||
|
||||
function ociexecute ($statement_resource, $mode = OCI_COMMIT_ON_SUCCESS) {}
|
||||
|
||||
|
||||
function ocicancel ($statement_resource) {}
|
||||
|
||||
|
||||
function ocifetch ($statement_resource) {}
|
||||
|
||||
|
||||
function ocifetchstatement ($statement_resource, &$output, $skip, $maximum_rows, $flags) {}
|
||||
|
||||
|
||||
function ocifreestatement ($statement_resource) {}
|
||||
|
||||
|
||||
function ociinternaldebug ($mode) {}
|
||||
|
||||
|
||||
function ocinumcols ($statement_resource) {}
|
||||
|
||||
|
||||
function ociparse ($connection_resource, $sql_text) {}
|
||||
|
||||
|
||||
function ocinewcursor ($connection_resource) {}
|
||||
|
||||
|
||||
function ociresult ($statement_resource, $column_number_or_name) {}
|
||||
|
||||
|
||||
function ociserverversion ($connection_resource) {}
|
||||
|
||||
|
||||
function ocistatementtype ($statement_resource) {}
|
||||
|
||||
|
||||
function ocirowcount ($statement_resource) {}
|
||||
|
||||
|
||||
function ocilogoff ($connection_resource) {}
|
||||
|
||||
|
||||
function ocilogon ($username, $password, $connection_string, $character_set, $session_mode) {}
|
||||
|
||||
|
||||
function ocinlogon ($username, $password, $connection_string, $character_set, $session_mode) {}
|
||||
|
||||
|
||||
function ociplogon ($username, $password, $connection_string, $character_set, $session_mode) {}
|
||||
|
||||
|
||||
function ocierror ($connection_or_statement_resource) {}
|
||||
|
||||
|
||||
function ocifreedesc ($lob_descriptor) {}
|
||||
|
||||
|
||||
function ocisavelob ($lob_descriptor, $data, $offset) {}
|
||||
|
||||
|
||||
function ocisavelobfile ($lob_descriptor, $filename) {}
|
||||
|
||||
|
||||
function ociwritelobtofile ($lob_descriptor, $filename, $start, $length) {}
|
||||
|
||||
|
||||
function ociloadlob ($lob_descriptor) {}
|
||||
|
||||
|
||||
function ocicommit ($connection_resource) {}
|
||||
|
||||
|
||||
function ocirollback ($connection_resource) {}
|
||||
|
||||
|
||||
function ocinewdescriptor ($connection_resource, $type = OCI_DTYPE_LOB) {}
|
||||
|
||||
|
||||
function ocisetprefetch ($statement_resource, $number_of_rows) {}
|
||||
|
||||
|
||||
function ocipasswordchange ($connection_resource_or_connection_string_or_dbname, $username, $old_password, $new_password) {}
|
||||
|
||||
|
||||
function ocifreecollection ($collection) {}
|
||||
|
||||
|
||||
function ocinewcollection ($connection_resource, $tdo, $schema = null) {}
|
||||
|
||||
|
||||
function ocicollappend ($collection, $value) {}
|
||||
|
||||
|
||||
function ocicollgetelem ($collection, $index) {}
|
||||
|
||||
|
||||
function ocicollassignelem ($collection, $index, $value) {}
|
||||
|
||||
|
||||
function ocicollsize ($collection) {}
|
||||
|
||||
|
||||
function ocicollmax ($collection) {}
|
||||
|
||||
|
||||
function ocicolltrim ($collection, $number) {}
|
||||
|
||||
|
||||
|
||||
function ociwritetemporarylob($lob_descriptor, $data, $lob_type = OCI_TEMP_CLOB ) {}
|
||||
|
||||
|
||||
function ocicloselob($lob_descriptor){}
|
||||
|
||||
|
||||
function ocicollassign($to, $from ) {}
|
||||
|
||||
define ('OCI_DEFAULT', 0);
|
||||
|
||||
|
||||
define ('OCI_SYSOPER', 4);
|
||||
|
||||
|
||||
define ('OCI_SYSDBA', 2);
|
||||
|
||||
|
||||
define ('OCI_CRED_EXT', -2147483648);
|
||||
|
||||
|
||||
define ('OCI_DESCRIBE_ONLY', 16);
|
||||
|
||||
|
||||
define ('OCI_COMMIT_ON_SUCCESS', 32);
|
||||
|
||||
|
||||
define ('OCI_NO_AUTO_COMMIT', 0);
|
||||
|
||||
|
||||
define ('OCI_EXACT_FETCH', 2);
|
||||
|
||||
|
||||
define ('OCI_SEEK_SET', 0);
|
||||
|
||||
|
||||
define ('OCI_SEEK_CUR', 1);
|
||||
|
||||
|
||||
define ('OCI_SEEK_END', 2);
|
||||
|
||||
|
||||
define ('OCI_LOB_BUFFER_FREE', 1);
|
||||
|
||||
|
||||
define ('SQLT_BFILEE', 114);
|
||||
|
||||
|
||||
define ('SQLT_CFILEE', 115);
|
||||
|
||||
|
||||
define ('SQLT_CLOB', 112);
|
||||
|
||||
|
||||
define ('SQLT_BLOB', 113);
|
||||
|
||||
|
||||
define ('SQLT_RDD', 104);
|
||||
|
||||
|
||||
define ('SQLT_INT', 3);
|
||||
|
||||
|
||||
define ('SQLT_NUM', 2);
|
||||
|
||||
|
||||
define ('SQLT_RSET', 116);
|
||||
|
||||
|
||||
define ('SQLT_AFC', 96);
|
||||
|
||||
|
||||
define ('SQLT_CHR', 1);
|
||||
|
||||
|
||||
define ('SQLT_VCS', 9);
|
||||
|
||||
|
||||
define ('SQLT_AVC', 97);
|
||||
|
||||
|
||||
define ('SQLT_STR', 5);
|
||||
|
||||
|
||||
define ('SQLT_LVC', 94);
|
||||
|
||||
|
||||
define ('SQLT_FLT', 4);
|
||||
|
||||
|
||||
define ('SQLT_UIN', 68);
|
||||
|
||||
|
||||
define ('SQLT_LNG', 8);
|
||||
|
||||
|
||||
define ('SQLT_LBI', 24);
|
||||
|
||||
|
||||
define ('SQLT_BIN', 23);
|
||||
|
||||
|
||||
define ('SQLT_ODT', 156);
|
||||
|
||||
|
||||
define ('SQLT_BDOUBLE', 22);
|
||||
|
||||
|
||||
define ('SQLT_BFLOAT', 21);
|
||||
|
||||
|
||||
define ('OCI_B_NTY', 108);
|
||||
|
||||
|
||||
define ('SQLT_NTY', 108);
|
||||
|
||||
|
||||
define ('OCI_SYSDATE', "SYSDATE");
|
||||
|
||||
|
||||
define ('OCI_B_BFILE', 114);
|
||||
|
||||
|
||||
define ('OCI_B_CFILEE', 115);
|
||||
|
||||
|
||||
define ('OCI_B_CLOB', 112);
|
||||
|
||||
|
||||
define ('OCI_B_BLOB', 113);
|
||||
|
||||
|
||||
define ('OCI_B_ROWID', 104);
|
||||
|
||||
|
||||
define ('OCI_B_CURSOR', 116);
|
||||
|
||||
|
||||
define ('OCI_B_BIN', 23);
|
||||
|
||||
|
||||
define ('OCI_B_INT', 3);
|
||||
|
||||
|
||||
define ('OCI_B_NUM', 2);
|
||||
|
||||
|
||||
define ('OCI_FETCHSTATEMENT_BY_COLUMN', 16);
|
||||
|
||||
|
||||
define ('OCI_FETCHSTATEMENT_BY_ROW', 32);
|
||||
|
||||
|
||||
define ('OCI_ASSOC', 1);
|
||||
|
||||
|
||||
define ('OCI_NUM', 2);
|
||||
|
||||
|
||||
define ('OCI_BOTH', 3);
|
||||
|
||||
|
||||
define ('OCI_RETURN_NULLS', 4);
|
||||
|
||||
|
||||
define ('OCI_RETURN_LOBS', 8);
|
||||
|
||||
|
||||
define ('OCI_DTYPE_FILE', 56);
|
||||
|
||||
|
||||
define ('OCI_DTYPE_LOB', 50);
|
||||
|
||||
|
||||
define ('OCI_DTYPE_ROWID', 54);
|
||||
|
||||
|
||||
define ('OCI_D_FILE', 56);
|
||||
|
||||
|
||||
define ('OCI_D_LOB', 50);
|
||||
|
||||
|
||||
define ('OCI_D_ROWID', 54);
|
||||
|
||||
|
||||
define ('OCI_TEMP_CLOB', 2);
|
||||
|
||||
|
||||
define ('OCI_TEMP_BLOB', 1);
|
||||
|
||||
|
||||
define ('SQLT_BOL', 252);
|
||||
|
||||
|
||||
define ('OCI_B_BOL', 252);
|
||||
|
|
@ -1,276 +0,0 @@
|
|||
<?php
|
||||
// @phan-stub-for-extension sqlsrv@3.0.1
|
||||
|
||||
define('SQLSRV_ERR_ERRORS', 0);
|
||||
|
||||
|
||||
define('SQLSRV_ERR_WARNINGS', 1);
|
||||
|
||||
|
||||
define('SQLSRV_ERR_ALL', 2);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SYSTEM_ALL',-1);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SYSTEM_OFF', 0);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SYSTEM_INIT', 1);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SYSTEM_CONN', 2);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SYSTEM_STMT', 4);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SYSTEM_UTIL', 8);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SEVERITY_ALL', -1);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SEVERITY_ERROR', 1);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SEVERITY_NOTICE', 4);
|
||||
|
||||
|
||||
define('SQLSRV_LOG_SEVERITY_WARNING', 2);
|
||||
|
||||
|
||||
define('SQLSRV_FETCH_NUMERIC', 1);
|
||||
|
||||
|
||||
define('SQLSRV_FETCH_ASSOC', 2);
|
||||
|
||||
|
||||
define('SQLSRV_FETCH_BOTH', 3);
|
||||
|
||||
|
||||
define('SQLSRV_PHPTYPE_NULL', 1);
|
||||
|
||||
|
||||
define('SQLSRV_PHPTYPE_INT', 2);
|
||||
|
||||
|
||||
define('SQLSRV_PHPTYPE_FLOAT', 3);
|
||||
|
||||
|
||||
define('SQLSRV_PHPTYPE_DATETIME', 4);
|
||||
|
||||
|
||||
define('SQLSRV_ENC_BINARY', 'binary');
|
||||
|
||||
|
||||
define('SQLSRV_ENC_CHAR','char');
|
||||
|
||||
|
||||
define('SQLSRV_NULLABLE_NO', 0);
|
||||
|
||||
|
||||
define('SQLSRV_NULLABLE_YES', 1);
|
||||
|
||||
|
||||
define('SQLSRV_NULLABLE_UNKNOWN', 2);
|
||||
|
||||
|
||||
define('SQLSRV_SQLTYPE_BIGINT', -5);
|
||||
|
||||
define('SQLSRV_SQLTYPE_BIT', -7);
|
||||
|
||||
define('SQLSRV_SQLTYPE_DATETIME', 25177693);
|
||||
|
||||
define('SQLSRV_SQLTYPE_FLOAT', 6);
|
||||
|
||||
define('SQLSRV_SQLTYPE_IMAGE', -4);
|
||||
|
||||
define('SQLSRV_SQLTYPE_INT', 4);
|
||||
|
||||
define('SQLSRV_SQLTYPE_MONEY', 33564163);
|
||||
|
||||
define('SQLSRV_SQLTYPE_NTEXT', -10);
|
||||
|
||||
define('SQLSRV_SQLTYPE_TEXT', -1);
|
||||
|
||||
define('SQLSRV_SQLTYPE_REAL', 7);
|
||||
|
||||
define('SQLSRV_SQLTYPE_SMALLDATETIME', 8285);
|
||||
|
||||
define('SQLSRV_SQLTYPE_SMALLINT', 5);
|
||||
|
||||
define('SQLSRV_SQLTYPE_SMALLMONEY', 33559555);
|
||||
|
||||
define('SQLSRV_SQLTYPE_TIMESTAMP', 4606);
|
||||
|
||||
define('SQLSRV_SQLTYPE_TINYINT', -6);
|
||||
|
||||
define('SQLSRV_SQLTYPE_UDT', -151);
|
||||
|
||||
define('SQLSRV_SQLTYPE_UNIQUEIDENTIFIER', -11);
|
||||
|
||||
define('SQLSRV_SQLTYPE_XML', -152);
|
||||
|
||||
define('SQLSRV_SQLTYPE_DATE', 5211);
|
||||
|
||||
define('SQLSRV_SQLTYPE_TIME', 58728806);
|
||||
|
||||
define('SQLSRV_SQLTYPE_DATETIMEOFFSET', 58738021);
|
||||
|
||||
define('SQLSRV_SQLTYPE_DATETIME2', 58734173);
|
||||
|
||||
|
||||
define('SQLSRV_PARAM_IN', 1);
|
||||
|
||||
|
||||
define('SQLSRV_PARAM_INOUT', 2);
|
||||
|
||||
|
||||
define('SQLSRV_PARAM_OUT', 4);
|
||||
|
||||
|
||||
define('SQLSRV_TXN_READ_UNCOMMITTED', 1);
|
||||
|
||||
define('SQLSRV_TXN_READ_COMMITTED', 2);
|
||||
|
||||
define('SQLSRV_TXN_REPEATABLE_READ', 4);
|
||||
|
||||
define('SQLSRV_TXN_SERIALIZABLE', 8);
|
||||
|
||||
define('SQLSRV_TXN_SNAPSHOT', 32);
|
||||
|
||||
|
||||
define('SQLSRV_SCROLL_NEXT', 1);
|
||||
|
||||
define('SQLSRV_SCROLL_PRIOR', 4);
|
||||
|
||||
define('SQLSRV_SCROLL_FIRST', 2);
|
||||
|
||||
define('SQLSRV_SCROLL_LAST', 3);
|
||||
|
||||
define('SQLSRV_SCROLL_ABSOLUTE', 5);
|
||||
|
||||
define('SQLSRV_SCROLL_RELATIVE', 6);
|
||||
|
||||
|
||||
define('SQLSRV_CURSOR_FORWARD', 'forward');
|
||||
|
||||
define('SQLSRV_CURSOR_STATIC', 'static');
|
||||
|
||||
define('SQLSRV_CURSOR_DYNAMIC', 'dynamic');
|
||||
|
||||
define('SQLSRV_CURSOR_KEYSET', 'keyset');
|
||||
|
||||
define('SQLSRV_CURSOR_CLIENT_BUFFERED', 'buffered');
|
||||
|
||||
|
||||
|
||||
function sqlsrv_connect($server_name, $connection_info = array()){}
|
||||
|
||||
|
||||
function sqlsrv_close($conn){}
|
||||
|
||||
|
||||
function sqlsrv_commit($conn){}
|
||||
|
||||
|
||||
function sqlsrv_begin_transaction($conn){}
|
||||
|
||||
|
||||
function sqlsrv_rollback($conn){}
|
||||
|
||||
|
||||
function sqlsrv_errors($errorsAndOrWarnings = SQLSRV_ERR_ALL){}
|
||||
|
||||
|
||||
function sqlsrv_configure($setting, $value){}
|
||||
|
||||
|
||||
function sqlsrv_get_config($setting){}
|
||||
|
||||
|
||||
function sqlsrv_prepare($conn, $tsql, $params=array(), $options=array()){}
|
||||
|
||||
|
||||
function sqlsrv_execute($stmt){}
|
||||
|
||||
|
||||
function sqlsrv_query($conn, $tsql, $params=array(), $options=array()){}
|
||||
|
||||
|
||||
function sqlsrv_fetch($stmt, $row=null, $offset=null){}
|
||||
|
||||
|
||||
function sqlsrv_get_field($stmt, $field_index, $get_as_type){}
|
||||
|
||||
|
||||
function sqlsrv_fetch_array($stmt, $fetch_type = null, $row=null, $offset=null){}
|
||||
|
||||
|
||||
function sqlsrv_fetch_object($stmt, $class_name=null, $ctor_params=null, $row=null, $offset=null){}
|
||||
|
||||
|
||||
function sqlsrv_has_rows($stmt){}
|
||||
|
||||
|
||||
function sqlsrv_num_fields($stmt){}
|
||||
|
||||
|
||||
function sqlsrv_next_result($stmt){}
|
||||
|
||||
|
||||
function sqlsrv_num_rows($stmt){}
|
||||
|
||||
|
||||
function sqlsrv_rows_affected($stmt){}
|
||||
|
||||
|
||||
function sqlsrv_client_info($conn){}
|
||||
|
||||
|
||||
function sqlsrv_server_info($conn){}
|
||||
|
||||
|
||||
function sqlsrv_cancel($stmt){}
|
||||
|
||||
|
||||
function sqlsrv_free_stmt($stmt){}
|
||||
|
||||
|
||||
function sqlsrv_field_metadata($stmt){}
|
||||
|
||||
|
||||
function sqlsrv_send_stream_data($stmt){}
|
||||
|
||||
|
||||
function SQLSRV_PHPTYPE_STREAM($encoding){}
|
||||
|
||||
|
||||
function SQLSRV_PHPTYPE_STRING($encoding){}
|
||||
|
||||
|
||||
function SQLSRV_SQLTYPE_BINARY($byteCount){}
|
||||
|
||||
|
||||
function SQLSRV_SQLTYPE_VARBINARY($byteCount){}
|
||||
|
||||
|
||||
|
||||
function SQLSRV_SQLTYPE_VARCHAR($charCount) {}
|
||||
|
||||
|
||||
function SQLSRV_SQLTYPE_CHAR($charCount){}
|
||||
|
||||
|
||||
function SQLSRV_SQLTYPE_NCHAR($charCount){}
|
||||
|
||||
|
||||
function SQLSRV_SQLTYPE_NVARCHAR($charCount){}
|
||||
|
||||
|
||||
function SQLSRV_SQLTYPE_DECIMAL($precision, $scale){}
|
||||
|
||||
|
||||
function SQLSRV_SQLTYPE_NUMERIC($precision, $scale){}
|
||||
|
||||
Loading…
Reference in a new issue