Rapide Advanced Adulte
 
 Web|Image|Shop|Video|News|Wmx|Mobile|Wiki|Ajouter ce moteur

     Manuel PHP     
Partager
 
 
Partager
Partager

 

Table :

.addcslashes
.addslashes
.bin2hex
.chop
.rtrim()
.chr
.chunk split
.convert cyr string
.convert uudecode
.convert uuencode
.count chars
.crc32
.crypt
.echo
.explode
.fprintf
.get html translation table
.htmlspecialchars()
.htmlentities()
.hebrev
.hebrevc
.html entity decode
.htmlentities
.htmlspecialchars decode
.htmlspecialchars
.implode
.join
.implode()
.levenshtein
.localeconv
.ltrim
.md5 file
.md5
.metaphone
.money format
.nl langinfo
.nl2br
.number format
.ord
.parse str
.print
.printf
.quoted printable decode
.quotemeta
.rtrim
.setlocale
.sha1 file
.sha1
.similar text
.soundex
.sprintf
.sscanf
.str getcsv
.chaîne de caractères
.str ireplace
.str replace()
.str pad
.str repeat
.str replace
.str rot13
.str shuffle
.str split
.str word count
.strcasecmp
.strchr
.strstr()
.strcmp
.strcoll
.strcspn
.strip tags
.stripcslashes
.addcslashes()
.stripos
.stripslashes
.stristr
.strlen
.strnatcasecmp
.strnatcmp
.strncasecmp
.strncmp
.strpbrk
.strpos
.strrchr
.strrev
.strripos
.strrpos
.strspn
.strstr
.strtok
.strtolower
.strtoupper
.strtr
.substr compare
.substr count
.substr replace
.substr
.trim
.ucfirst
.ucwords
.vfprintf
.vprintf
.vsprintf
.wordwrap
 
   

  ord  


ord

(PHP 3, PHP 4, PHP 5)

ord -- Retourne le code ASCII d'un caractère

Description

int ord ( string string )

ord retourne le code ASCII du premier caractère de string. Cette fonction est le contraire de chr().

Exemple 1. Exemple avec ord()

<?php
if (ord($str) == 10) {
  echo
"Le premier caractère de \$str est une nouvelle ligne\n";
}
?>

Vous pouvez trouver une table des codes ASCII ici : http://www.asciitable.com.

Voir aussi chr().


    Annonces       
 

 Retour au chapitre Php

 

Top
 

Ajouter JungleKey.fr à votre Explorateur

 
 

About Us | © 2007 JungleKey




iBlack | Mobile | Wiki | Ajouter ce moteur
.