Everything
php
Learn
Community
Releases
The PHP Project
Learn
Community
Releases
The PHP Project
Home
»
Project
»
RFCs
»
Throwable error code's type generalization
»
RFC: Throwable error code's type generalization
Project Governance
Author
Wes (@WesNetmo on Twitter)
Currently Exception::$code, Error::$code and Throwable::getCode() are said to be int only, but this is actually violated by PHP itself, specifically by the PDO ...
Mailing List Discussions
[RFC][DISCUSSION] - Throwables error code's type generalization
[RFC][VOTE] Throwable error code's type generalization
View Original
Accept Throwables error code generalization?
Overall Results
Yes
No
Yes
13 Votes (54%)
No
11 Votes (46%)
Voting Timeline
Dates based on UTC
Voting Breakdown
Yes
13 Votes (54%)
bwoebi
mike
pollita
ashnazg
krakjoe
stas
nikic
bishop
marcio
mariano
yohgaki
dm
andrey
No
11 Votes (46%)
ocramius
galvao
aharvey
lcobucci
zimt
hywan
tpunt
mightyuhu
leigh
danack
guilhermeblanco