Added new scenarios.
Fixed "compilation" wording in PHP examples.
Replaced PHP's static variables with class constants.