summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/extract_variation9.phpt
blob: 1d4518bdf440e599e36c8fb924cbaa7bd89320a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Test extract() function (variation 9)
--FILE--
<?php
/* Using Class and objects */
echo "\n*** Testing for object ***\n";
class classA
{
  public  $v;
}

$A = new classA();
var_dump ( extract(get_object_vars($A),EXTR_REFS));

echo "Done\n";
?>
--EXPECT--
*** Testing for object ***
int(1)
Done