About 15,000,000 results
Open links in new tab
  1. 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 …

  2. How do I get PHP errors to display? - Stack Overflow

    However, this doesn't make PHP to show parse errors occurred in the same file. Also, these settings can be overridden by PHP. In these cases the only way to show those errors is to …

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

  4. How can I make PHP display the error instead of giving me 500 …

    Check the error_reporting, display_errors and display_startup_errors settings in your php.ini file. They should be set to E_ALL and "On" respectively (though you should not use display_errors …

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

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

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

  8. PHP - concatenate or directly insert variables in string

    If the variable inside the double quote PHP take time to parse variable. Check out this Single quotes or double quotes for variable concatenation? This is another example Is there a …

  9. Send email with PHP from html form on submit with the same script

    Aug 22, 2013 · I want to send an email with PHP when a user has finished filling in an HTML form and then emailing information from the form. I want to do it from the same script that displays …

  10. What is thread safe or non-thread safe in PHP? - Stack Overflow

    Apr 19, 2020 · I saw different binaries for PHP, like non-thread or thread safe? What does this mean? What is the difference between these packages?