import zend standard tests
[hiphop-php.git] / hphp / test / zend / bad / ext-standard-array / bug39576.php
blobd272cfec6ce61c8980f7f179a394c3a1e7b661bb
1 <?php
3 class Test {
5 public $_table = '';
6 public $_columns = array ();
7 public $_primary = array ();
11 $test = new Test ();
12 $test->name = 'test';
13 $test->_columns['name'] = new stdClass;
15 function test ($value, $column, &$columns) {}
17 array_walk (
18 get_object_vars ($test),
19 'test',
20 $test->_columns
23 var_dump($test);
25 array_intersect_key (
26 get_object_vars ($test),
27 $test->_primary
30 echo "Done\n";