PHP ord() 函数
PHP 教程
· 2019-01-29 18:41:43
实例
返回 "h" 的 ASCII值:
<?php
echo ord("h")."<br>";
echo ord("hello")."<br>";
?>
echo ord("h")."<br>";
echo ord("hello")."<br>";
?>
定义和用法
ord() 函数返回字符串中第一个字符的 ASCII 值。
语法
ord(string)
| 参数 | 描述 |
|---|---|
| string | 必需。要从中获得 ASCII 值的字符串。 |
技术细节
| 返回值: | 以整数形式返回 ASCII 值。 |
|---|---|
| PHP 版本: | 4+ |
点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html
Traction: A Startup Guide to Getting Customers
Gabriel Weinberg、Justin Mares / S-curves Publishing / 2014-8-25 / USD 14.99
Most startups end in failure. Almost every failed startup has a product. What failed startups don't have is traction -- real customer growth. This book introduces startup founders and employees to......一起来看看 《Traction: A Startup Guide to Getting Customers》 这本书的介绍吧!