About 50 results
Open links in new tab
  1. 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 …

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

  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'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 …

  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. Difference between & and && in PHP - Stack Overflow

    Mar 4, 2010 · Difference between & and && in PHP Asked 15 years, 7 months ago Modified 7 years, 3 months ago Viewed 54k times

  8. Using AND/OR in if else PHP statement - Stack Overflow

    Dec 10, 2010 · In php both AND, && and OR, || will work in the same way. If you are new in programming and php is one of your first languages them i suggest using AND and OR, …

  9. What is the .= (dot equals) operator in PHP? - Stack Overflow

    What is the .= (dot equals) operator in PHP? [duplicate] Asked 16 years, 2 months ago Modified 2 years, 11 months ago Viewed 2k times

  10. php - 'AND' vs '&&' as operator - Stack Overflow

    May 10, 2010 · I have a codebase where developers decided to use AND and OR instead of &amp;&amp; and ||. I know that there is a difference in operators' precedence (&amp;&amp; …