Results of 1 - 10 of about 57 for we (0.029 sec.)
- Architecture Overview 15684
- « Driver Architecture and Internals Connections » PHP Manual Driver Architecture and Internals A
...
architecture has replaced the old mongo extension. We refer to the new one as the mongodb extension. At ...
op of this stack sits a pure » PHP library , which we will distribute as a Composer package. This librar ...
abase and collection objects, command helpers) and we expect it to be a common dependency for most appli ...
ommunity drivers, too). Sitting below that library we have the lower level driver. This extension will e ...
-
https://man.plustar.jp/php/mongodb.overview.html
- [similar]
- Returns EventHttpConnection object 11425
- « EventHttpRequest::getCommand EventHttpRequest::getHost » PHP Manual EventHttpRequest Returns E
...
to be not bound to any HTTP connection. Therefore we can't unambiguously associate EventHttpRequest wit ...
h EventHttpConnection . Thus, we construct EventHttpConnection object on-the-fly. H ...
vent base, DNS base and connection-close callback, we just leave these fields unset. EventHttpRequest::g ...
etConnection() method is usually useful when we need to set up a callback on connection close. See ...
-
https://man.plustar.jp/php/eventhttprequest.getconnection.html
- [similar]
- Application Performance Monitoring (APM) 10793
- « Using the PHP Library for MongoDB (PHPLIB) Driver Architecture and Internals » PHP Manual Tuto
...
ing\CommandSucceededEvent object. In this tutorial we will implement a subscriber that creates a list of ...
erage time they took. Subscriber Class Scaffolding We start with the framework for our subscriber: <?php ...
field. To record the average time per query shape, we will start by checking for a find command in the c ...
ommandStarted event. We will then add an item to the pendingCommands prope ...
-
https://man.plustar.jp/php/mongodb.tutorial.apm.html
- [similar]
- Free a buffer event 9457
- « EventBufferEvent::enable EventBufferEvent::getDnsErrorString » PHP Manual EventBufferEvent Fre
...
y it is done within internal object destructors. However, sometimes we have a long-time script allocatin ...
nces, or a script with a heavy memory usage, where we need to free resources as soon as possible. In suc ...
tBufferEvent , a , free , パラメータ , resources , we , memory ...
-
https://man.plustar.jp/php/eventbufferevent.free.html
- [similar]
- Set callback for connection close 8825
- « EventHttpConnection::makeRequest EventHttpConnection::setLocalAddress » PHP Manual EventHttpCo
...
ose_callback' , NULL ); /* By enabling Event::READ we protect the server against unclosed conections. Th ...
o each time client terminates connection abruptly, we get an orphaned connection. For instance, the foll ...
fferEvent (); $bev -> enable ( Event :: READ ); // We have to free it explicitly. See EventHttpRequest:: ...
getConnection() $bev->free(); // we have to free it explicitly $req->addHeader( 'Conte ...
-
https://man.plustar.jp/php/eventhttpconnection.setclosecallback.html
- [similar]
- The EventBufferEvent class 8679
- « EventBuffer::write EventBufferEvent::close » PHP Manual Event The EventBufferEvent class The E
...
ing in addition to just responding to events. When we want to write data, for example, the usual pattern ...
looks like: Decide that we want to write some data to a connection; put that ...
on to become writable Write as much of the data as we can Remember how much we wrote, and if we still ha ...
-
https://man.plustar.jp/php/class.eventbufferevent.html
- [similar]
- 通貨をパースする 8444
- « NumberFormatter::getTextAttribute NumberFormatter::parse » PHP Manual NumberFormatter 通貨をパ
...
CURRENCY ); $num = "1.234.567,89\xc2\xa0$" ; echo "We have " . numfmt_parse_currency ( $fmt , $num , $cu ...
CURRENCY ); $num = "1.234.567,89\xc2\xa0$" ; echo "We have " . $fmt -> parseCurrency ( $num , $curr ). " ...
in $curr \n" ; ?> 上の例の出力は以下となります。 We have 1234567.89 in USD 参考 numfmt_get_error_code( ...
-
https://man.plustar.jp/php/numberformatter.parsecurrency.html
- [similar]
- 例 7651
- « リソース型 Event flags » PHP Manual Event 例 例 例1 Simple HTTP client <?php // Read callback
...
v [ 0 ]} www.google.com / EOS; exit(); } $base = new EventBase (); $dns_base = new EventDnsBase ( $base ...
, TRUE ); // We'll use async DNS resolving if (! $dns_base ) { exi ...
t( "Failed to init DNS Base\n" ); } $bev = new EventBufferEvent ( $base , /* use internal socket * ...
$base -> exit (); exit( "Done\n" ); } } $base = new EventBase (); echo "step 1\n" ; $bev = new EventBuf ...
-
https://man.plustar.jp/php/event.examples.html
- [similar]
- The MongoDB\Driver\ServerApi class 7577
- « MongoDB\Driver\ClientEncryption::encrypt MongoDB\Driver\ServerApi::bsonSerialize » PHP Manual
...
dInfo command returns a single result document, so we need to access * the first result in the cursor. * ...
dInfo command returns a single result document, so we need to access * the first result in the cursor. * ...
-
https://man.plustar.jp/php/class.mongodb-driver-serverapi.html
- [similar]
- Script Injection Attacks 7577
- « Request Injection Attacks MongoDB\Driver » PHP Manual Security Script Injection Attacks Script
...
JavaScript into the database. For example, suppose we have some JavaScript to greet a user in the databa ...
se logs. We could do: <?php $m = new MongoDB \ Driver \ Manage ...
r = $m -> executeCommand ( 'dramio' , $cmd ); ?> However, what if a malicious user passes in some JavaSc ...
cious input from being executed by the database. However, you must make sure that your code does not tur ...
-
https://man.plustar.jp/php/mongodb.security.script_injection.html
- [similar]