About 8,930,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 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?

  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. 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. How to call a PHP function on the click of a button

    I have created a page called functioncalling.php that contains two buttons, Submit and Insert. I want to test which function is executed when a button gets clicked. I want the output to appear …

  7. Remove warning messages in PHP - Stack Overflow

    Jan 1, 2010 · I have some PHP code. When I run it, a warning message appears. How can I remove/suppress/ignore these warning messages?

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

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

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