Skip to content

Repository files navigation

PHP: An Introductory Tutorial by Example

A beginner's PHP tutorial series of eight short scripts covering the fundamentals of server-side scripting, from installation to operators. Each file is a small, focused, worked example.

Contents

  • Installation notes and "hello world"
  • Data types
  • Statements
  • Constants
  • Variables
  • Operators

Technologies

PHP (server-side scripting).

Usage

Serve the `.php` files with any PHP interpreter (for example `php -S localhost:8000` in the repository folder) and open them in a browser, or run a single script with `php PHP_01_script_helloworld.php`.

Author

Polina Lemenkova
ORCID: https://orcid.org/0000-0002-5759-1089

License

Released under the MIT License (see LICENSE).

Reuse

These materials were written as programming exercises and are shared as open, self-contained teaching examples. If they are useful in your own teaching or research, a link back to this repository and to the author's ORCID is appreciated.

About

A beginner's PHP tutorial series of eight scripts covering installation, syntax, data types, statements, constants, variables and operators. Concise, example-driven worked exercises for the fundamentals of server-side scripting (PHP).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages