[ create a new paste ] login | about

Link: http://codepad.org/YXd8aqvF    [ raw code | output | fork ]

PHP, pasted on Sep 16:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

$category->term_id = 1;
$category->name = 1;
$category->slug = 1;
$category->term_group = 1;
$category->term_taxonomy_id = 1;
$category->taxonomy = 1;
$category->description = 1;
$category->parent = 1;
$category->count = 1;
$category->cat_ID = 1;
$category->category_count = 1;
$category->category_description = 1;
$category->cat_name = 1;
$category->category_nicename = 1;
$category->category_parent = 1;

var_dump((array) $category);


Output:
array(15) {
  ["term_id"]=>
  int(1)
  ["name"]=>
  int(1)
  ["slug"]=>
  int(1)
  ["term_group"]=>
  int(1)
  ["term_taxonomy_id"]=>
  int(1)
  ["taxonomy"]=>
  int(1)
  ["description"]=>
  int(1)
  ["parent"]=>
  int(1)
  ["count"]=>
  int(1)
  ["cat_ID"]=>
  int(1)
  ["category_count"]=>
  int(1)
  ["category_description"]=>
  int(1)
  ["cat_name"]=>
  int(1)
  ["category_nicename"]=>
  int(1)
  ["category_parent"]=>
  int(1)
}


Create a new paste based on this one


Comments: