Hello,
I want to check if a variable in a other class is set "true".
<?php
class test
{
var $a=true;
function create()
{
}
}
$obj =new test;
if ( property_exists( $obj, 'a' ) )
{
echo 'The property "a" exsists';
}
else
{
echo 'The property "a" does not exsist';
}
?>
How can do that?