【文件属性】:
文件名称:AMatch:验证 PHP 中的关联数组
文件大小:24KB
文件格式:ZIP
更新时间:2021-06-01 15:39:07
PHP
匹配
验证关联数组
哈布拉哈卜语例子:
第 1 部分: :
第 2 部分: :
请参阅文件夹“示例”中的示例。
这是使用的简短演示:
<?
$ params_bad = array (
'doc_id' => - 4 ,
'subject_id' => null ,
'parent_id' => 30 ,
'data' => array (
'flag' => 'booom' ,
'from_topic' => array (),
'old_property' => true ,
),
'wtf_param' => 'exploit' ,
);
$ match = AMatch :: runMatch ( $ params_bad )
-> doc_id ( 0 , '<
【文件预览】:
AMatch-master
----src()
--------AMatch()
----.travis.yml(184B)
----composer.json(403B)
----examples()
--------examples2.php(5KB)
--------examples.php(5KB)
----README.md(1KB)
----phpunit.xml(202B)
----tests()
--------AMatchTest.php(36KB)