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 3
PHP Reference

PHP – or Keyword

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

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

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

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

PHP Reference

PHP – protected Keyword

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

The PHP protected keyword is an access modifier. It marks a property or method as protected.

PHP Reference

PHP – public Keyword

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

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

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

The PHP require_once keyword is used to embed PHP code from another file.

PHP Reference

PHP – return Keyword

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

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

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

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

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

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

PHP Reference

PHP – try Keyword

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

The PHP try keyword is used to create a try…catch, or a try…catch…finally statement.

PHP Reference

PHP – use Keyword

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

The PHP use keyword tells a class to inherit a trait and it gives an alias to a namespace.

PHP Reference

PHP – var Keyword

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

The PHP var keyword creates a property in a class.

PHP Reference

PHP – while Keyword

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

The PHP while keyword is used to create a while loop and is also used to set the looping condition of a do…while.

PHP Reference

PHP – xor Keyword

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

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

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

← Previous 1 2 3

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.