Posts Tagged ‘PHP Scripts’

« Previous 1 2

PHP: Words to Numeric

Posted: , By Patcoola

Script: words_to_numeric
Programming Language: PHP
Created Date: 2018-04-22

Purpose: Converts the spelled up form of a number to numbers.

Description: Changes the word form of a positive integer to its numeric value. Supports a value up to 99.

Read more…


PHP: To Roman Numerals

Posted: , By Patcoola

Script: to_roman_num
Programming Language: PHP
Created Date: 2018-08-27

Purpose: Converts a number to Roman Numerals.

Description: Changes a positive integer to Roman Numerals up to 1999.

Read more…


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.

Read more…


PHP: charAt

Posted: , By Patcoola

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

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

Description: Returns the character from a give position of a string. Supports Unicode characters.

Read more…


PHP: charCodeAt

Posted: , By Patcoola

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

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

Description: Gets the character code from a give position of a string. Provides the same character codes as in Javascript in PHP.

Read more…


Script: Parse Number [PHP]

Posted: , By Patcoola

Script Title: parseNum
Programming Language: PHP
Date Completed: 2012/08/27

Purpose: To return the number value from a string. Returns a number.

Read more…