<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="soap.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.soap.html">SOAP Functions</a></div> <div class="up"><a href="book.soap.html">SOAP</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="soap.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. </p> <table class="doctable table"> <caption><strong>SOAP constants</strong></caption> <thead> <tr> <th>Constant</th> <th>Value</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.soap-1-1"> <td> <strong><code>SOAP_1_1</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>1</td> <td class="empty"> </td> </tr> <tr id="constant.soap-1-2"> <td> <strong><code>SOAP_1_2</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>2</td> <td class="empty"> </td> </tr> <tr id="constant.soap-persistence-session"> <td> <strong><code>SOAP_PERSISTENCE_SESSION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>1</td> <td class="empty"> </td> </tr> <tr id="constant.soap-persistence-request"> <td> <strong><code>SOAP_PERSISTENCE_REQUEST</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>2</td> <td class="empty"> </td> </tr> <tr id="constant.soap-functions-all"> <td> <strong><code>SOAP_FUNCTIONS_ALL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>999</td> <td class="empty"> </td> </tr> <tr id="constant.soap-encoded"> <td> <strong><code>SOAP_ENCODED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>1</td> <td class="empty"> </td> </tr> <tr id="constant.soap-literal"> <td> <strong><code>SOAP_LITERAL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>2</td> <td class="empty"> </td> </tr> <tr id="constant.soap-rpc"> <td> <strong><code>SOAP_RPC</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>1</td> <td class="empty"> </td> </tr> <tr id="constant.soap-document"> <td> <strong><code>SOAP_DOCUMENT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>2</td> <td class="empty"> </td> </tr> <tr id="constant.soap-actor-next"> <td> <strong><code>SOAP_ACTOR_NEXT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>1</td> <td class="empty"> </td> </tr> <tr id="constant.soap-actor-none"> <td> <strong><code>SOAP_ACTOR_NONE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>2</td> <td class="empty"> </td> </tr> <tr id="constant.soap-actor-unlimatereceiver"> <td> <strong><code>SOAP_ACTOR_UNLIMATERECEIVER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>3</td> <td class="empty"> </td> </tr> <tr id="constant.soap-compression-accept"> <td> <strong><code>SOAP_COMPRESSION_ACCEPT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>32</td> <td class="empty"> </td> </tr> <tr id="constant.soap-compression-gzip"> <td> <strong><code>SOAP_COMPRESSION_GZIP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>0</td> <td class="empty"> </td> </tr> <tr id="constant.soap-compression-deflate"> <td> <strong><code>SOAP_COMPRESSION_DEFLATE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>16</td> <td class="empty"> </td> </tr> <tr id="constant.soap-authentication-basic"> <td> <strong><code>SOAP_AUTHENTICATION_BASIC</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>0</td> <td class="empty"> </td> </tr> <tr id="constant.soap-authentication-digest"> <td> <strong><code>SOAP_AUTHENTICATION_DIGEST</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>1</td> <td class="empty"> </td> </tr> <tr id="constant.soap-ssl-method-tls"> <td> <strong><code>SOAP_SSL_METHOD_TLS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>0</td> <td>Since PHP 5.5.0.</td> </tr> <tr id="constant.soap-ssl-method-sslv2"> <td> <strong><code>SOAP_SSL_METHOD_SSLv2</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>1</td> <td>Since PHP 5.5.0.</td> </tr> <tr id="constant.soap-ssl-method-sslv3"> <td> <strong><code>SOAP_SSL_METHOD_SSLv3</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>2</td> <td>Since PHP 5.5.0.</td> </tr> <tr id="constant.soap-ssl-method-sslv23"> <td> <strong><code>SOAP_SSL_METHOD_SSLv23</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>3</td> <td>Since PHP 5.5.0.</td> </tr> <tr id="constant.unknown-type"> <td> <strong><code>UNKNOWN_TYPE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>999998</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-string"> <td> <strong><code>XSD_STRING</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>101</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-boolean"> <td> <strong><code>XSD_BOOLEAN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>102</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-decimal"> <td> <strong><code>XSD_DECIMAL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>103</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-float"> <td> <strong><code>XSD_FLOAT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>104</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-double"> <td> <strong><code>XSD_DOUBLE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>105</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-duration"> <td> <strong><code>XSD_DURATION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>106</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-datetime"> <td> <strong><code>XSD_DATETIME</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>107</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-time"> <td> <strong><code>XSD_TIME</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>108</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-date"> <td> <strong><code>XSD_DATE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>109</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-gyearmonth"> <td> <strong><code>XSD_GYEARMONTH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>110</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-gyear"> <td> <strong><code>XSD_GYEAR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>111</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-gmonthday"> <td> <strong><code>XSD_GMONTHDAY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>112</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-gday"> <td> <strong><code>XSD_GDAY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>113</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-gmonth"> <td> <strong><code>XSD_GMONTH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>114</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-hexbinary"> <td> <strong><code>XSD_HEXBINARY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>115</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-base64binary"> <td> <strong><code>XSD_BASE64BINARY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>116</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-anyuri"> <td> <strong><code>XSD_ANYURI</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>117</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-qname"> <td> <strong><code>XSD_QNAME</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>118</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-notation"> <td> <strong><code>XSD_NOTATION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>119</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-normalizedstring"> <td> <strong><code>XSD_NORMALIZEDSTRING</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>120</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-token"> <td> <strong><code>XSD_TOKEN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>121</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-language"> <td> <strong><code>XSD_LANGUAGE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>122</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-nmtoken"> <td> <strong><code>XSD_NMTOKEN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>123</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-name"> <td> <strong><code>XSD_NAME</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>124</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-ncname"> <td> <strong><code>XSD_NCNAME</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>125</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-id"> <td> <strong><code>XSD_ID</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>126</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-idref"> <td> <strong><code>XSD_IDREF</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>127</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-idrefs"> <td> <strong><code>XSD_IDREFS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>128</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-entity"> <td> <strong><code>XSD_ENTITY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>129</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-entities"> <td> <strong><code>XSD_ENTITIES</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>130</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-integer"> <td> <strong><code>XSD_INTEGER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>131</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-nonpositiveinteger"> <td> <strong><code>XSD_NONPOSITIVEINTEGER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>132</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-negativeinteger"> <td> <strong><code>XSD_NEGATIVEINTEGER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>133</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-long"> <td> <strong><code>XSD_LONG</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>134</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-int"> <td> <strong><code>XSD_INT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>135</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-short"> <td> <strong><code>XSD_SHORT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>136</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-byte"> <td> <strong><code>XSD_BYTE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>137</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-nonnegativeinteger"> <td> <strong><code>XSD_NONNEGATIVEINTEGER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>138</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-unsignedlong"> <td> <strong><code>XSD_UNSIGNEDLONG</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>139</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-unsignedint"> <td> <strong><code>XSD_UNSIGNEDINT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>140</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-unsignedshort"> <td> <strong><code>XSD_UNSIGNEDSHORT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>141</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-unsignedbyte"> <td> <strong><code>XSD_UNSIGNEDBYTE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>142</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-positiveinteger"> <td> <strong><code>XSD_POSITIVEINTEGER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>143</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-nmtokens"> <td> <strong><code>XSD_NMTOKENS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>144</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-anytype"> <td> <strong><code>XSD_ANYTYPE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>145</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-anyxml"> <td> <strong><code>XSD_ANYXML</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>147</td> <td class="empty"> </td> </tr> <tr id="constant.apache-map"> <td> <strong><code>APACHE_MAP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>200</td> <td class="empty"> </td> </tr> <tr id="constant.soap-enc-object"> <td> <strong><code>SOAP_ENC_OBJECT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>301</td> <td class="empty"> </td> </tr> <tr id="constant.soap-enc-array"> <td> <strong><code>SOAP_ENC_ARRAY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>300</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-1999-timeinstant"> <td> <strong><code>XSD_1999_TIMEINSTANT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>401</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-namespace"> <td> <strong><code>XSD_NAMESPACE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>http://www.w3.org/2001/XMLSchema</td> <td class="empty"> </td> </tr> <tr id="constant.xsd-1999-namespace"> <td> <strong><code>XSD_1999_NAMESPACE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>http://www.w3.org/1999/XMLSchema</td> <td class="empty"> </td> </tr> <tr id="constant.soap-single-element-arrays"> <td> <strong><code>SOAP_SINGLE_ELEMENT_ARRAYS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>1</td> <td class="empty"> </td> </tr> <tr id="constant.soap-wait-one-way-calls"> <td> <strong><code>SOAP_WAIT_ONE_WAY_CALLS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>2</td> <td class="empty"> </td> </tr> <tr id="constant.soap-use-xsi-array-type"> <td> <strong><code>SOAP_USE_XSI_ARRAY_TYPE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>4</td> <td class="empty"> </td> </tr> <tr id="constant.wsdl-cache-none"> <td> <strong><code>WSDL_CACHE_NONE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>0</td> <td class="empty"> </td> </tr> <tr id="constant.wsdl-cache-disk"> <td> <strong><code>WSDL_CACHE_DISK</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>1</td> <td class="empty"> </td> </tr> <tr id="constant.wsdl-cache-memory"> <td> <strong><code>WSDL_CACHE_MEMORY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>2</td> <td class="empty"> </td> </tr> <tr id="constant.wsdl-cache-both"> <td> <strong><code>WSDL_CACHE_BOTH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td>3</td> <td class="empty"> </td> </tr> </tbody> </table> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="soap.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.soap.html">SOAP Functions</a></div> <div class="up"><a href="book.soap.html">SOAP</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>