PHP Reference

PHP – include_once Keyword

The PHP include_once keyword is used to embed PHP code from another file. If the file is not found, a warning is shown and the program continues to run.

PHP Reference

PHP – instanceof Keyword

The PHP instanceof keyword is used to check if an object belongs to a class, and returns true if the object is an instance of the class or false if not.

PHP Reference

PHP – insteadof Keyword

The PHP insteadof keyword allows you to select from which trait a method should be taken if more than one trait has a method with the same name.

PHP Reference

PHP – interface Keyword

The PHP interface keyword is used to create interfaces, which is a structure which defines a list of methods that must exist in a class.

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.

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