Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Afif Ahmad Hidayat  >  Check Prime Numbers  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example to run prime check class
Class: Check Prime Numbers
Show prime numbers between two values
Author: By
Last change: add function include
Date: 3 years ago
Size: 155 bytes
 

Contents

Class file image Download
<?php
    
include('prime_check.php');
    
$input[0] = 1000000;
    
$input[1] = 1001000;
    
$prime = new PrimeNumbers($input[0], $input[1]);
    
$prime->display();