About 12,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. 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?

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

  4. What is <=> (the 'Spaceship' Operator) in PHP 7? - Stack Overflow

    May 21, 2015 · PHP 7 introduced the Spaceship (<=>) operator. What is it and how does it work?

  5. Reference assignment operator in PHP, =& - Stack Overflow

    Nov 20, 2009 · The PHP manual has a section titled References Explained which every PHP programmer should read. It's important to understand that references in PHP are not a data …

  6. Format code command for PHP/HTML in Visual Studio Code

    Jun 13, 2020 · Is it possible to get Visual Studio Code to format mixed HTML and PHP code on Windows Visual Studio Code version 0.7.1?

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

  8. PHP: How to send HTTP response code? - Stack Overflow

    Jul 15, 2010 · I have a PHP script that needs to make responses with HTTP response codes (status-codes), like HTTP 200 OK, or some 4XX or 5XX code. How can I do this in PHP?

  9. PHP array: count or sizeof? - Stack Overflow

    Oct 20, 2010 · Both are used to count elements in a array. sizeof () function is an alias of count () function used in PHP. However, count () function is faster and better than sizeof ().

  10. How to get URL of current page in PHP - Stack Overflow

    In PHP, how can I get the URL of the current page? Preferably just the parts after http://domain.example.