Skip to content
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (168)
  • Reference (2172)
  • Snippets (69)

Category: PHP Keywords

1SMARTchicken - Code Made Easy

Category: PHP Keywords

  • Tutorials (168)
  • Reference (2172)
  • Snippets (69)
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (168)
  • Reference (2172)
  • Snippets (69)
1SMARTchicken - Code Made Easy

Category: PHP Keywords

  • Tutorials (168)
  • Reference (2172)
  • Snippets (69)
  • Home
  • Reference
  • PHP Reference
  • PHP Keywords
  • Page 2
PHP Reference

PHP – endforeach Keyword

July 25, 2024 / PHP Keywords, PHP Reference, Reference / Keyword, Loop, PHP Loop

The PHP endforeach keyword is used to close the code block of a foreach loop which was started using the foreach syntax.

PHP Reference

PHP – endif Keyword

July 25, 2024 / PHP Keywords, PHP Reference, Reference / Conditional, Keyword

The PHP endif keyword is used to mark the end of an if conditional which was started with the if, or elseif syntax.

PHP Reference

PHP – endswitch Keyword

July 25, 2024 / PHP Keywords, PHP Reference, Reference / Conditional, Keyword

The PHP endswitch keyword is used to mark the end of a switch conditional which was started with the switch syntax.

PHP Reference

PHP – extends Keyword

July 25, 2024 / PHP Keywords, PHP Reference, Reference / Keyword

The PHP extends keyword is used to derive a class from another class, and therefore inherits all the properties of the class that it is derived from.

PHP Reference

PHP – final Keyword

July 25, 2024 / PHP Keywords, PHP Reference, Reference / Keyword

The PHP final keyword is used to prevent a class from being inherited and to prevents inherited methods from being overridden.

PHP Reference

PHP – finally Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword

The PHP finally keyword is used in try…finally and try…catch…finally structures to run a block of code whether or not an exception occurred.

PHP Reference

PHP – fn Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword

The PHP fn keyword is used to create arrow functions which have access to all variables from the scope in which they were created.

PHP Reference

PHP – for Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword, Loop, PHP Loop

The PHP for keyword is used to create a for loop, which loops through a block of code a specified number of times.

PHP Reference

PHP – foreach Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword, Loop, PHP Loop

The PHP foreach keyword is used to create foreach loops, which loops through a block of code for each element in an array.

PHP Reference

PHP – function Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword

The PHP function keyword is used to create a function.

PHP Reference

PHP – global Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword, Variable

The PHP global keyword imports variables from the global scope into the local scope of a function.

PHP Reference

PHP – if Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Conditional, Keyword

The PHP if keyword is used to create an if conditional. The elseif and else keywords can then be used to run code when the if condition is not met.

PHP Reference

PHP – implements Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword

The PHP implements keyword is used to declare that a class must have the methods described in the specified interface (called polymorphism).

PHP Reference

PHP – include Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword

The PHP include 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 – include_once Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / 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

July 26, 2024 / PHP Keywords, PHP Reference, Reference / 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

July 26, 2024 / PHP Keywords, PHP Reference, Reference / 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

July 26, 2024 / PHP Keywords, PHP Reference, Reference / 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 – namespace Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword

The PHP namespace keyword is used to declare in which namespace a PHP file is operating.

PHP Reference

PHP – new Keyword

July 26, 2024 / PHP Keywords, PHP Reference, Reference / Keyword

The PHP new keyword is used to create an object from a class.

← Previous 1 2 3 Next →

or View All Tags

Tutorials

  • HTML Tutorials (40)
  • CSS Tutorials (45)
  • CSS Flexbox (12)
  • JavaScript Tutorials (6)
  • jQuery Tutorials (13)
  • PHP Tutorials (0)
  • SQL Tutorials (0)
  • Python Tutorials (64)
  • WordPress Tutorials (0)

Reference

  • HTML Reference (244)
    • HTML Tags (107)
    • HTML Attributes (46)
    • HTML Events (76)
    • HTML Resources (15)
  • CSS Reference (309)
    • CSS Selectors (55)
    • CSS Properties (220)
    • CSS Functions (17)
    • CSS Resources (17)
  • JavaScript Reference (555)
    • JavaScript Selectors (7)
    • JavaScript Operators (12)
    • JavaScript Statements (17)
    • JavaScript Methods (284)
    • JavaScript Properties (162)
    • JavaScript RegExp (45)
    • JavaScript Resources (28)
  • jQuery Reference (220)
    • jQuery Selectors (54)
    • jQuery Methods (140)
    • jQuery Ajax Methods (16)
    • jQuery Properties (17)
    • jQuery Resources (9)
  • PHP Reference (460)
    • PHP Keywords (59)
    • PHP Functions (400)
    • PHP Constants (0)
    • PHP Resources (1)
  • SQL Reference (290)
    • SQL Keywords (59)
    • MySQL Functions (138)
    • SQL Server Functions (83)
    • SQL Resources (10)
  • Python Reference (94)
    • Python Methods (86)
    • Python Resources (8)
  • WordPress Reference (0)

Snippets

  • HTML Snippets (3)
  • CSS Snippets (12)
  • JavaScript Snippets (5)
  • jQuery Snippets (8)
  • PHP Snippets (1)
  • SQL Snippets (3)
  • Python Snippets (1)
  • WordPress Snippets (36)
1SMARTchicken - Code Made Easy

333 Washington Blvd.
Suite 126
Marina del Rey, CA 90292
United States

contact2025@1smartchicken.com

  • About Us
  • Privacy Policy
  • Cookie Policy
  • Terms & Conditions

Search for Code:

or View All Tags

Copyright © 2025 1SMARTchicken | All Rights Reserved.