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 »

Advertisements




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:

A
AA
B
BB
C
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 (http://creativecommons.org/licenses/by-sa/3.0) or GFDL (http://www.gnu.org/copyleft/fdl.html)%5D, 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 »








%d bloggers like this: