About 9,480,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

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

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

    Feb 13, 2013 · What does the .= operator mean in PHP? Asked 12 years, 4 months ago Modified 5 years, 5 months ago Viewed 64k times

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

    Aug 7, 2023 · 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 …

  5. 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.

  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. Newest 'php' Questions - Stack Overflow

    PHP is a widely used, open source, general-purpose, multi-paradigm, dynamically typed and interpreted scripting language designed initially for server-side web development.

  8. php - How to split a string by any of multiple delimiters ... - Stack ...

    "something here ; and there, oh,that's all!" I want to split it by ; and , so after processing should get: something here and there oh that's all!

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

    Nov 29, 2015 · 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 …

  10. PHP server on local machine? - Stack Overflow

    Nov 5, 2009 · I'm trying to build a PHP site and I'm wanting to test my PHP files without uploading them to my host. Basically testing them on my own machine before I upload them. How do I do …