PHP ord() Function

PHP number_format() Function
PHP parse_str() Function

what is the syntax of the ORD() function in php?

ord(string)
ParameterDescription
stringRequired. The string to get an ASCII value from
PHP ORD() method

examples of the ORD() function

Examples 1. In this example, we return the ASCII value of “h”.

<?php
echo ord("h")."<br>";
echo ord("hello")."<br>";
?>
PHP number_format() Function
PHP parse_str() Function
en English
X
Scroll to Top