php-src/ext/standard/tests/array/extract_variation9.phpt
Steph Fox 833f4150a1 - killed off UEXPECT
- could someone please fix var_export2.phpt? NUL is corrupted, can't fix here
2008-05-26 23:36:10 +00:00

21 lines
304 B
PHP

--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