-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_format.php
50 lines (39 loc) · 1.61 KB
/
test_format.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
49
50
<?php
require 'DumPHP.php';
/**
*
*/
class TestClass{
private $_private = '1';
public $_public = '1';
protected $_protected = '1';
static protected $_sprotected = '1';
static protected $_instance;
public function __construct() {
$this->count = 1;
}
public static function getInstance() {
self::$_instance = new self();
return self::$_instance;
}
public function publicMethod() {}
private function privateMethod() {}
protected function protectedMethod() {}
}
$date = new DateTime();
$object = new stdClass();
$string = 'gjjfgsrkjd';
$array = array(1,2,3,'fsdhqkfjhjkqs', 98, 6.00, false);
$array2 = array('array' => $array, 0 => $array);
DumPHP::log($array2);
//DumPHP::log(TestClass::getInstance());
//DumPHP::log(new TestClass());
DumPHP::log($string, false, true, 15468, -574626, 0, 1,
"è_çàé$^*ùjdfhjfjshsjh'", NULL,
"romaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadfhuidhzghzehgzdhgvhkldfhzdfhgdfbhdzfghksdfhgslfgjsljgfgohrzegrzhihdzglsdhgzdsfjildzhgozdhlbzghjfzkljgrohbzehgherghvbgzedlzdgkjskjvhdfklhk:dfsjbjkzdgjfkghdfhgsdfjjhsfgjk:zdbgldshkjhsdfhj;ghzdfjbgvsjkbvgjksdjvgsdjknvjksdfhvl;whjdjvjkzbdfbvklzdsjk,",
'<p class="test">HTML !</p>',
json_encode(array('test' => 'json', 'sub' => array(1,2,3,4,5,6))));
DumPHP::log(1);
DumPHP::log(2);
DumPHP::log(3);
DumPHP::log(1, 2, 3);