Php/docs/soap.constants

来自菜鸟教程
跳转至:导航、​搜索

预定义常量

下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。

SOAP constants
Constant Value Description
SOAP_1_1

(int)

1  
SOAP_1_2

(int)

2  
SOAP_PERSISTENCE_SESSION

(int)

1  
SOAP_PERSISTENCE_REQUEST

(int)

2  
SOAP_FUNCTIONS_ALL

(int)

999  
SOAP_ENCODED

(int)

1  
SOAP_LITERAL

(int)

2  
SOAP_RPC

(int)

1  
SOAP_DOCUMENT

(int)

2  
SOAP_ACTOR_NEXT

(int)

1  
SOAP_ACTOR_NONE

(int)

2  
SOAP_ACTOR_UNLIMATERECEIVER

(int)

3  
SOAP_COMPRESSION_ACCEPT

(int)

32  
SOAP_COMPRESSION_GZIP

(int)

0  
SOAP_COMPRESSION_DEFLATE

(int)

16  
SOAP_AUTHENTICATION_BASIC

(int)

0  
SOAP_AUTHENTICATION_DIGEST

(int)

1  
SOAP_SSL_METHOD_TLS

(int)

0 Since PHP 5.5.0.
SOAP_SSL_METHOD_SSLv2

(int)

1 Since PHP 5.5.0.
SOAP_SSL_METHOD_SSLv3

(int)

2 Since PHP 5.5.0.
SOAP_SSL_METHOD_SSLv23

(int)

3 Since PHP 5.5.0.
UNKNOWN_TYPE

(int)

999998  
XSD_STRING

(int)

101  
XSD_BOOLEAN

(int)

102  
XSD_DECIMAL

(int)

103  
XSD_FLOAT

(int)

104  
XSD_DOUBLE

(int)

105  
XSD_DURATION

(int)

106  
XSD_DATETIME

(int)

107  
XSD_TIME

(int)

108  
XSD_DATE

(int)

109  
XSD_GYEARMONTH

(int)

110  
XSD_GYEAR

(int)

111  
XSD_GMONTHDAY

(int)

112  
XSD_GDAY

(int)

113  
XSD_GMONTH

(int)

114  
XSD_HEXBINARY

(int)

115  
XSD_BASE64BINARY

(int)

116  
XSD_ANYURI

(int)

117  
XSD_QNAME

(int)

118  
XSD_NOTATION

(int)

119  
XSD_NORMALIZEDSTRING

(int)

120  
XSD_TOKEN

(int)

121  
XSD_LANGUAGE

(int)

122  
XSD_NMTOKEN

(int)

123  
XSD_NAME

(int)

124  
XSD_NCNAME

(int)

125  
XSD_ID

(int)

126  
XSD_IDREF

(int)

127  
XSD_IDREFS

(int)

128  
XSD_ENTITY

(int)

129  
XSD_ENTITIES

(int)

130  
XSD_INTEGER

(int)

131  
XSD_NONPOSITIVEINTEGER

(int)

132  
XSD_NEGATIVEINTEGER

(int)

133  
XSD_LONG

(int)

134  
XSD_INT

(int)

135  
XSD_SHORT

(int)

136  
XSD_BYTE

(int)

137  
XSD_NONNEGATIVEINTEGER

(int)

138  
XSD_UNSIGNEDLONG

(int)

139  
XSD_UNSIGNEDINT

(int)

140  
XSD_UNSIGNEDSHORT

(int)

141  
XSD_UNSIGNEDBYTE

(int)

142  
XSD_POSITIVEINTEGER

(int)

143  
XSD_NMTOKENS

(int)

144  
XSD_ANYTYPE

(int)

145  
XSD_ANYXML

(int)

147  
APACHE_MAP

(int)

200  
SOAP_ENC_OBJECT

(int)

301  
SOAP_ENC_ARRAY

(int)

300  
XSD_1999_TIMEINSTANT

(int)

401  
XSD_NAMESPACE

(int)

http://www.w3.org/2001/XMLSchema  
XSD_1999_NAMESPACE

(int)

http://www.w3.org/1999/XMLSchema  
SOAP_SINGLE_ELEMENT_ARRAYS

(int)

1  
SOAP_WAIT_ONE_WAY_CALLS

(int)

2  
SOAP_USE_XSI_ARRAY_TYPE

(int)

4  
WSDL_CACHE_NONE

(int)

0  
WSDL_CACHE_DISK

(int)

1  
WSDL_CACHE_MEMORY

(int)

2  
WSDL_CACHE_BOTH

(int)

3