About 55 results
Open links in new tab
  1. PHP short-ternary ("Elvis") operator vs null coalescing operator

    594 Can someone explain the differences between ternary operator shorthand (?:) and null coalescing operator (??) in PHP? When do they behave differently and when in the same way …

  2. How do the PHP equality (== double equals) and identity

    PHP Double Equals == equality chart: PHP Triple Equals === Equality chart: Source code to create these images: PHP equality charts Guru Meditation Those who wish to keep their …

  3. syntax - What does "->" or "=>" mean in PHP? - Stack Overflow

    Jun 2, 2024 · since PHP 7.4 => operator is also used for the arrow functions, a more concise syntax for anonymous functions. since PHP 8.0 => operator is also used to define hands in the …

  4. syntax - What does '<?=' mean in PHP? - Stack Overflow

    Note that the ; is redundant; as the answers suggest this short-tag expands to an echo with a semicolon added to the end, as per the php documents.

  5. What does the .= operator mean in PHP? - Stack Overflow

    What does the .= operator mean in PHP? Asked 12 years, 8 months ago Modified 5 years, 9 months ago Viewed 65k times

  6. What is the use of the @ symbol in PHP? - Stack Overflow

    Jun 23, 2009 · I have seen uses of @ in front of certain functions, like the following: $fileHandle = @fopen($fileName, $writeAttributes); What is the use of this symbol?

  7. What does "=>" mean in PHP? - Stack Overflow

    Arrays in PHP are associative arrays (otherwise known as dictionaries or hashes) by default. If you don't explicitly assign a key to a value, the interpreter will silently do that for you.

  8. operators - Not equal to != and !== in PHP - Stack Overflow

    Not equal to != and !== in PHP [duplicate] Asked 15 years, 2 months ago Modified 5 months ago Viewed 286k times

  9. What does the percent sign mean in PHP? - Stack Overflow

    Dec 19, 2009 · It's the modulus operator, as mentioned, which returns the remainder of a division operation. Examples: 3%5 returns 3, as 3 divided by 5 is 0 with a remainder of 3. 5 % 10 …

  10. What does $$ (dollar dollar or double dollar) mean in PHP?

    Jun 23, 2016 · What does $$ (dollar dollar or double dollar) mean in PHP? Asked 15 years, 6 months ago Modified 3 years ago Viewed 75k times