Returning Arrays from __get

Sometimes you have a class that has magic properties, ie. it implements property access overload methods. And you might have had the problem that one of these magic properties holds an array. And you just can’t seem to update that array what-so-ever.

Read more of this post

Advertisements

Making a theme for Xfwm4

Just finished creating two variations of a Xfwm4 theme. That’s a lot of work! Not only do you have to come up with some idea as what kind of theme to create (the creative spark, the inspiration) but also have to slice, cut and modify the mockup you finally came up with.

Read more of this post

About Overloading…

I was playing around with PHP’s overload operators and wondered what would happen if you overloaded both __call() and __get(). Turns out PHP does the right thing (for once). If you use the function call syntax on the magic property, the __cal()l overload is used and if you don’t PHP uses the __get()/__set() overload.

This could be used to create some funky black magic code…

Favorite Monospace Font Ever!

Well, I have been using it exclusively for little over a year now, so I think it is time to declare Envy Code R my favorite mono spaced font.

Screenshot showing off font "Envy Code R"

Screenshot showing off font "Envy Code R"

Thanks, Damien!