chr()
Zwraca jeden ciÄ…g znaków zawierajÄ…cych okreÅ›lone przez charakter ASCII znaki.
Funkcja ta uzupełnia ord().
Kompatybilność: PHP4, PHP5.
Listing
<?php
$str = \"The string ends in escape: \";
$str .= chr(27); /* dodaje znak ucieczki na końcu $str */
/* Częszciej jednak to jest bardziej użyteczne */
$str = sprintf(\"The string ends in escape: %c\", 27);
?>
Dodano przez: divix
Ranga: Administrator serwisu Punktów: 38473
Ranga: Administrator serwisu Punktów: 38473
Komentarze użytkowników
:: Losowe artykuły

:: Wymiana linków

Modowe inspiracje |
Android Gry i Aplikacje |
ZaplanujTransport.pl: Przeprowadzki, transport, aukcje |
Logo dla firmy |
Change Tires - Car Weather Forecast Reminder |
Zend Framework 3. Developer's Guide |
IT Books Reviews and Programming: JS, JAVA, PHP, ANDROID, CSS |
Katalog roślin |
Programming articles of: JAVA, PHP, C++, Pyth, JavaScript and so on..