NamespaceSim

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.

Tags Software Development Code Generators Libraries php classes
Licenses LGPL
Operating Systems OS Independent
Implementation PHP

Tweet this project Short link

Rss Recent releases

Changes: This release supports namespaces in class definitions (with inheritance and interface implementation), interface definitions (with inheritance), static class variables and functions, class constants, the instanceof operator, and type hinting. Errors trapped in rewritten files are mapped to the right file and line number.

No-screenshot

Project Spotlight

iptables

A Linux kernel packet filter control tool.

1534fa35448775e108c75a8838ed24ce_thumb

Project Spotlight

Peanut

A tiny JPEG comment editor.