Login   Register  
PHP Classes
elePHPant
Icontem

File: test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Yaroslav Shapoval  >  Cyrillic to Latin  >  test.php  >  Download  
File: test.php
Role: Example script
Content type: text/plain
Description: main classsymple example
Class: Cyrillic to Latin
Translite text between cyrillic and latin
Author: By
Last change:
Date: 8 years ago
Size: 189 bytes
 

Contents

Class file image Download
<?php
require_once("cyrlat.class.php");
$text=new CyrLat;

$input="Привет, Мир!";
echo 
$text->cyr2lat($input);
echo 
"<hr>\n";
$input="Privet, Mir!";
echo 
$text->lat2cyr($input);
?>