Home  |  Linux  | Mysql  | PHP  | XML
From:Felipe Pena Date:Tue Aug 19 05:13:12 2008
Subject:cvs: phpdoc /en/reference/classobj/functions property-exists.xml
felipe		Tue Aug 19 11:13:12 2008 UTC

  Modified files:              
    /phpdoc/en/reference/classobj/functions	property-exists.xml 
  Log:
  - Improved example
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/classobj/functions/property-exists.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/classobj/functions/property-exists.xml
diff -u phpdoc/en/reference/classobj/functions/property-exists.xml:1.8 phpdoc/en/reference/classobj/functions/property-exists.xml:1.9
--- phpdoc/en/reference/classobj/functions/property-exists.xml:1.8	Tue Aug 19 10:59:38 2008
+++ phpdoc/en/reference/classobj/functions/property-exists.xml	Tue Aug 19 11:13:12 2008
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
 <refentry xml:id="function.property-exists" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>property_exists</refname>
@@ -92,6 +92,7 @@
 class myClass {
     public $mine;
     private $xpto;
+    static protected $test;
 
     static function test() {
         var_dump(property_exists('myClass', 'xpto')); //true
@@ -100,8 +101,9 @@
 
 var_dump(property_exists('myClass', 'mine'));   //true
 var_dump(property_exists(new myClass, 'mine')); //true
-var_dump(property_exists('myClass', 'xpto'));   //true
+var_dump(property_exists('myClass', 'xpto'));   //true, as of PHP 5.3.0
 var_dump(property_exists('myClass', 'bar'));    //false
+var_dump(property_exists('myClass', 'test'));   //true, as of PHP 5.3.0
 myClass::test();
 
 ?>


Navigate in group php.doc.cvs at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants