Languages

Fsharp
ActionScript
xBase
Clean
GPSS
PureBasic
Sieve
Erlang
JOVIAL
Mercury
Linda
DataFlex
PostScript
FoxPro2
VFP
Cobol
Prolog
Jython
Awk
VisualBasic
JavaScript
Matlab
ASP
Haskell
Csharp
D
Smalltalk
Nemerle
Pixilang
Java
SQL
Python
ObjectPascal
Ruby
Perl
Pascal
Assembler
PHP
C
Functions  Add function  Users  Registration  Enter   About  ASCII Table  Our helpers

str_rot13 in PHP

(PHP 4 >= 4.2.0, PHP 5)

str_rot13 — Perform the rot13 transform on a string
Description
string str_rot13 ( string $str )

This function performs the ROT13 encoding on the str argument and returns the resulting string. The ROT13 encoding simply shifts every letter by 13 places in the alphabet while leaving non-alpha characters untouched. Encoding and decoding are done by the same function, passing an encoded string as argument will return the original version.

<?php

echo str_rot13('PHP 4.3.0'); // CUC 4.3.0

?>


Note: The behaviour of this function was buggy until PHP 4.3.0. Before this, the str was also modified, as if passed by reference.
Doing for this function is string
Add by Pancho
You can edit it here
Adding comments is available only for registered users.

Distant Star's Sound Waves Reveal Cycle Similar to Sun

Illustration of the CoRoT satellite measuring the acoustic fluctuations of a star.

In a bid to unlock long-standing mysteries of the sun, including the impacts on Earth of its 11-year cycle, an international team of scientists has successfully probed a distant star.

By monitoring the star's sound waves, the team has observed a magnetic cycle analogous to the sun's solar cycle.

Results of the study, conducted by scientists at the U.S. National Center for Atmospheric Research (NCAR) in Boulder, Colo., and colleagues in France and Spain, are published this ...

More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=117554&WT.mc_id=USNSF_51&WT.mc_ev=click


This is an NSF News item.

PycckaR
BepcuR


Articles
Articles


Library
Library


Downloads
Downloads

Google Chrome Golf 6
 © Internet, books, teachers and Rudevich Alexander brains.