ビット演算子

PHP用語集

カテゴリー: エラーメッセージ  閲覧数:566 配信日:2016-08-23 10:23


ビット演算子


比較一覧表
名称 表記 説明(各桁 (ビット単位) で、) 具体 ベン図
論理積 $x & $y 両方 「1」 の場合 「1」、
どちらかが 「0」 の場合 「0」
$x
$y
$x & $y
1011
1101
1001

論理和 $x | $y どちらかが 「1」 の場合 「1」、
両方 「0」 の場合 「0」
$x
$y
$x & $y
1010
1100
1110

排他的論理和 $x ^ $y 等しい場合 「0」、
異なる場合 「1」
$x
$y
$x ^ $y
1010
1100
0110

否定 ~$x ビットを反転 $x
~$x
1010
0101



週間人気ページランキング / 7-8 → 7-14
順位 ページタイトル抜粋 アクセス数
1 http_build_queryとは? / 構文 /パラメータ 7
2 Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ) 5
2 PHPにおけるメソッドのオーバーライドについて /「引数の数や型は、親クラスのメソッドと完全に一致していなければなりません。」とは具体的にどういう意味ですか? 5
3 Fatal error: require_once(): Failed opening required 'PEAR.php' | Fatal error(エラーメッセージ) 3
3 Fatal error: Uncaught RuntimeException: SplFileObject::__construct(): failed to open stream: Permission denied in | Fatal error(エラーメッセージ) 3
4 ブラウザを閉じたらセッションデータはどうなるの? | セッション 2
4 Warning: strlen() expects parameter 1 to be string, array given in ○○.php on line △△ | Warning(エラーメッセージ) 2
4 Notice(エラーメッセージ) カテゴリー 2
4 session_start() | セッション 2
4 ブラウザを閉じたらセッションデータはどうなるの? | セッション 2
4 Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ) 2
4 「POSIX正規表現」と「PCRE正規表現」の違い 2
4 PHPで定数を定義する方法は2種類ある / 配列定数の定義 2
4 クロージャ | 関数 2
4 T_CONSTANT_ENCAPSED_STRING | エラーメッセージ 2
5 Warning: include() [function.include]: Failed opening '**.php' for inclusion (in | Warning(エラーメッセージ) 1
5 Fatal error(エラーメッセージ) カテゴリー 1
5 foreach文 | 制御構造 1
5 Warning: session_write_close(): Failed to write session data (user) | Warning(エラーメッセージ) 1
5 Read-only application cannot POST. | Twitter API(エラーメッセージ) 1
2025/7/15 1:01 更新
指定期間人気ページランキング / 2020-5-28 → 2025-7-14
順位 ページタイトル抜粋 アクセス数
1 PHP用語 6692
2 ブラウザを閉じたらセッションデータはどうなるの? | セッション 2494
3 Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ) 2437
4 ブラウザを閉じたらセッションデータはどうなるの? | セッション 1658
5 【テスト投稿】テスト | 1133
6 セッション管理が必要な理由は、HTTPプロトコルには状態を保持する機能がないため | セッション 1055
7 PHPで定数を定義する方法は2種類ある / 配列定数の定義 970
8 Fatal error: Access level to ▲::$△ must be protected (as in class ●) or weaker | Fatal error(エラーメッセージ) 877
9 Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ) 836
10 コード例 … 「例外処理」はネストすることができる 831
11 curl で Cookie を使用する 828
12 Fatal error: require_once(): Failed opening required 'PEAR.php' | Fatal error(エラーメッセージ) 824
13 Fatal error: Uncaught RuntimeException: SplFileObject::__construct(): failed to open stream: Permission denied in | Fatal error(エラーメッセージ) 726
14 定数 719
15 インターフェイス | クラスとオブジェクト 694
16 Fatal error: Uncaught HeadlessChromium\Exception\OperationTimedOut: Operation timed out (3sec) in | Fatal error(エラーメッセージ) 681
17 メンバー | クラスとオブジェクト 645
18 Warning: include() [function.include]: Failed opening '**.php' for inclusion (in | Warning(エラーメッセージ) 628
19 ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column | Fatal error(エラーメッセージ) 600
20 Warning: strlen() expects parameter 1 to be string, array given in ○○.php on line △△ | Warning(エラーメッセージ) 573
2025/7/15 1:01 更新