<?php
require_once 'Factoring.php'; //include the class
$factoring = new Factoring();
$factored = $factoring->factor_number(10); //factor the number
echo $factored . "<br/>"; //print the returned value of the factor_number function
echo "<pre>";
print_r($factoring->get_factored_array()); //print the array of the factored number
echo "</pre>";
?>