« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 129 for unset (0.001 sec.)
unset — 指定した変数の割当を解除する | PHP 8.3 12159
unset (PHP 4, PHP 5, PHP 7, PHP 8) unset — 指定した変数の割当を解除する 説明 function unset ( mixed $var , mixed ...$vars ): void unset() は指定した変数を破棄します。 関数 unset() の内部動作は、 破棄しようとする変数の型に依存します。 あるグ ... ローバル変数が関数の中で unset() された場合、ローカル変数のみが破棄されます。呼出側の環境にある変数は、 unset() がコールされる前と同じ値を保持します。 例 ... 1 unset() の使用例 <?php function destroy_foo () { global $foo ; unset( $foo ); } $foo = 'bar' ; destroy_foo (); echo $foo ; ?> グ ... ローバル変数を関数の内部で unset() するには、 $GLOBALS 配列を使います。 例2 グローバル変数と unset() <?php function foo () { unset( $GLOBALS [ 'bar' ]); } ...
https://man.mtool.work/php/8.3/function.unset.html
QuickHashIntStringHash::loadFromString — This factory method creates a hash fro... 10063
QuickHashIntStringHash::loadFromString (PECL quickhash >= Unknown) QuickHashIntStringHash::loadFromString — This factory method creates a hash from a string 説明 public static function QuickHashIntStringHash::loadFromString ( string $conten ... reach( range ( 0 , 0x0f ) as $key ) { printf ( "Key %3d (%2x) is %s\n" , $key , $key , $hash -> exists ( $key ) ? 'set' : 'unset' ); } ?> 上の例の出力は、 たとえば以下のようになります。 Key 0 ( 0) is unset Key 1 ( 1) is set Key 2 ( 2) is set Key 3 ( 3 ... ) is set Key 4 ( 4) is unset Key 5 ( 5) is set Key 6 ( 6) is unset Key 7 ( 7) is set Key 8 ( 8) is unset Key 9 ( 9) is unset Key 10 ( a) is unset Key 1 ... 1 ( b) is set Key 12 ( c) is unset Key 13 ( d) is set Key 14 ( e) is unset Key 15 ( f) is unset 他のマニュアルの関連ページ Linux JM hash(3) DuckDB Loading JS ...
https://man.mtool.work/php/8.3/quickhashintstringhash.loadfromstring.html
QuickHashIntSet::loadFromFile — This factory method creates a set from a file |... 10027
QuickHashIntSet::loadFromFile (PECL quickhash >= Unknown) QuickHashIntSet::loadFromFile — This factory method creates a set from a file 説明 public static function QuickHashIntSet::loadFromFile ( string $filename , int $size = ? , int $opti ... oreach( range ( 0 , 0x0f ) as $key ) { printf ( "Key %3d (%2x) is %s\n" , $key , $key , $set -> exists ( $key ) ? 'set' : 'unset' ); } ?> 上の例の出力は、 たとえば以下のようになります。 Key 0 ( 0) is unset Key 1 ( 1) is set Key 2 ( 2) is set Key 3 ( 3 ... ) is set Key 4 ( 4) is unset Key 5 ( 5) is set Key 6 ( 6) is unset Key 7 ( 7) is set Key 8 ( 8) is unset Key 9 ( 9) is unset Key 10 ( a) is unset Key 1 ... 1 ( b) is set Key 12 ( c) is unset Key 13 ( d) is set Key 14 ( e) is unset Key 15 ( f) is unset 他のマニュアルの関連ページ DuckDB Loading JSON DuckDB Files C ...
https://man.mtool.work/php/8.3/quickhashintset.loadfromfile.html
QuickHashIntSet::loadFromString — This factory method creates a set from a stri... 10027
QuickHashIntSet::loadFromString (PECL quickhash >= Unknown) QuickHashIntSet::loadFromString — This factory method creates a set from a string 説明 public static function QuickHashIntSet::loadFromString ( string $contents , int $size = ? , i ... oreach( range ( 0 , 0x0f ) as $key ) { printf ( "Key %3d (%2x) is %s\n" , $key , $key , $set -> exists ( $key ) ? 'set' : 'unset' ); } ?> 上の例の出力は、 たとえば以下のようになります。 Key 0 ( 0) is unset Key 1 ( 1) is set Key 2 ( 2) is set Key 3 ( 3 ... ) is set Key 4 ( 4) is unset Key 5 ( 5) is set Key 6 ( 6) is unset Key 7 ( 7) is set Key 8 ( 8) is unset Key 9 ( 9) is unset Key 10 ( a) is unset Key 1 ... 1 ( b) is set Key 12 ( c) is unset Key 13 ( d) is set Key 14 ( e) is unset Key 15 ( f) is unset 他のマニュアルの関連ページ DuckDB Loading JSON DuckDB PHP Cli ...
https://man.mtool.work/php/8.3/quickhashintset.loadfromstring.html
QuickHashIntHash::loadFromString — This factory method creates a hash from a st... 9978
QuickHashIntHash::loadFromString (PECL quickhash >= Unknown) QuickHashIntHash::loadFromString — This factory method creates a hash from a string 説明 public static function QuickHashIntHash::loadFromString ( string $contents , int $options ... reach( range ( 0 , 0x0f ) as $key ) { printf ( "Key %3d (%2x) is %s\n" , $key , $key , $hash -> exists ( $key ) ? 'set' : 'unset' ); } ?> 上の例の出力は、 たとえば以下のようになります。 Key 0 ( 0) is unset Key 1 ( 1) is set Key 2 ( 2) is set Key 3 ( 3 ... ) is set Key 4 ( 4) is unset Key 5 ( 5) is set Key 6 ( 6) is unset Key 7 ( 7) is set Key 8 ( 8) is unset Key 9 ( 9) is unset Key 10 ( a) is unset Key 1 ... 1 ( b) is set Key 12 ( c) is unset Key 13 ( d) is set Key 14 ( e) is unset Key 15 ( f) is unset 他のマニュアルの関連ページ Linux JM hash(3) DuckDB C++ API Du ...
https://man.mtool.work/php/8.3/quickhashinthash.loadfromstring.html
QuickHashIntHash::loadFromFile — This factory method creates a hash from a file... 9466
QuickHashIntHash::loadFromFile (PECL quickhash >= Unknown) QuickHashIntHash::loadFromFile — This factory method creates a hash from a file 説明 public static function QuickHashIntHash::loadFromFile ( string $filename , int $options = ? ): Q ... reach( range ( 0 , 0x0f ) as $key ) { printf ( "Key %3d (%2x) is %s\n" , $key , $key , $hash -> exists ( $key ) ? 'set' : 'unset' ); } ?> 上の例の出力は、 たとえば以下のようになります。 Key 0 ( 0) is unset Key 1 ( 1) is set Key 2 ( 2) is set Key 3 ( 3 ... ) is set Key 4 ( 4) is unset Key 5 ( 5) is set Key 6 ( 6) is unset Key 7 ( 7) is set Key 8 ( 8) is unset Key 9 ( 9) is unset Key 10 ( a) is unset Key 1 ... 1 ( b) is set Key 12 ( c) is unset Key 13 ( d) is set Key 14 ( e) is unset Key 15 ( f) is unset 他のマニュアルの関連ページ Linux JM hash(3) DuckDB Extension ...
https://man.mtool.work/php/8.3/quickhashinthash.loadfromfile.html
session_unset — 全てのセッション変数を解放する | PHP 8.3 9369
session_unset (PHP 4, PHP 5, PHP 7, PHP 8) session_unset — 全てのセッション変数を解放する 説明 function session_unset (): bool 関数 session_unset() は現在登録されている全てのセッション変数を解放します。 パラメータ この関数にはパラメータはあ ... bool になりました。 以前は void でした。 注意 注意 : $_SESSION が使用されている場合、セッション変数の登録を削除するために unset() すなわち、 unset($_SESSION['varname']); を使用してください。 警告 $_SESSION スーパーグローバルを使用した セッション変数の ... 登録が不可能になってしまうため、 unset($_SESSION) を使って $_SESSION を完全に unset しないでください。 注意 : session_unset() 関数は、 $_SESSION = [] と同等です。 ...
https://man.mtool.work/php/8.3/function.session-unset.html
QuickHashIntStringHash::loadFromFile — This factory method creates a hash from ... 9186
QuickHashIntStringHash::loadFromFile (PECL quickhash >= Unknown) QuickHashIntStringHash::loadFromFile — This factory method creates a hash from a file 説明 public static function QuickHashIntStringHash::loadFromFile ( string $filename , int ... reach( range ( 0 , 0x0f ) as $key ) { printf ( "Key %3d (%2x) is %s\n" , $key , $key , $hash -> exists ( $key ) ? 'set' : 'unset' ); } ?> 上の例の出力は、 たとえば以下のようになります。 Key 0 ( 0) is unset Key 1 ( 1) is set Key 2 ( 2) is set Key 3 ( 3 ... ) is set Key 4 ( 4) is unset Key 5 ( 5) is set Key 6 ( 6) is unset Key 7 ( 7) is set Key 8 ( 8) is unset Key 9 ( 9) is unset Key 10 ( a) is unset Key 1 ... 1 ( b) is set Key 12 ( c) is unset Key 13 ( d) is set Key 14 ( e) is unset Key 15 ( f) is unset 他のマニュアルの関連ページ Linux JM hash(3) Linux JM strings( ...
https://man.mtool.work/php/8.3/quickhashintstringhash.loadfromfile.html
uopz_unset_return — Unsets a previously set return value for a function | PHP 8... 9052
uopz_unset_return (PECL uopz 5, PECL uopz 6, PECL uopz 7) uopz_unset_return — Unsets a previously set return value for a function 説明 function uopz_unset_return ( string $function ): bool function uopz_unset_return ( string $class , string ... $function ): bool Unsets the return value of the function previously set by uopz_set_return() . パラメータ class The name of the class containing ... the function function The name of the function 戻り値 True on success 例 例1 uopz_unset_return() example <?php uopz_set_return ( "strlen" , 42 ); $len = strlen ( "Banana" ); uopz_unset_return ( "strlen" ); echo ...
https://man.mtool.work/php/8.3/function.uopz-unset-return.html
uopz_unset_hook — Removes previously set hook on function or method | PHP 8.3 8626
uopz_unset_hook (PECL uopz 5, PECL uopz 6, PECL uopz 7) uopz_unset_hook — Removes previously set hook on function or method 説明 function uopz_unset_hook ( string $function ): bool function uopz_unset_hook ( string $class , string $function ... ion The name of the function or method. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 Basic uopz_unset_hook() Usage <?php function foo () { echo 'foo' ; } uopz_set_hook ( 'foo' , function () {echo 'bar' ;}); foo (); echo PHP_ ... EOL ; uopz_unset_hook ( 'foo' ); foo (); ?> 上の例の出力は以下となります。 barfoo foo 参考 uopz_set_hook() - Sets hook to execute when ente ...
https://man.mtool.work/php/8.3/function.uopz-unset-hook.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT