Skip to Content
PHP编程:第4版
book

PHP编程:第4版

by Kevin Tatroe, Peter MacIntyre
January 2021
Intermediate to advanced
505 pages
9h 45m
Chinese
Publishing House of Electronics Industry
Content preview from PHP编程:第4版
432
附录
A
函数参考
如果接口名字
name
已经被定义,返回
true
,否则返回
false
。默认情况下,函数会在检查
接口时调用
__autoload()
;如
autoload_interface
被设置为
false
__autoload()
不会被调用。
使用可选的进制
base
(如果未指定是十进制)返回
value
的整型值。如果
value
是非标
量的值(对象或数组),函数返回
0
把带点的
IP
地址(标准格式)转换为
IPv4
地址。
如果
object
所属的类是
class
,或者它的类的一个父类是
class
,返回
true
,否则返回
false
。如果
allow_string
false
,那字符串
class
的名字作为
object
是不被允许的。
如果
value
是数组,返回
true
;否则返回
false
如果
value
是布尔值,返回
true
;否则返回
false
如果
callback
是合法的回调函数,返回
true
,否则返回
false
。要想合法,
callback
须是一个函数名或者一个包含两个值(一个对象和它的方法)的数组。如果
lazy
被设置
true
,不会检查第一种形式的函数是否实际存在,也不检查回调函数中的第一个元
素是否是包含以第二个元素为名字的方法的对象。所有参数必须有正确的类型才会返回
true
。如果给出了最后一个参数,它将被填充为函数的可回调名字
虽然在这种情况
下,回调是一个对象的方法,实际上名称
name
是不能用来直接调用函数的。
验证
variable
的内容是否是一个数组或一个实现了
Countable ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

解密金融数据

解密金融数据

Justin Pauley
算法技术手册(原书第2 版)

算法技术手册(原书第2 版)

George T.Heineman, Gary Pollice, Stanley Selkow
Java持续交付

Java持续交付

Daniel Bryant, Abraham Marín-Pérez

Publisher Resources

ISBN: 9787121404634