Sponsors
-
Recent Posts
Recent Comments
Archives
- January 2012
- December 2010
- February 2009
- December 2008
- October 2008
- June 2008
- May 2008
- April 2008
- November 2007
- October 2007
- September 2007
- June 2007
- January 2007
- October 2006
- August 2006
- May 2006
- April 2006
- February 2006
- December 2005
- October 2005
- August 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- October 2004
- July 2004
- June 2004
Categories
Meta
Category Archives: PHP
Late Static Binding – Changes to parent
If you have been following the PHP internals list for the last few weeks you probably have seen a discussion concerning the current behaviour of late static binding (lsb) and how it seems to be unnecessarily limited when it comes … Continue reading
Posted in PHP
5 Comments
ZendCon07 Day 1
Day one of the conference is over and everything has gone well so far. I attended the extending PHP session by Wez, Sara, and Marcus. It was alot of review but it was very informative and brought up alot of … Continue reading
Posted in PHP
Leave a comment
Going to ZendCon
I will be leaving for ZendCon on Sunday. This will be my first zend con and I am really looking forward to going. I was hoping to speak at the conference about refactoring and database testing but alas it wasn’t … Continue reading
Posted in PHP
3 Comments
Late static binding….sorta :/
The good news is late static binding has been introduced into head and looks like it will be merged into 5.3 before it is released. The horrible news is I really don’t think the patch went as far as it … Continue reading
Posted in PHP
4 Comments
PHPDBUnit – Testing DB interaction with PHPUnit
It’s been a while since I have put anything in the heavily neglected little site of mine so I thought I would start posting some updates on a few little projects I have been working on. I have been spending … Continue reading
Posted in PHP
10 Comments
81.4 is evil
I know many of you all know pretty well that floating point precision and computers don’t play nicely with each other. I think I learned about it in the first book on ‘C’ I ever read, but I had never … Continue reading
Posted in PHP
7 Comments
Come Work With Me!
I have recently been very encouraged by the number of job opportunities available to PHP developers lately. In light of this I thought I would make everyone aware of yet another excellent opportunity for a highly motivated, well-versed PHP programmer. … Continue reading
Posted in PHP
Leave a comment
A New Direction
It’s been quite some time since my last blogging. Most of the reason for this is that I have been extremely busy with my current job as well as a few other responsibilities. However, the time has now come for … Continue reading
Posted in PHP
2 Comments
I <3 Regexs
I was toying around with regexs this morning and learned a few things I had just never taken the time to learn before. In any case, I came up with this: #((?:(?<!\\)\"(?:(?:(?:[\x20\x09]*[\r\n])?[\x20\x09]+)?(?:[\x01-\x08\x0b-\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|\\[\x01-\x09\x0b-\x0c\x0e-\x7f]))*(?:(?:[\x20\x09]*[\r\n])?[\x20\x09]+)?\"|[^"(]+|\\["(]|^)+)(?:(?:(?:(?:(?:[\x20\x09]*[\r\n])?[\x20\x09]+)?(?P<comment>\((?:(?:(?:[\x20\x09]*[\r\n])?[\x20\x09]+)?(?:[\x01-\x08\x0b-\x0c\x0e-\x1f\x7f\x21-\x27\x2a-\x5b\x5d-\x7e]|\\[\x01-\x09\x0b-\x0c\x0e-\x7f]|(?P>comment)))*(?:(?:[\x20\x09]*[\r\n])?[\x20\x09]+)?\)))+(?:(?:[\x20\x09]*[\r\n])?[\x20\x09]+)?|(?:[\x20\x09]*[\r\n])?[\x20\x09]+))# (of course ignoring line breaks.) An ‘atta boy’ … Continue reading
Posted in PHP
7 Comments
Intercepting php mail() spam with sendmail and formail
I have noticed alot of people talking about mail header inections this past week. I have actually had a run in with this on one of my servers this last week too. On one of our servers where we host … Continue reading
Posted in PHP
3 Comments