PHP Reference

PHP – or Keyword

The PHP or keyword is a logical operator. The return value will be true if any one of the statements returns true, otherwise it will return false.

PHP Reference

PHP – print Keyword

The PHP print keyword is used to output text. Unlike echo, print can only output one string at a time.

PHP Reference

PHP – private Keyword

The PHP private keyword is an access modifier that marks a property or method as private.

PHP Reference

PHP – public Keyword

The PHP public keyword is an access modifier, and marks a property or method as public (meaning it can be used by any code that can access the object).

PHP Reference

PHP – require Keyword

The PHP require keyword is used to embed PHP code from another file. If the file is not found, a fatal error is thrown and the program stops.

PHP Reference

PHP – return Keyword

The PHP return keyword ends a function and uses the result of an expression as the return value of the function.

PHP Reference

PHP – static Keyword

The PHP static keyword is used to declare properties and methods of a class as static (can be used without creating an instance of the class).

PHP Reference

PHP – switch Keyword

The PHP switch keyword is used to create a switch conditional, which choose a block of code to run based on the value of an expression.

PHP Reference

PHP – throw Keyword

The PHP throw keyword is used to throw exceptions to change the program flow if an unexpected situation arises, such as invalid data.

PHP Reference

PHP – trait Keyword

The PHP trait keyword is used to create traits, which are a way to allow classes to inherit multiple behaviors.

PHP Reference

PHP – xor Keyword

The PHP xor keyword is a logical operator that’s return value will only be true if one of the statements is true and the other one is false.

PHP Reference

PHP – yield Keyword

The PHP yield keyword is used to create a generator function which acts as iterators which can be looped through with a foreach loop.

PHP Reference

PHP – yield from Keyword

The PHP yield from keyword is used to create a generator function which acts as iterators which can be looped through with a foreach loop.

HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress
HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress

Why 1SMARTchicken?

This site was built and is maintained to benefit my autistic son.
See More →

My Son's Name is Johnny

He was diagnosed as autistic quite late, at age four...
His story

Buy Me a Coffee

Thanks for your support!

1SMARTchicken Icon