Errata for PHP: The Good Parts
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update
| Version |
Location |
Description |
Submitted By |
Date Submitted |
Date Corrected |
| Printed |
Page 3
Teble 1.1 |
the URL for Dotproject is listed as "www.dotproject.org", but it should be "www.dotproject.net"
Note from the Author or Editor: You are correct, this will be noted, thanks - P
|
Scott G Howard |
May 26, 2010 |
|
| Printed, PDF |
Page 49
1st full code section; 2nd full paragraph |
Array contains 6 elements of which 'phone' is the sixth, with index position 5.
Therefore code should state:
<blockquote><code>array_splic($myArray, 5);</code></blockquote>
and 2nd and 3rd sentences should state:
<blockquote>In this case, we are telling PHP to remove the <strong>sixth</strong> element from this array. Notice that we are using the index position value here, <strong>5</strong>, and not the key value of 0.</blockquote>
Note from the Author or Editor: I stand corrected, thanks...
Peter
|
Anonymous |
Oct 25, 2010 |
|
| Printed |
Page 50
code section after 2nd paragraph |
The code example is missing the closing round bracket. It should read:
unset($myArray['initial']);
Note from the Author or Editor: Yes that is correct, it is missing the closing bracket - PBM
|
Bob Monroe |
Jan 01, 2011 |
|
| PDF |
Page 65
3rd paragraph (excluding code) |
2nd paragraph ends, "...just to get the points of OPP across."
Typo - should be "OOP" :)
Note from the Author or Editor: Confirmed typo, thanks ...
|
Anonymous |
Oct 26, 2010 |
|