Not at all... quite contrary. It's much easier with the comments, in my programmer's opinion. Accordinc to the installation readme file, PHP can be used to make GUIs also, though I've never tested it... and it can be run from command line.
Well, written in PHP the same script would be something like that...
// This is a one-line comment
/* This is a comment block,
it can have multiple lines,
just remember to close it (closing on next line)
*/
$book = array( // Let's use array here, it seems to be closest to hash
"Ed" => "503-830-2592", // "key" => "value", remember to put , in the end or pair, or it crashes...
"VP" => "417-920-5972",
"SH" => "971-492-0843",
); // And close array with ); ... pretty common in most programming languages I've used.
print "Type the name of the person you want to get ahold of:\n"; // As we're working command line...
$person = stream_get_line(STDIN, 1024, PHP_EOL);
/* There's a simpler command for that, but it doesn't work on Windows systems.
* I'm not really sure about even that, just found it from php.net... should read user input.
* I've never actually used PHP on command line, just web stuff, so bear with me... */
print "$person" . "'s phone number is: " . $book[$person] . "\n";
/* Because our $book is an array, we need to use [(array key)] to get the right value.
* As we have stored the key into $person variable, we simply put that between [ and ] ... */
Looks pretty similar to Perl to me. And now I think about that, PHP has Perl-compatible regular expressions... siblings, obviously.