当前位置:网站首页>PHP defines the array using commas,
PHP defines the array using commas,
2022-07-27 07:09:00 【Tie Zhu】
One . Preface
In the process of looking at the code , Found a strange code , And Baidu hasn't come out yet... What's the use , So here's a record of .
Code up :
if (in_array($test, [1,])) {
}
// This [1,]
Two . Test it
$test_id = 10;
$arr = [1,];
if(in_array($test_id,$arr)){
print_r("yes");
}
print_r($arr);
//====================
result :
Array
(
[0] => 1
)
in other words , This gadget is equivalent to an ordinary definition array [1], I didn't find anything else special ... If a big man sees and just knows this , I hope you can give me some advice
end
边栏推荐
- Express framework
- Watermelon book learning notes - Chapter 4 decision tree
- Reasoning speed of model
- Campus news release management system based on SSM
- 硫化镉CdS量子点修饰脱氧核糖核酸DNA|CdS-DNA QDs|近红外CdS量子点偶联DNA规格信息
- regular expression
- 齐岳:巯基修饰寡聚DNA|DNA修饰CdTe/CdS核壳量子点|DNA偶联砷化铟InAs量子点InAs-DNA QDs
- 基于SSM实现的校园新闻发布管理系统
- 基于SSM图书借阅管理系统
- 基于SSM学生学籍管理系统
猜你喜欢

Vscode connection remote server development

Visual horizontal topic bug1:filenotfounderror: could not find module 'mvcameracontrol dll‘ (or one of it

DNA (deoxyribonucleic acid) supply | carbon nanotube nucleic acid loaded dna/rna material | dna/rna nucleic acid modified magnetic nanoparticles

DNA modified noble metal nanoparticles | DNA modified gold nanoparticles (scientific research level)

Student status management system based on SSM

采用QT进行OpenGL开发(一)绘制平面图形

Account management and authority

About the new features of ES6

Image super-resolution evaluation index

Campus news release management system based on SSM
随机推荐
采用QT进行OpenGL开发(一)绘制平面图形
Livox Slam (with lio+ closed loop detection optimization)
jest单测样式问题【identity-obj-proxy】npm包
What is the reason why dragging the timeline is invalid when playing device videos on the easycvr platform?
ZnS-DNA QDs近红外硫化锌ZnS量子点改性脱氧核糖核酸DNA|DNA修饰ZnS量子点
DNA modified zinc oxide | DNA modified gold nanoparticles | DNA coupled modified carbon nanomaterials
R2LIVE代码学习记录(3):对雷达特征提取
[unity URP] the code obtains the universalrendererdata of the current URP configuration and dynamically adds the rendererfeature
Speech and language processing (3rd ed. draft) Chapter 2 - regular expression, text normalization, editing distance reading notes
Basic concepts of program, process, thread, coprocess, single thread and multi thread
C#时间相关操作
银行业客户体验管理现状与优化策略分析
Neural network parameter initialization
【12】 Understand the circuit: from telegraph to gate circuit, how can we "send messages from thousands of miles"?
Watermelon book chapter 3 - linear model learning notes
Reasoning speed of model
How to delete or replace the loading style of easyplayer streaming media player?
PNA peptide nucleic acid modified peptide suc Tyr Leu Val PNA | suc ala Pro Phe PNA 11
含有偶氮苯单体的肽核酸寡聚体(NH2-TNT4,N-PNAs)齐岳生物定制
Li Hongyi 2020 deep learning and human language processing dlhlp core resolution-p21