dmitry          Thu Jul  7 12:09:57 2005 EDT

  Modified files:              
    /php-src/tests/classes      array_access_001.phpt array_access_002.phpt 
  Log:
  Fixed bug #33512 (Add missing support for isset()/unset() overloading to 
complement the property get/set methods). Now empty($obj[...]) works proper but 
in addition it may call offsetGet() method.
  
  
http://cvs.php.net/diff.php/php-src/tests/classes/array_access_001.phpt?r1=1.3&r2=1.4&ty=u
Index: php-src/tests/classes/array_access_001.phpt
diff -u php-src/tests/classes/array_access_001.phpt:1.3 
php-src/tests/classes/array_access_001.phpt:1.4
--- php-src/tests/classes/array_access_001.phpt:1.3     Wed Sep 29 05:36:56 2004
+++ php-src/tests/classes/array_access_001.phpt Thu Jul  7 12:09:55 2005
@@ -96,12 +96,16 @@
 }
 ===EMPTY===
 object::offsetExists(0)
+object::offsetGet(0)
 bool(false)
 object::offsetExists(1)
+object::offsetGet(1)
 bool(false)
 object::offsetExists(2)
+object::offsetGet(2)
 bool(false)
 object::offsetExists(4th)
+object::offsetGet(4th)
 bool(false)
 object::offsetExists(5th)
 bool(true)
http://cvs.php.net/diff.php/php-src/tests/classes/array_access_002.phpt?r1=1.3&r2=1.4&ty=u
Index: php-src/tests/classes/array_access_002.phpt
diff -u php-src/tests/classes/array_access_002.phpt:1.3 
php-src/tests/classes/array_access_002.phpt:1.4
--- php-src/tests/classes/array_access_002.phpt:1.3     Wed Sep 29 05:36:56 2004
+++ php-src/tests/classes/array_access_002.phpt Thu Jul  7 12:09:55 2005
@@ -96,12 +96,16 @@
 }
 ===EMPTY===
 object::offsetExists(0)
+object::offsetGet(0)
 bool(false)
 object::offsetExists(1)
+object::offsetGet(1)
 bool(false)
 object::offsetExists(2)
+object::offsetGet(2)
 bool(false)
 object::offsetExists(4th)
+object::offsetGet(4th)
 bool(false)
 object::offsetExists(5th)
 bool(true)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to