Doc #52695 [NEW]: Contradictory sentence

From: Date: Wed, 25 Aug 2010 11:58:22 +0000
Subject: Doc #52695 [NEW]: Contradictory sentence
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4921@lists.php.net to get a copy of this message
From: Operating system: Vista Ultimate PHP version: 5.3.3 Package: Documentation problem Bug Type: Documentation Problem Bug description:Contradictory sentence Description: ------------ See: http://www.php.net/manual/en/features.gc.refcounting-basics.php Example #6 The first sentence indicates there is one zval: "From the above Xdebug output, we see that both the old and new array element now point to a zval container whose "refcount" is 2" and this is what I expected, but the second sentence: "Of course, there are now two zval containers, but they are the same one." This says there are two zval containers, but it also says they are the same one. Which is it? Either there are two zval containers (with the same value), or there is one. This second sentence also seems to contradict the first which clearly says there is a single zval container (which makes sense given the image preceding it). Expected result: ---------------- If there are two zval containers, which both have the same value, I'd expect the documentation to say that. However if there is just one zval container, as per the example image and the first sentence, then you should not say, "Of course, there are now two zval containers, but they are the same one." -- Edit bug report at http://bugs.php.net/bug.php?id=52695&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52695&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52695&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52695&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52695&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52695&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52695&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52695&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52695&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52695&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52695&r=support Expected behavior: http://bugs.php.net/fix.php?id=52695&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52695&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52695&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52695&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52695&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52695&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52695&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52695&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52695&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52695&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52695&r=mysqlcfg

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