Make php bus error with zend framework

If you ever wondered how to get Zend_Date to cause php to bus error, here’s how:

Executing it will give you this goodness in your apache error log:

[Tue Apr 28 15:17:38 2009] [notice] child pid 75456 exit signal Bus error (10)

I’m using php 5.2.9 and apache 2.2 on OSX. But you’ve probably never seen this because you made the right decision to not use PHP. Good for you.


About this entry