About 9,020,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. Newest Questions - Stack Overflow

    1 day ago · Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Try Teams for free Explore Teams

  4. PHP - Failed to open stream : No such file or directory

    Apr 12, 2016 · Three settings could be relevant : open_basedir If this is set PHP won't be able to access any file outside of the specified directory (not even through a symbolic link). However, …

  5. How to send a GET request from PHP? - Stack Overflow

    Jun 6, 2009 · Is there a way to call an HTML file synchronously from PHP? The HTML file does nothing but link to a JavaScript file that returns a value using document.write (). In other words, …

  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. 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. php - PDOException “could not find driver” - Stack Overflow

    php-mysql is already the newest version (1:7.1+49+deb.sury.org~xenial+4). When try to run command sudo apt-get install php-mysql in ubuntu 16.04 with nginx php fpm i also restart the …

  9. How to resolve cURL Error (7): couldn't connect to host?

    Mar 29, 2012 · Context I'm rebuilding the server side for an app that uses php routines to return various bits of data from internal sources as well as external APIs for a map based app. I have …

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