Reputation
Top tag
Next privilege 50 Rep.
Comment everywhere
Badges
1
Newest
 Teacher
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Apr
4
awarded  Teacher
Apr
1
comment `trigger_error` vs `throw Exception` in the context of PHP's magic methods
Almost all 3rd party libraries are E_STRICT | E_ALL safe. If I'm using code that isn't, I'll go in and fix it. I've worked this way for years without issue.
Apr
1
comment `trigger_error` vs `throw Exception` in the context of PHP's magic methods
No, turning E_NOTICES into Exceptions is good! All notices should be considered errors; that's good practice whether you're converting them to exceptions or not.
Apr
1
answered `trigger_error` vs `throw Exception` in the context of PHP's magic methods