Doc #55274 [Opn->Csd]: Wrong opcode description

From: Date: Wed, 16 Jan 2013 14:36:55 +0000
Subject: Doc #55274 [Opn->Csd]: Wrong opcode description
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9423@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55274&edit=1 ID: 55274 Updated by: googleguy@php.net Reported by: juzna dot cz at gmail dot com Summary: Wrong opcode description -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: - PHP Version: Irrelevant -Assigned To: +Assigned To: googleguy Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2011-07-24 12:42:21] juzna dot cz at gmail dot com Also, the example code for http://www.php.net/manual/en/internals2.opcodes.declare-function.php is wrong. Should be something like: if($test) { function a() { } } i.e. declaring functions depending on conditions, top-level functions are registered immediately without any bytecode ------------------------------------------------------------------------ [2011-07-24 01:20:39] frozenfire@php.net Copied from duplicate bug: From manual page: http://www.php.net/internals2.opcodes.jmpznz --- Explanation of this opcode is missing. Correct explanation should be: Jump to the address of op2 if value is zero, or to address given in extended_data if value is not zero. ------------------------------------------------------------------------ [2011-07-24 00:20:29] juzna dot cz at gmail dot com Description: ------------ --- From manual page: http://www.php.net/internals2.opcodes.jmpnz --- This manual page shows example of different opcode (jmpznz) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55274&edit=1

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