ビット演算子

PHP用語集

カテゴリー: エラーメッセージ  閲覧数:554 配信日: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



週間人気ページランキング / 5-28 → 6-3
順位 ページタイトル抜粋 アクセス数
1 PHPにおけるメソッドのオーバーライドについて /「引数の数や型は、親クラスのメソッドと完全に一致していなければなりません。」とは具体的にどういう意味ですか? 6
2 Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ) 4
3 http_build_queryとは? / 構文 /パラメータ 3
3 Fatal error: Access level to ▲::$△ must be protected (as in class ●) or weaker | Fatal error(エラーメッセージ) 3
4 ブラウザを閉じたらセッションデータはどうなるの? | セッション 2
4 Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ) 2
4 可変変数 | 変数 2
4 クロージャ | 関数 2
4 php-devel とは? 2
5 define と const の違い | 定数 1
5 SQLインジェクション | セキュリティ 1
5 htmlspecialchars / htmlentities / addslashes / mysql_real_escape_string / mysqli_real_escape_string | セキュリティ 1
5 Fatal error: Uncaught Wrench\Exception\HandshakeException: No accept header receieved on handshake response in ★★★ headless-chromium-php/vendor/wrench/wrench/lib/Wrench/Protocol/Protocol.php | エラーメッセージ 1
5 set_error_handler | 例外処理(制御構造) 1
5 ( ! ) Warning: Declaration of xxxx should be compatible with | エラーメッセージ 1
5 ( ! ) Fatal error: Uncaught Abraham\TwitterOAuth\TwitterOAuthException: {"errors":[{"code":32,"message":"Could not authenticate you."}]} | Fatal error(エラーメッセージ) 1
5 Maximum function nesting level of '256' reached | Fatal error(エラーメッセージ) 1
5 break文 | 制御構造 1
5 ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column | Fatal error(エラーメッセージ) 1
5 Fatal error: Uncaught exception 'ImagickException' with message 'WriteBlob Failed | エラーメッセージ 1
2025/6/4 1:01 更新
指定期間人気ページランキング / 2020-5-28 → 2025-6-3
順位 ページタイトル抜粋 アクセス数
1 PHP用語 6684
2 ブラウザを閉じたらセッションデータはどうなるの? | セッション 2479
3 Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ) 2421
4 ブラウザを閉じたらセッションデータはどうなるの? | セッション 1643
5 【テスト投稿】テスト | 1133
6 セッション管理が必要な理由は、HTTPプロトコルには状態を保持する機能がないため | セッション 1050
7 PHPで定数を定義する方法は2種類ある / 配列定数の定義 941
8 Fatal error: Access level to ▲::$△ must be protected (as in class ●) or weaker | Fatal error(エラーメッセージ) 866
9 コード例 … 「例外処理」はネストすることができる 824
10 Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ) 822
11 curl で Cookie を使用する 820
12 Fatal error: require_once(): Failed opening required 'PEAR.php' | Fatal error(エラーメッセージ) 808
13 定数 718
14 Fatal error: Uncaught RuntimeException: SplFileObject::__construct(): failed to open stream: Permission denied in | Fatal error(エラーメッセージ) 714
15 インターフェイス | クラスとオブジェクト 693
16 Fatal error: Uncaught HeadlessChromium\Exception\OperationTimedOut: Operation timed out (3sec) in | Fatal error(エラーメッセージ) 676
17 メンバー | クラスとオブジェクト 644
18 Warning: include() [function.include]: Failed opening '**.php' for inclusion (in | Warning(エラーメッセージ) 624
19 ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column | Fatal error(エラーメッセージ) 595
20 Warning: strlen() expects parameter 1 to be string, array given in ○○.php on line △△ | Warning(エラーメッセージ) 565
2025/6/4 1:01 更新