Ejemplo n.º 1
0
<?php

require 'CashMachine.php';
$teste = new CashMachine();
$result_0 = $teste->execute(30.0);
$result_1 = $teste->execute(80.0);
$result_2 = $teste->execute(125.0);
$result_3 = $teste->execute(-130.0);
$result_4 = $teste->execute(NULL);
?>
<!DOCTYPE HTML>
<html>
<head></head>
<body>
	<h1>Group By Interval</h1>

	<p class="input_0"><?php 
echo $result_0;
?>
</p>
	<p class="input_1"><?php 
echo $result_1;
?>
</p>
	<p class="input_2"><?php 
echo $result_2;
?>
</p>
	<p class="input_3"><?php 
echo $result_3;
?>