1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
  
     | 
    
      <?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 324373 $ -->
<section xml:id="internals2.opcodes.pre-inc">
 <title>PRE_INC</title>
 <section xml:id="internals2.opcodes.pre-inc.code">
  <title>PHP code</title>
  <programlisting role="php">
   <![CDATA[
<?php
/*
 * increments variable indicated by value1 by 1 (before performing other operations) and stores in result
 * opcode number: 34
 */
++$a;
?>
]]>
  </programlisting>
 </section>
 <section xml:id="internals2.opcodes.pre-inc.listing">
  <title>PHP opcodes</title>
  <simpara>Function name: (null)</simpara>
  <simpara>Compiled variables: !0=$a </simpara>
  <informaltable>
   <tgroup cols="7">
    <thead>
     <row>
      <entry>line</entry><entry>#</entry><entry>op</entry>
      <entry>fetch</entry><entry>ext</entry><entry>return</entry>
      <entry>operands</entry>
     </row>
    </thead>
    <tbody>
     <row>
      <entry>6</entry><entry>0</entry>
      <entry>PRE_INC</entry><entry></entry>
      <entry></entry><entry></entry>
      <entry>!0</entry>
     </row>
     <row>
      <entry>7</entry><entry>1</entry>
      <entry>RETURN</entry><entry></entry>
      <entry></entry><entry></entry>
      <entry>1</entry>
     </row>
    </tbody>
   </tgroup>
  </informaltable>
 </section>
</section> 
     |