Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>I want to test my php code before uploading it into a remote server</p> </blockquote> <p>In order to <em>test</em> your code, you write <a href="https://stackoverflow.com/search?q=automated%20testing%20php">Automated Tests</a>. That way you don't need to verify manually each time you change something. See <a href="https://stackoverflow.com/questions/2984096/unit-integration-and-system-tests-for-php-applications">unit, integration and system tests for PHP applications</a></p> <blockquote> <p>Then I tried to test it locally but I think I have to setup a server in my computer, am I right?</p> </blockquote> <p>No. <a href="http://files.zend.com/help/PDT/working_with_the_debugger.htm" rel="nofollow noreferrer">Zend Debugger allows you to step your local code</a>. And you can also execute the code by just <a href="http://files.zend.com/help/previous-version/Zend-Studio-7/running_php_scripts_locally.htm" rel="nofollow noreferrer">running the script and check it's output</a>. However, if you want to <a href="http://files.zend.com/help/PDT/working_with_the_debugger.htm#MiniTOCBookMark4" rel="nofollow noreferrer">test by clicking through your application's UI</a>, then you need a webserver. PHP has a built-in webserver though, which might be sufficient for that purpose. See <a href="https://stackoverflow.com/questions/3246904/are-there-any-php-frameworks-contain-small-webserver-and-rich-console-tools-like/3247128#3247128">Are there any php frameworks contain small webserver and rich console tools like RoR/Django?</a></p> <p>On a side note, <a href="http://www.zend.com/en/products/studio/comparison" rel="nofollow noreferrer">Eclipse with PDT and Zend Debugger is not Zend Studio.</a> If you want to use Zend Studio with a local server, consider installing <a href="http://www.zend.com/en/products/server/free-edition" rel="nofollow noreferrer">Zend Server Community Edition</a> which will setup the entire PHP stack for you for out of the box usage. <a href="http://forums.zend.com/viewtopic.php?f=59&amp;t=5903" rel="nofollow noreferrer">No fiddling with getting Zend Debugger running with XAMP.</a> Questions about Zend Studio and Server are best asked at <a href="http://forums.zend.com" rel="nofollow noreferrer">http://forums.zend.com</a> btw</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload