PHP Classes

File: IRBINTest.php

Recommend this page to a friend!
  Classes of Keivan Sohrabloo  >  IRBin  >  IRBINTest.php  >  Download  
File: IRBINTest.php
Role: Example script
Content type: text/plain
Description: Example File
Class: IRBin
Identify Iran bank issuer from card number
Author: By
Last change:
Date: 6 years ago
Size: 1,113 bytes
 

Contents

Class file image Download
<?php
require_once('IRBIN.class.php');

/**
 * IRBIN
 *
 * IRBIN Test Example
 *
 * Copyright 2015 Keivan Sohrabloo
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * @category BinList
 * @package IRBinList
 * @copyright Copyright 2016 Keivan Sohrabloo
 * @license http://www.apache.org/licenses/LICENSE-2.0
 * @version 1.0.0, 2016-06-10
 * @author Keivan Sohrabloo (k.sohrabloo.k@gmail.com)
 */
 
 
$test2=new IRBIN;
 
var_dump($test2->getinfo("603799"));
 
 
/*
 Result:
 array(2) {
  ["BIN"]=>
  string(6) "603799"
  ["BANK"]=>
  string(26) "???? ??? ?????"
}

 
 */
 
?>

For more information send a message to info at phpclasses dot org.