summaryrefslogtreecommitdiff
path: root/ext/spl/spl_exceptions.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/spl_exceptions.stub.php')
-rw-r--r--ext/spl/spl_exceptions.stub.php55
1 files changed, 55 insertions, 0 deletions
diff --git a/ext/spl/spl_exceptions.stub.php b/ext/spl/spl_exceptions.stub.php
new file mode 100644
index 0000000000..09ca1b1326
--- /dev/null
+++ b/ext/spl/spl_exceptions.stub.php
@@ -0,0 +1,55 @@
+<?php
+
+/** @generate-class-entries */
+
+class LogicException extends Exception
+{
+}
+
+class BadFunctionCallException extends LogicException
+{
+}
+
+class BadMethodCallException extends BadFunctionCallException
+{
+}
+
+class DomainException extends LogicException
+{
+}
+
+class InvalidArgumentException extends LogicException
+{
+}
+
+class LengthException extends LogicException
+{
+}
+
+class OutOfRangeException extends LogicException
+{
+}
+
+class RuntimeException extends Exception
+{
+}
+
+class OutOfBoundsException extends RuntimeException
+{
+}
+
+class OverflowException extends RuntimeException
+{
+}
+
+class RangeException extends RuntimeException
+{
+}
+
+class UnderflowException extends RuntimeException
+{
+}
+
+class UnexpectedValueException extends RuntimeException
+{
+}