-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpf_obj_arr.php
48 lines (43 loc) · 1.24 KB
/
pf_obj_arr.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* Created by PhpStorm.
* User: 南丞
* Date: 2019/1/24
* Time: 13:51
*
*
* _ooOoo_
* o8888888o
* 88" . "88
* (| ^_^ |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . ___
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ========`-.____`-.___\_____/___.-`____.-'========
* `=---='
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* 佛祖保佑 永无BUG 永不修改
*
*/
require __DIR__ . '/../vendor/autoload.php';
use pf\arr\PFarr;
class obj
{
}
$obj = new obj();
$obj->body = 'another post';
$obj->id = 21;
$obj->approved = true;
$obj->favorite_count = 1;
$obj->status = NULL;
//echo json_encode($obj);
PFarr::dd(PFarr::pf_obj_arr($obj));