पीएचपी mysqli मतदान () समारोह
परिभाषा और उपयोग
पोल () / mysqli_poll () फ़ंक्शन का उपयोग पोल कनेक्शन के लिए किया जाता है।
वाक्य - विन्यास
वस्तु उन्मुख शैली:
$mysqli -> poll(read, error, reject, seconds, microseconds)
प्रक्रियात्मक शैली:
mysqli_poll(read, error, reject, seconds, microseconds)
पैरामीटर मान
Parameter | Description |
---|---|
read | Required. Specifies a list of connections to check for outstanding results that can be read |
error | Required. Specifies a list of connections on which an error occurred, like query failure or lost connection |
reject | Required. Specifies a list of connections rejected because no asynchronous query has been run on for which the function could poll results |
seconds | Required. Specifies the maximum number of seconds to wait |
microseconds | Optional. Specifies the maximum number of microseconds to wait. Default is 0 |
टेक्निकल डिटेल
प्रतिलाभ की मात्रा: | सफलता पर तैयार कनेक्शनों की संख्या। विफलता पर FALSE |
---|---|
पीएचपी संस्करण: | 5.3+ |
❮ PHP MySQLi संदर्भ