Jump to: navigation, search

Framework to develop simple Eclipse plugin using PHP/UsingThePlugin

< Framework to develop simple Eclipse plugin using PHP
Revision as of 15:08, 20 August 2007 by Toomasr.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Quick Start

Run PHP Scripts

  • Create a PHP file with the extension php
    • Contents can be <? echo "Hello, World!" ?>
  • Right click on the file and select "Evaluate as PHP"
  • Expected output is
Output is 'Hello, World!'
Return is '1'
  • Add some more PHP to the script
$var = 46;
echo $var;
  • Select in the editor the newly added lines
    • Right click and select "Evaluate as PHP"
    • Expected output is
Output is '46'
Return is '1'