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

    594 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 even …

  2. Newest 'php' Questions - Stack Overflow

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

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

  4. 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 match expression

  5. php - How do I run a file on localhost? - Stack Overflow

    How do I actually run a file on localhost? I know it is working, but how do I run a file on it, and how do I verify that the file is in fact running on localhost? Server newbie here, additional que...

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

    Not equal to != and !== in PHP [duplicate] Asked 15 years, 3 months ago Modified 6 months ago Viewed 286k times

  7. PHP - Check if two arrays are equal - Stack Overflow

    Apr 15, 2011 · I'd like to check if two arrays are equal. I mean: same size, same index, same values. How can I do that? Using !== as suggested by a user, I expect that the following would print enter if …

  8. PHP - concatenate or directly insert variables in string

    If the variable inside the double quote PHP take time to parse variable. Check out this Single quotes or double quotes for variable concatenation? This is another example Is there a performance benefit …

  9. how to access the command line for xampp on windows

    May 25, 2012 · I am running Xampp on my Windows 7 machine and was wondering if and how I could run commands for xampp via a command line. commands like php phpfile.php Any advice would be …

  10. visual studio code - PHP executable not found. Install PHP 7 and add it ...

    Oct 27, 2016 · Add your folder where your php.exe is to your Windows PATH variable. I edited 'user configuratio' in VS Code but it didn't help. After that I added php folder to my PATH variable and now …