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

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

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

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

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

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

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

  9. Creating a config file in PHP - Stack Overflow

    Structured file Storing it as a INI file as suggested by Marcel or JSON or XML also provides a simple api to map the file into a PHP data structure (and with the exception of XML, to escape …

  10. How to increase the execution timeout in php? - Stack Overflow

    Sep 30, 2010 · 4 If you cannot edit php.ini (on your server for example) you can attempt to change the php.ini parameters from within your php code. Try: ini_set('max_execution_time', …