« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 18 for turn (0.002 sec.)
Request Injection Attacks | PHP 8.3 11736
Request Injection Attacks If you are passing $_GET (or $_POST ) parameters to your queries, make sure that they are cast to strings first. Users can insert associative arrays in GET and POST requests, which could then become unwanted $-quer ... 'username'] ]) . Someone could subvert this by getting http://www.example.com?username[$ne]=foo , which PHP will magically turn into an associative array, turning your query into $q = new \MongoDB\Driver\Query( [ 'username' => [ '$ne' => 'foo' ] ] ) ... , which will return all users not named "foo" (all of your users, probably). This is a fairly easy attack to defend against: make sure $_GET a ...
https://man.mtool.work/php/8.3/mongodb.security.request_injection.html
mysqli::autocommit — データベース更新の自動コミットをオンまたはオフにする | PHP... 11736
mysqli::autocommit mysqli_autocommit (PHP 5, PHP 7, PHP 8) mysqli::autocommit -- mysqli_autocommit — データベース更新の自動コミットをオンまたはオフにする 説明 オブジェクト指向型 public function mysqli::autocommit ( bool $enable ): bool 手続 ... BLE IF NOT EXISTS language ( Code text NOT NULL, Speakers int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;" ); /* Turn autocommit off */ $mysqli -> autocommit ( false ); $result = $mysqli -> query ( "SELECT @@autocommit" ); $row = $result -> ... BLE IF NOT EXISTS language ( Code text NOT NULL, Speakers int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;" ); /* Turn autocommit off */ mysqli_autocommit ( $mysqli , false ); $result = mysqli_query ( $mysqli , "SELECT @@autocommit" ); $row ...
https://man.mtool.work/php/8.3/mysqli.autocommit.html
Ds\Hashable::hash — Returns a scalar value to be used as a hash value | PHP 8.3 10071
Ds\Hashable::hash (PECL ds >= 1.0.0) Ds\Hashable::hash — Returns a scalar value to be used as a hash value 説明 abstract public function Ds\Hashable::hash (): mixed Returns a scalar value to be used as the hash value of the objects. While t ... equals() must have the same hash value. Hash values of equal objects don't have to be unique, for example you could just return true for all objects and nothing would break - the only implication would be that hash tables then turn into linked lists ... mail ; public function __construct ( $name , $email ) { $this -> name = $name ; $this -> email = $email ; } /** * Should return the same value for all equal objects, but doesn't have to * be unique. This value will not be used to determine equality. ... */ public function hash () { return $this -> email ; } /** * This determines equality, usually during a hash table lookup to determine * if the bucket's key m ...
https://man.mtool.work/php/8.3/ds-hashable.hash.html
sqlsrv_send_stream_data — Sends data from parameter streams to the server | PHP... 10071
sqlsrv_send_stream_data (No version information available, might only be in Git) sqlsrv_send_stream_data — Sends data from parameter streams to the server 説明 function sqlsrv_send_stream_data ( resource $stmt ): bool Send data from paramet ... er streams to the server. Up to 8 KB of data is sent with each call. パラメータ stmt A statement resource returned by sqlsrv_query() or sqlsrv_execute() . 戻り値 Returns true if there is more data to send and false if there is not. 例 ... /plain,[ Lengthy content here. ]" , "r" ); $params = array( & $data ); // Prepare the statement. Use the $options array to turn off the // default behavior, which is to send all stream data at the time of query // execution. $options = array( "SendSt ...
https://man.mtool.work/php/8.3/function.sqlsrv-send-stream-data.html
The QuickHashIntHash class | PHP 8.3 9231
The QuickHashIntHash class (PECL quickhash >= Unknown) はじめに This class wraps around a hash containing integer numbers, where the values are also integer numbers. Hashes are also available as implementation of the ArrayAccess interface. ... can also be iterated over with foreach as the Iterator interface is implemented as well. The order of which elements are returned in is not guaranteed. クラス概要 class QuickHashIntHash { /* 定数 */ const int CHECK_FOR_DUPES = 1 ; const int DO_NOT_US ... than normal hashing, and gives more collisions. QuickHashIntHash::HASHER_JENKINS1 This is the default hashing function to turn the integer hashes into bucket list indexes. QuickHashIntHash::HASHER_JENKINS2 Selects a variant hashing algorithm. 目次 Q ... t of the hash QuickHashIntHash::get — This method retrieves a value from the hash by its key QuickHashIntHash::getSize — Returns the number of elements in the hash QuickHashIntHash::loadFromFile — This factory method creates a hash from a file QuickH ...
https://man.mtool.work/php/8.3/class.quickhashinthash.html
The QuickHashIntSet class | PHP 8.3 9231
The QuickHashIntSet class (PECL quickhash >= Unknown) はじめに This class wraps around a set containing integer numbers. Sets can also be iterated over with foreach as the Iterator interface is implemented as well. The order of which elemen ... ts are returned in is not guaranteed. クラス概要 class QuickHashIntSet { /* 定数 */ const int CHECK_FOR_DUPES = 1 ; const int DO_NOT_USE ... r than normal hashing, and gives more collisions. QuickHashIntSet::HASHER_JENKINS1 This is the default hashing function to turn the integer hashes into bucket list indexes. QuickHashIntSet::HASHER_JENKINS2 Selects a variant hashing algorithm. 目次 Qu ... ry from the set QuickHashIntSet::exists — This method checks whether a key is part of the set QuickHashIntSet::getSize — Returns the number of elements in the set QuickHashIntSet::loadFromFile — This factory method creates a set from a file QuickHash ...
https://man.mtool.work/php/8.3/class.quickhashintset.html
Script Injection Attacks | PHP 8.3 9231
Script Injection Attacks If you are using JavaScript, make sure that any variables that cross the PHP- to-JavaScript boundary are passed in the scope field of MongoDB\BSON\Javascript , not interpolated into the JavaScript string. This can c ... helps to prevent malicious input from being executed by the database. However, you must make sure that your code does not turn around and execute the input anyway! It is best to avoid executing any JavaScript on the server in the first place. You ar ...
https://man.mtool.work/php/8.3/mongodb.security.script_injection.html
実行時設定 | PHP 8.3 9231
実行時設定 php.ini の設定により動作が変化します。 Yac 設定オプション 名前 デフォルト 変更可能 変更履歴 yac.compress_threshold 4K INI_SYSTEM yac.debug 0 INI_ALL yac.enable 1 INI_SYSTEM yac.enable_cli 0 INI_SYSTEM yac.keys_memory_size 8M INI_ ... r enable yac.compress_threshold to shrink large payloads. See Memory Management . yac.serializer string Serializer used to turn arbitrary PHP values into bytes before storing them. Allowed values are php (the default), json , igbinary and msgpack . T ...
https://man.mtool.work/php/8.3/yac.configuration.html
The QuickHashIntStringHash class | PHP 8.3 8390
The QuickHashIntStringHash class (PECL quickhash >= Unknown) はじめに This class wraps around a hash containing integer numbers, where the values are strings. Hashes are also available as implementation of the ArrayAccess interface. Hashes ... can also be iterated over with foreach as the Iterator interface is implemented as well. The order of which elements are returned in is not guaranteed. クラス概要 class QuickHashIntStringHash { /* 定数 */ const int CHECK_FOR_DUPES = 1 ; const int DO_ ... normal hashing, and gives more collisions. QuickHashIntStringHash::HASHER_JENKINS1 This is the default hashing function to turn the integer hashes into bucket list indexes. QuickHashIntStringHash::HASHER_JENKINS2 Selects a variant hashing algorithm. ... h QuickHashIntStringHash::get — This method retrieves a value from the hash by its key QuickHashIntStringHash::getSize — Returns the number of elements in the hash QuickHashIntStringHash::loadFromFile — This factory method creates a hash from a file ...
https://man.mtool.work/php/8.3/class.quickhashintstringhash.html
sqlsrv_connect — Opens a connection to a Microsoft SQL Server database | PHP 8.... 8390
sqlsrv_connect (No version information available, might only be in Git) sqlsrv_connect — Opens a connection to a Microsoft SQL Server database 説明 function sqlsrv_connect ( string $serverName , array $connectionInfo = ? ): resource Opens a ... see » SQLSRV Connection Options . 戻り値 A connection resource. If a connection cannot be successfully opened, false is returned. 例 例1 Connect using Windows Authentication. <?php $serverName = "serverName\\sqlexpress" ; //serverName\instanceName / ... rors (), true )); } ?> 注意 By default, the sqlsrv_connect() uses connection pooling to improve connection performance. To turn off connection pooling (i.e. force a new connection on each call), set the "ConnectionPooling" option in the $connectionOp ... 参考 sqlsrv_close() - Closes an open connection and releases resources associated with the connection sqlsrv_errors() - Returns error and warning information about the last SQLSRV operation performed sqlsrv_query() - Prepares and executes a query 他 ...
https://man.mtool.work/php/8.3/function.sqlsrv-connect.html
PREV 1 2 NEXT