Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Printed | Page 12 7th par |
Hi, |
Anonymous | Sep 22, 2008 |
Printed | Page 42 Returning by Reference |
Paragraph ends "you use the normal reference assign that you learned earlier". However, AFAICT there is no earlier reference to =& assignments; the first real discussion of them in on page 57. |
MadOverlord | Oct 11, 2009 |
Printed | Page 48 7th paragraph, paragraph following string example |
The phrase "then the twelth character" should be "then the thirteenth character". |
Harry Thompson | Jan 17, 2012 |
65 last code statement of array_diff description |
$arr1_unique = array_merge($arr1, $arr2, $arr3, $arr4); should read: |
Leopoldo Garcia | Jul 05, 2011 | |
Printed | Page 76 The Array Cursor |
In this section a motif is introduced : list($var,$val) = each($array) |
MadOverlord | Oct 11, 2009 |
ePub | Page 86 for loop of imagefilledrectangle |
The for loop for imagefilledrectangle() is incorrect. |
Anonymous | May 22, 2015 |
Printed | Page 87 7th paragraph |
5 - 5 - 5 has only one value and associativity has nothing to do with it. It is not equivalent to 5 - (5 - 5) but to (-5 - 5) + 5 to put the second part first or 5 - (5 + 5) This is to do with the rules regarding brackets and signs. There is no associativity issue with all - and + . |
Malcolm New | Dec 18, 2014 |
Printed | Page 97 dechex() paragraph |
The sentence |
Anonymous | |
Printed | Page 98 empty() function, 1st paragraph |
Current text: |
Anonymous | |
Printed | Page 104 md5() function description |
Book says "An MD5 checksum is 32 bytes long, which is equal to 128 bits," but since a byte is 8 bits, 8*32=256 bits which is wrong. |
Anonymous | |
Printed | Page 114 sha1() section |
In the first sentence |
Anonymous | |
Printed | Page 114 sha1() definition |
Book says "...it is a way of converting a string of any size into a 40-bit |
Anonymous | |
Printed | Page 116 Description of str_pad() has errors |
Second parameter is final length of padded string, not amount to add. first example should be $newstring = str_pad($string, strlen($string) + 2); |
Anonymous | |
Printed | Page 134 2nd paragraph under Access Control Modifiers |
The word "word" should be changed to "world" in the sentence starting with "In an encapsulated word". |
Anonymous | |
Printed | Page 135 example code |
public should probably be removed from before both method/function |
Anonymous | |
Printed | Page 144 2nd and 4th section of mono type (2nd and 4th examples) |
I don't see where "Creating Poppy" gets printed anywhere. I think it should be: |
Anonymous | |
Printed | Page 148 First example |
Last line in first example is: |
Anonymous | |
Page 240 1st |
"The preg_match() function has a FORTH parameter.." |
Anonymous | Jul 26, 2009 | |
Printed | Page 247 Getting Arty - Example code |
To get the output shown on the next page (248), the for loop in the example code should have the condition $i > 200 and not $i >0. The code should be: |
Kim Burton | Sep 01, 2009 |