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

    Dec 26, 2012 · 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. PHP Get name of current directory - Stack Overflow

    Apr 3, 2012 · That way when common.php is require'd in main.php, the call of require_once in common.php will correctly includes editor.php in images/editor.php instead of trying to look in …

  4. 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?

  5. Newest Questions - Stack Overflow

    A collective where developers working with PHP can learn and connect about the open source scripting language.

  6. php - curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in …

    Jul 25, 2017 · I'm hitting my curl on ubuntu terminal and getting this response curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to domain.com:443 . I really can't …

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

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

  10. how to get id from URL using php - Stack Overflow

    how to get id from URL using php Asked 11 years, 4 months ago Modified 4 years, 2 months ago Viewed 148k times