PHP Classes

File: test.php

Recommend this page to a friend!
  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: 18 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);
?>