More PHP Errata

Again reading Larry Ullman’s PHP Advanced and finding it okay, but I came across another glaring error.

On page 169, in the discussion about variable order, Ullman’s got the variable order entirely backwards. The out-of-the-box order for PHP variables is EGPCS (which refer to Environment, Get, Post, Cookie, and Server variables), meaning that PHP processes input into variables from those sources in that order. The book incorrectly lists these in reverse while claiming it’s the proper order.

The funniest part is there’s a graphic of a screen shot from the php.ini file, which clearly shows the EGPCS ordering, contrary to the text.

Hello? Editors? Anyone?