About 11,900,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. 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.

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

  6. How to set PHP executable path php.validate ... - Stack Overflow

    Question is How to set php executable path php.validate.executablePath in vscode when php is set inside docker container? My understanding is that docker runs containerized applications …

  7. php - Change the maximum upload file size - Stack Overflow

    The upload_max_filesize and the post_max_size settings in the php.ini need to changed to support larger files than the php default allowed size. set upload_max_filesize to the maximum …

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

  9. How to use arrow functions in PHP? - Stack Overflow

    This is how we can use in OOP php. Here summation is the arrow function that is called inside as an argument of the add method that is inside of calculate class.

  10. How to call a JavaScript function from PHP? - Stack Overflow

    PHP and client-side javascript do not interact with eachother directly. HTTP is always in the middle. Even with Ajax requests that is the the case. To reiterate what I wrote now over 7 …