Errata

PHP Pocket Reference

Errata for PHP Pocket Reference

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.

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 86
5th function

string metaphone(string text, int phones)

The 2nd argument is optional, thus it should be

string metaphone(string text [, int phones])

Kevin Eisinger  Sep 13, 2015 
Printed Page 15
In the table, the function for "(real),(double)"

This problem also exists in the ePub edition (also reported).

Text shows as "Cash to a floating point number" and should read "Cast to a floating point number".

Jonathan Haddock  Sep 23, 2009 
Other Digital Version 17
In the table, the function for "(real),(double)"

ePub version (reading on a Sony Reader)

Text shows as "Cash to a floating point number" and should read "Cast to a floating point number".

This is also true for the printed version (I own both) which I'll log now.

Jonathan Haddock  Sep 23, 2009 
Printed Page 24
Static variables code

The { is missing from the first line. The code does not work as written.

Anonymous   
Printed Page 33
Top HTML block

The opening <BODY> tag is missing.

Anonymous