rfc:throwable-code-generalization

This is an old revision of the document!


PHP RFC: Throwable error code's type generalization

Introduction

Currently Exception::$code, Error::$code and Throwable::getCode() are only allowed to be int.

Proposal

Backward Incompatible Changes

Proposed PHP Version(s)

7.2

Proposed Voting Choices

Patches and Tests

N/A

References

N/A

rfc/throwable-code-generalization.1482050974.txt.gz · Last modified: 2017/09/22 13:28 (external edit)