About 7,060,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. 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 …

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

  6. php - How to convert these strange characters? (ë, Ã, ì, ù, à ...

    My page often shows things like ë, Ã, ì, ù, à in place of normal characters. I use utf8 for header page and MySQL encode. How does this happen?

  7. php - What is the difference between public, private, and …

    PHP manual has a good read on the question here. The visibility of a property or method can be defined by prefixing the declaration with the keywords public, protected or private.

  8. cmd - PHP is not recognized as an internal or external command …

    Jul 8, 2015 · Add C:\xampp\php to your PATH environment variable. (My Computer->properties -> Advanced system setting-> Environment Variables->path (click on edit)) Then close your …

  9. How do I get PHP errors to display? - Stack Overflow

    However, this doesn't make PHP to show parse errors occurred in the same file. Also, these settings can be overridden by PHP. In these cases the only way to show those errors is to …

  10. PHP executable not found. Install PHP 7 and add it to your PATH …

    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 …

Refresh