PHP syntax: examples
Download examples: basics.zipBasic types
- Hello World (source)
- Write functions (source)
- Variables do not need to be initialized (source)
- Variable can hold values of different types (source)
- Strings (source)
- Strings initialized using Here Doc (source)
- Numerical arrays (source)
- Associative arrays (source)
- Mixed array (source)
- For Loop for a numeric array (source)
Control structures
Related Pages
Contact
Prof. Dr. Emmanuel Benoist
Berner Fachhochschule - TI
Quellgasse 21
CH-2501 Biel/Bienne
Switzerland
Mail: emmanuel.benoist (at) bfh.ch
Berner Fachhochschule - TI
Quellgasse 21
CH-2501 Biel/Bienne
Switzerland
Mail: emmanuel.benoist (at) bfh.ch
Social Networks
Follow
me
on
Linkedin, Scholar
& Research gate