PHP: fromCharCode

Posted: , By Patcoola

Script: fromCharCode
Programming Language: PHP
Created Date: 2018-10-23

Purpose: Bring Javascript’s fromCharCode() function to PHP with Unicode support.

Description: Returns the character from a character code. Supports Unicode. Returns an empty string if no character is available.


fromCharCode ( integer )

Example Usage:

ECHO fromCharCode ( 333 );

Returns ō

Tags: ,

Comments:Write Comment

There are currently no comments for this post.

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

All comments are reviewed before publishing. Comments must be related to the page topic, must not be spam and must comply with the criminal code of Canada.