From Yuuta WordPress theme demo, via this blog post.
“An Exceptional Change in PHP 7.0” blog post describes nicely what are the changes to exceptions and error handling in the upcoming PHP 7. Â Among simple descriptions, there is this reference chart:
\Throwable ├── \Exception (implements \Throwable) │ ├── \LogicException (extends \Exception) │ │ ├── \BadFunctionCallException (extends \LogicException) │ │ │ └── \BadMethodCallException (extends \BadFunctionCallException) │ │ ├── \DomainException (extends \LogicException) │ │ ├── \InvalidArgumentException (extends \LogicException) │ │ ├── \LengthException (extends \LogicException) │ │ └── \OutOfRangeException (extends \LogicException) │ └── \RuntimeException (extends \Exception) │ ├── \OutOfBoundsException (extends \RuntimeException) │ ├── \OverflowException (extends \RuntimeException) │ ├── \RangeException (extends \RuntimeException) │ ├── \UnderflowException (extends \RuntimeException) │ └── \UnexpectedValueException (extends \RuntimeException) └── \Error (implements \Throwable) ├── \AssertionError (extends \Error) ├── \ParseError (extends \Error) └── \TypeError (extends \Error)
Very handy!
This weekend I got my first bar ban. Â I was asked to leave TePee Strictly Rock bar and to never ever come back. Â Which I did and which I won’t.
(This post is here mostly for those people who were there on Saturday and who keep asking me what happened.)
What happened was an escalation of misunderstanding, mostly of what is rock music, what is a rock bar, what is a live gig, and what are the behavioral boundaries. Â I don’t claim to be an expert on the subject, but I do have an opinion, with which a few people agree. Â Too bad, the band on stage and the owner of the establishment didn’t.
It turns out I was too loud in the crowd. Â It turns out I was making the band uncomfortable by screaming requests for something heavier (AC/DC, Rammstein, Metallica, etc) than Bon Jovi and Aerosmith. Â Too bad I wasn’t familiar with the band’s repertoire – my bad. Â And, it turns out that asking for a refund will get you kicked out. Â No problem. Â Maybe the band repertoire was a wrong reason to ask a refund for. Â Maybe I should have mentioned the horrible sound engineering instead. Â It’s too late now anyway.
On the other hand, it looks like some people enjoyed the gig (there are YouTube videos).  So maybe I was inappropriate.  To each his own I guess.  TePee is not a rock bar in my book anymore.  And I’m not a wanted customer in TePee.  Fair enough.
OverAPI.com – Collecting All Cheat Sheets
Big Picture does a coverage of the California wildfires. Â Fascinating!