#47556 [NEW]: Tricky, undocumented trait of global keyword

From: Date: Wed, 04 Mar 2009 09:48:56 +0000
Subject: #47556 [NEW]: Tricky, undocumented trait of global keyword
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1936@lists.php.net to get a copy of this message
From: gmtfn at yahoo dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Tricky, undocumented trait of global keyword Description: ------------ According to http://us.php.net/manual/en/datetime.modify.php, DateTime::modify() returns a modified DateTime. I believe I've read that this method returns DateTime object only starting with PHP 5.3. However, it is certain that it returns nothing prior to this version. -- Edit bug report at http://bugs.php.net/?id=47556&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47556&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47556&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47556&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47556&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47556&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47556&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47556&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47556&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47556&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47556&r=support Expected behavior: http://bugs.php.net/fix.php?id=47556&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47556&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47556&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47556&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47556&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47556&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47556&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47556&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47556&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47556&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47556&r=mysqlcfg

« previous php.doc.bugs (#1936) next »