About 15,400,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 · 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 …

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

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

    Continue to help good content that is interesting, well-researched, and useful, rise to the top! To gain full voting privileges,

  5. Reference Guide: What does this symbol mean in PHP? (PHP Syntax)

    What is this? This is a collection of questions that come up now and then about syntax in PHP. This is also a Community Wiki, so everyone is invited to participate in maintaining this list. This …

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

  8. php - Import file size limit in PHPMyAdmin - Stack Overflow

    Dec 22, 2016 · I have changed all the php.ini parameters I know: upload_max_filesize, and post_max_size. Why am I still seeing 2MB? I'm using Zend Server CE on a Ubuntu VirtualBox …

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

  10. How to resolve cURL Error (7): couldn't connect to host?

    Mar 29, 2012 · Context I'm rebuilding the server side for an app that uses php routines to return various bits of data from internal sources as well as external APIs for a map based app. I have …