Exemplo n.º 1
0
 public function testConnectionIsValid()
 {
     $msi = new Parsing\Parser();
     $this->assertEquals('+38640734068', $msi->f('+38640734068'));
     $msi = new msisdn();
     $this->assertEquals('Si.mobil, 386, 40734068, SI', $msi->f('+38640734068'));
 }
Exemplo n.º 2
0
	  <div id='menu'>
	    <div class='icon' style='width:100px;'><a>about us</a></div>
	    <div class='icon' style='width:150px;'><a>country codes</a></div>
	    <div class='icon'><a>gitub</a></div>
		<div class='icon'><a>Home</a></div> 
	  </div>
	 </div>
	 <div class='header1'></div>
	</div>
  	<div class='page' style='height:100px;'>
	<div class='line'></div>
	 <div id='form' style='width:530px;height:598px;'>
	 <div class='type'>Information:</div>
	  <div id='input' style='height:545px; width:528px; '>
	          		   
        <?php 
require "parse.php";
$number = $_GET['num'];
$p = new Parsing\Parser();
$number = preg_replace("/[^0-9]/", "", $number);
$result = $p->f($number);
?>
 
	  </div>
    </div>
   </div>



  </body>
</html>