This package can be used to emulate class namespaces under PHP 5. It parses PHP code to extract namespace definition statements. The code is rewritten to emulate the namespace support in a way similar to the Java language supports namespaces. This package implements new commands named package and import. The package command defines the package to which a class belongs. The import command indicates that the package should be imported for use in the PHP script on which the import command is used.