Paste Search Dynamic
Recent pastes
test
  1. <?php
  2. class test {
  3.     public $pub = false;
  4.     private $priv = true;
  5.     protected $prot = 42;
  6. }
  7. $t = new test;
  8. $t->pub = $t;
  9. $data = array(
  10.     'one' => 'a somewhat long string!',
  11.     'two' => array(
  12.         'two.one' => array(
  13.             'two.one.zero' => 210,
  14.             'two.one.one' => array(
  15.                 'two.one.one.zero' => 3.141592564,
  16.                 'two.one.one.one'  => 2.7,
  17.             ),
  18.         ),
  19.     ),
  20.     'three' => $t,
  21.     'four' => range(0, 5),
  22. );
  23. var_dump( $data );
  24. ?>
Parsed in 0.022 seconds