Results of 1 - 6 of about 6 for demo (0.002 sec.)
- 検証フィルタ 11314
- « 除去フィルタのフラグ 除去フィルタ » PHP Manual 定義済み定数 検証フィルタ 検索 検証フィルタ 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です
... <?php var_dump ( filter_var ( 'javascript://x%0aalert(1)' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( 'javascript://?demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( 'news:?demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( 'phar:// ... demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( '123://demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( '-://demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( 'http://12 ... ER_VALIDATE_URL )); ?> 上の例の出力は以下となります。 string(25) "javascript://x%0aalert(1)" bool(false) string(10) "news:?demo" string(11) "phar://demo" string(10) "123://demo" string(8) "-://demo" string(16) "http://127.0.0.1" string(18) "gopher:// ...
-
https://man.mtool.work/php/8.3/filter.constants.validation.html
- 検証フィルタ 11314
- « 除去フィルタのフラグ 除去フィルタ » PHP Manual 定義済み定数 検証フィルタ 検索 検証フィルタ 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です
... <?php var_dump ( filter_var ( 'javascript://x%0aalert(1)' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( 'javascript://?demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( 'news:?demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( 'phar:// ... demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( '123://demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( '-://demo' , FILTER_VALIDATE_URL )); var_dump ( filter_var ( 'http://12 ... ER_VALIDATE_URL )); ?> 上の例の出力は以下となります。 string(25) "javascript://x%0aalert(1)" bool(false) string(10) "news:?demo" string(11) "phar://demo" string(10) "123://demo" string(8) "-://demo" string(16) "http://127.0.0.1" string(18) "gopher:// ...
-
https://man.mtool.work/php/8.3/filter.constants.validation.html
- Using the PHP Library for MongoDB (PHPLIB) 9742
- « Tutorials Application Performance Monitoring (APM) » PHP Manual Tutorials Using the PHP Library for MongoDB (PHPLIB) 検索 Using the PHP Library for MongoDB (PHPLIB) After the initial extension set-up, we will continue explaining how to ge
... (e.g. » CRUD methods, index management). As an example, this is how you insert a document into the beers collection of the demo database: <?php require 'vendor/autoload.php' ; // include Composer's autoloader $client = new MongoDB\Client ( "mongodb:/ ... /localhost:27017" ); $collection = $client -> demo -> beers ; $result = $collection -> insertOne ( [ 'name' => 'Hinterland' , 'brewery' => 'BrewDog' ] ); echo "Inserted with ... ; // include Composer's autoloader $client = new MongoDB\Client ( "mongodb://localhost:27017" ); $collection = $client -> demo -> beers ; $result = $collection -> find ( [ 'name' => 'Hinterland' , 'brewery' => 'BrewDog' ] ); foreach ( $result as $en ...
-
https://man.mtool.work/php/8.3/mongodb.tutorial.library.html
- Using the PHP Library for MongoDB (PHPLIB) 8609
- « Tutorials Application Performance Monitoring (APM) » PHP Manual Tutorials Using the PHP Library for MongoDB (PHPLIB) 検索 Using the PHP Library for MongoDB (PHPLIB) After the initial extension set-up, we will continue explaining how to ge
... (e.g. » CRUD methods, index management). As an example, this is how you insert a document into the beers collection of the demo database: <?php require 'vendor/autoload.php' ; // include Composer's autoloader $client = new MongoDB\Client ( "mongodb:/ ... /localhost:27017" ); $collection = $client -> demo -> beers ; $result = $collection -> insertOne ( [ 'name' => 'Hinterland' , 'brewery' => 'BrewDog' ] ); echo "Inserted with ... ; // include Composer's autoloader $client = new MongoDB\Client ( "mongodb://localhost:27017" ); $collection = $client -> demo -> beers ; $result = $collection -> find ( [ 'name' => 'Hinterland' , 'brewery' => 'BrewDog' ] ); foreach ( $result as $en ...
-
https://man.mtool.work/php/8.3/mongodb.tutorial.library.html
- ファイル名がパターンにマッチするか調べる 6909
- « flock fopen » PHP Manual ファイルシステム 関数 ファイル名がパターンにマッチするか調べる 検索 fnmatch (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) fnmatch — ファイル名がパターンにマッチするか調べる 説明 function fnmatch ( string $pattern , string
... ] のように使えます。 ! エクスクラメーションマークは、 角括弧内の文字を否定するのに使います。 たとえば、 "[!A-Z]*.html" は "demo.html" にマッチしますが、 "Demo.html" にはマッチしません。 \ バックスラッシュは、特別な文字をエスケープするのに使います。 た ...
-
https://man.mtool.work/php/8.3/function.fnmatch.html
- ファイル名がパターンにマッチするか調べる 6909
- « flock fopen » PHP Manual ファイルシステム 関数 ファイル名がパターンにマッチするか調べる 検索 fnmatch (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) fnmatch — ファイル名がパターンにマッチするか調べる 説明 function fnmatch ( string $pattern , string
... ] のように使えます。 ! エクスクラメーションマークは、 角括弧内の文字を否定するのに使います。 たとえば、 "[!A-Z]*.html" は "demo.html" にマッチしますが、 "Demo.html" にはマッチしません。 \ バックスラッシュは、特別な文字をエスケープするのに使います。 た ...
-
https://man.mtool.work/php/8.3/function.fnmatch.html
PREV
1
NEXT