PhpSnip.com

User Stats

List all 256 Character Function

This will return all the 256 characters with its valid char('value'); ...

Info

 Download  View Source (print view)
 Rating : 4.7  Views : 266

Source Code ( 18 lines )

<?
#
# Type: Function
# Author: MadLogic
# Email: MadLogic@Paradise.net.nz
# Usage: 
#   _listChrs();
#

function _listChrs(){ 
  for ($i = 0; $i < 256; ++$i) { 
    static $genTmp; 
    $genTmp++; 
    print "chr($genTmp) will output '".(chr($genTmp))."'<br>n";
  } 
} 
_listChrs();
?>

Search

Subscribe

  Rss Feeds

Sponsors

Advertise