Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Demo #16

Open
GoogleCodeExporter opened this issue Mar 24, 2016 · 0 comments
Open

PHP Demo #16

GoogleCodeExporter opened this issue Mar 24, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Please add a page for demonstrating the syntax highlighting with PHP. Find 
attached a 34 line PHP script that demonstrates all the common syntax features 
of the language, including:
Standard and alternate if/else formats
Accessing instance and static class members from within the class
Accessing instance and static class members from outside the class
The use of common operators: == !== . += && || < 
Associative array syntax =>
Constant definitions
HTML output in an echo statement
Inline SQL
Function's default parameter values
All comment types

Original issue reported on code.google.com by dotancohen on 9 May 2012 at 8:10

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant