About 10,800,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 '<?=' 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.

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

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

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

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

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

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

  10. What does ${ } mean in PHP syntax? - Stack Overflow

    Jun 5, 2013 · ${ } (dollar sign curly bracket) is known as Simple syntax. It provides a way to embed a variable, an array value, or an object property in a string with a minimum of effort. If a …