Errata
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 11 Example 1-3 |
<form action="<?php $PHP_SELF;?>" method="post"> |
Anonymous | Apr 01, 2004 | |
Printed | Page 30 last example under 'Variables' subsection |
The output of this example NOW READS 'Yes!' |
Anonymous | Apr 01, 2004 | |
Printed | Page 78 under "Formatting a date" |
printf('%02d/%02d/%04y', $month, $day, $year); |
Anonymous | Apr 01, 2004 | |
Printed | Page 88 Source Code Example for comparison of the Metaphone and Soundex algorithms |
... |
Anonymous | Apr 01, 2004 | |
Printed | Page 94 Source Code Example for the last Occurence of a Multicharacter String |
In the source code line |
Anonymous | Apr 01, 2004 | |
Printed | Page 102 Example 4-1, (about 1/4 of way up the page from bottom): |
$theAdder = (int) $inCardNumber{$i}; |
Anonymous | Apr 01, 2004 | |
Printed | Page 111 first set of examples |
preg_match('/y(.*)e$/', Sylvie', $m); |
Anonymous | Nov 01, 2004 | |
Printed | Page 112 Example 4-2, |
<form action="<?php $PHP_SELF ?>"method="POST"> |
Anonymous | Apr 01, 2004 | |
Printed | Page 112 Example 4-2, last three lines of code |
NOW READ: |
Anonymous | Apr 01, 2004 | |
Printed | Page 164 Example 7-2 |
$chunk = substr($word, $i*3, 3); |
Anonymous | Apr 01, 2004 | |
Printed | Page 172 code snippet at bottom of page |
if (is_uploaded_file($_FILES['toProcess']['tmp_name']) { |
Anonymous | Nov 01, 2004 | |
Printed | Page 188 Last example on the page |
if ($_SERVER{'HTTPS'] !== 'on') { |
Anonymous | Apr 01, 2004 | |
Printed | Page 199 Shortcuts section |
$row = $db->getRow(SQL [, values]]); |
Anonymous | Apr 01, 2004 | |
Printed | Page 207 Code snippet at top of page |
Previously, there is no closing </form> tag in the included sample HTML. |
Anonymous | Nov 01, 2005 | |
Printed | Page 259 example 10-14 |
pdf_add_note($p,100,650,200,750,"This is a test annotation.","Testing","note",0); |
Anonymous | Apr 01, 2004 | |
Printed | Page 280 Example 11-14. |
exho |
Anonymous | Apr 01, 2004 | |
Printed | Page 372 Example 15-5 |
As previously printed, there were problems with the code (missing quotation marks, |
Anonymous | Nov 01, 2004 | |
Printed | Page 384 assert() description |
"If assertion is true,..." should read |
Anonymous | ||
Printed | Page 384 atan2() description |
"returns the arctangent of x and y" should be |
Anonymous | ||
Printed | Page 391 |
The table previouslylisted two different values for "I". The first of those two NOW APPEARS as a lower-case "i". |
Anonymous | Apr 01, 2004 | |
Printed | Page 392 first para |
z Day of the year from "1" through "365" |
Anonymous | Nov 01, 2005 | |
Printed | Page 412 hebrevc function signature |
The function signature is "hebrev" but it should be "hebrevc". |
Anonymous | ||
Printed | Page 414 2nd paragraph |
string implode(array strings, string separator) |
Anonymous | Apr 01, 2004 | |
Printed | Page 441 sin function description |
"Returns the arc sine of value" should be |
Anonymous | ||
Printed | Page 453 unlink function signature |
"int unlink(string path)" should be |
Anonymous |