php ord () function syntax

php ord () function syntax

Role: ASCII value of the returned string of the first character. Linear motor manufacturer

Syntax: ord (String)

parameter:

parameter description
string You must obtain a string of ASCII values ​​from

Description: ASCII value of the returned string of the first character.

php ord () function examples

<?php
echo ord("Hello world");
?>

Guess you like

Origin www.cnblogs.com/furuihua/p/11888310.html