ISSUE # 1
In the file startproject.php, line 47, STEDRR is not correct;
it should be STDERR
PHP Code:
fwrite(STEDRR, 'ERROR: Unable to open ' . $source . "\n");
Change it to:
PHP Code:
fwrite(STDERR, 'ERROR: Unable to open ' . $source . "\n");
This problem appears in the download code and the book. In the
book it is incorrect in two places, page 306, in the gray
box under "Copying Files", line 7, and on page 309.
ISSUE #2
On page 297, there is some code to test CommandLine.
Be sure to add an include statement at the top of this file.
PHP Code:
include ("./CommandLine.php");
On page 300, there is some code to test the "prompting for input"
part of CommandLine. Be sure to add an include statement
at the top of this file too.