Calculator (atoum)

NetBeans PHP Sample Application

What is Calculator?

Calculator is a simple calculator that supports basic arithmetical operations. This PHP application is created to highlight PHP features supported by NetBeans IDE.

This sample is not intented to be used in a production environment without any changes.

This sample demonstrates the following features:

  • unit testing using atoum

Requirements

Follow these before you run the sample:
  • Install NetBeans IDE with PHP support
  • Install and configure PHP Runtime
  • Download atoum PHAR file

What is included?

  • NetBeans PHP Application Project

Before the start

Getting Started

  1. For the very first run, IDE will ask you for the downloaded atoum PHAR file.
  2. Simply test the project. Right-click the project node and select Test. IDE will inform you about the test results (window with test results can be opened manually).
  3. Play futher with the sample :)