Skip to content

Instantly share code, notes, and snippets.

@gron1987
Created October 26, 2012 11:07
Show Gist options
  • Save gron1987/3958222 to your computer and use it in GitHub Desktop.
Save gron1987/3958222 to your computer and use it in GitHub Desktop.
<?php
class A {
public function tmp(){
$this->sitesAdmin = array(
0 => array(
'idsite' => "63",
'name' => "Nike Test",
'main_url' => "https://dl.dropbox.com/u/57982494/Final_test_site/Final_test_site",
'ts_created' => "2012-10-05 15:24:58",
'ecommerce' => "0",
'timezone' => "UTC",
'currency' => "USD",
'excluded_ips' => "",
'excluded_parameters' => "",
'group' => "",
'feedburnerName' => NULL
)
);
var_dump($this->sitesAdmin, empty($this->sitesAdmin), count($this->sitesAdmin));
}
}
$a = new A();
$a->tmp();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment