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

    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 (if that …

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

    Jun 2, 2024 · I see these in PHP all the time, but I don't have a clue as to what they actually mean. What does -> do and what does => do? And I'm not talking about the operators. …

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

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

  4. 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 …

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

    Not equal to != and !== in PHP [duplicate] Asked 14 years, 11 months ago Modified 2 months ago Viewed 285k times

  6. What's the difference between :: (double colon) and -> (arrow) in …

    Jul 4, 2010 · The difference between static and instantiated methods and properties seem to be one of the biggest obstacles to those just starting out with OOP PHP in PHP 5. The double …

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

    You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation and how do I …

  8. Start learning PHP — Useful resources for beginners and advanced

    Oct 28, 2023 · Start learning PHP — Useful resources for beginners and advanced! If you're wondering where to start from learning the PHP language or needing some more knowledge …

  9. What is <=> (the 'Spaceship' Operator) in PHP 7?

    May 21, 2015 · The <=> ("Spaceship") operator will offer combined comparison in that it will : Return 0 if values on either side are equal Return 1 if the value on the left is greater Return -1 …

  10. syntax - What are the PHP operators "?" and - Stack Overflow

    As of PHP 5.3: Since PHP 5.3, it is possible to leave out the middle part of the ternary operator. Expression expr1 ?: expr3 returns expr1 if expr1 evaluates to TRUE, and expr3 otherwise. As …

Refresh