The Real Error

22 07 2015

flickr: by Poulepondeuse

Sometimes a PHP script may produce an inconsistent type of error, i.e. in one version of PHP a less serious parse error displays while in another version a fatal error message appears.  Read the rest of this entry »

Web & PHP Conference 2013 TALK – Resources

17 09 2013

The following links pertain to the talk “PHP: Quirks, Gotchas & Wizardry” which I gave at the Web & PHP Conference in San Jose, CA, Sept. 2013.  

Read the rest of this entry »

OSCON 2013 TALK – Resources

24 07 2013

Hexadecimal clock

Hexadecimal clock (Photo credit: adactio)

Read the rest of this entry »

A Story Problem with One Result and Two Solutions

20 03 2013

by Melody Johnson Quilts

An employee stacks five boxes in alphabetical order to produce the following sequence of labeled boxes:

Read the rest of this entry »

Integers and Relativity in PHP

12 03 2013

What is universally true about integers in PHP is that they constitute whole numbers and their representations include a range of formats, such as hexadecimal, decimal, octal and even binary since PHP5.4. Surprisingly, Read the rest of this entry »

ArrayObject vs Array Access

7 11 2012

Floral Swirl

By Aster_Tataricus.JPG: Pascalou petit derivative work: Nevit Dilmen (Aster_Tataricus.JPG) [CC-BY-SA-3.0-2.5-2.0-1.0 ( or GFDL (, via Wikimedia Commons

I recently dusted off one of my older PHP books, Read the rest of this entry »

Partial Application Technique in PHP

26 08 2011

Now that we have lambdas and closures in PHP5.3, we can use a functional programming technique known as partial application. Read the rest of this entry »


1 08 2011

by Decently Exposed

Today I’m going to play a sort of hopscotch on the computer Read the rest of this entry »

SimpleXML – Less than Simple?

27 03 2011

Shot with own Camera

Image via Wikipedia

I like SimpleXML and it is usually my first choice when it comes to having PHP read XML. Read the rest of this entry »

Algorithmic Reversals

20 03 2011

Consider the problem of taking a string and using PHP to display it in reverse Read the rest of this entry »

%d bloggers like this: