×
ホーム
カテゴリ
五十音(イニシャル)
ユーザコメント
ゲストコメント
ログイン
アカウント作成
検索
Exceptionクラス
PHP用語集
メニューを開く
→ → → Entries ← ← ←
カテゴリー:
制御構造
閲覧数:
871
配信日:
2010-05-22 10:16
すべての例外のスーパークラス
・Exceptionクラスに定義されたメソッドを通して、デバッグに役立つプロパティを利用することができる
・また、Exceptionクラス以外にもStandard PHP Library(SPL)には、
様々な例外
が定義されている
・「Exception」クラスと無関係なクラスのインスタンスを投げたり、また投げられた「例外オブジェクト」のクラス名が指定されていないと、エラー
週間人気ページランキング / 9-3 → 9-9
順位
ページタイトル抜粋
アクセス数
1
ブラウザを閉じたらセッションデータはどうなるの? | セッション
5
2
PHPで定数を定義する方法は2種類ある / 配列定数の定義
4
3
ブラウザを閉じたらセッションデータはどうなるの? | セッション
3
3
コード例 … 「例外処理」はネストすることができる
3
4
http_build_queryとは? / 構文 /パラメータ
2
4
Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ)
2
4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in ○○.php on line △△ | Warning(エラーメッセージ)
2
4
( ! ) Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in ★★★ headless-chromium-php/vendor/wrench/wrench/lib/Wrench/Protocol/Protocol.php | エラーメッセージ
2
4
Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ)
2
4
対応例1.メモリ不足なので、PHPの最大使用メモリを増加するよう変更
2
4
Fatal error: require_once(): Failed opening required 'PEAR.php' | Fatal error(エラーメッセージ)
2
4
or(||) | 演算子
2
4
preg_match第3引数 × 後方参照
2
4
定数
2
4
Fatal error: Using $this when not in object context in /○○.php on line △△ | Fatal error(エラーメッセージ)
2
5
_FILE__ | 定数
1
5
Fatal error: Access level to ▲::$△ must be protected (as in class ●) or weaker | Fatal error(エラーメッセージ)
1
5
PHPでcurlを使用するためには?/ 2.オプション設定 / curlでPOST送信
1
5
Warning: session_write_close(): Failed to write session data (user) | Warning(エラーメッセージ)
1
5
Maximum function nesting level of '256' reached | Fatal error(エラーメッセージ)
1
2025/9/10 1:01 更新
指定期間人気ページランキング / 2020-5-28 → 2025-9-9
順位
ページタイトル抜粋
アクセス数
1
PHP用語
6697
2
ブラウザを閉じたらセッションデータはどうなるの? | セッション
2518
3
Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ)
2464
4
ブラウザを閉じたらセッションデータはどうなるの? | セッション
1681
5
【テスト投稿】テスト |
1133
6
セッション管理が必要な理由は、HTTPプロトコルには状態を保持する機能がないため | セッション
1066
7
PHPで定数を定義する方法は2種類ある / 配列定数の定義
1012
8
Fatal error: Access level to ▲::$△ must be protected (as in class ●) or weaker | Fatal error(エラーメッセージ)
889
9
Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ)
852
10
コード例 … 「例外処理」はネストすることができる
845
11
Fatal error: require_once(): Failed opening required 'PEAR.php' | Fatal error(エラーメッセージ)
844
12
curl で Cookie を使用する
838
13
Fatal error: Uncaught RuntimeException: SplFileObject::__construct(): failed to open stream: Permission denied in | Fatal error(エラーメッセージ)
733
14
定数
731
15
インターフェイス | クラスとオブジェクト
697
16
Fatal error: Uncaught HeadlessChromium\Exception\OperationTimedOut: Operation timed out (3sec) in | Fatal error(エラーメッセージ)
685
17
メンバー | クラスとオブジェクト
645
18
Warning: include() [function.include]: Failed opening '**.php' for inclusion (in | Warning(エラーメッセージ)
632
19
( ! ) Fatal error: Uncaught PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column | Fatal error(エラーメッセージ)
602
20
Warning: strlen() expects parameter 1 to be string, array given in ○○.php on line △△ | Warning(エラーメッセージ)
584
2025/9/10 1:01 更新
↑