File: isset-isempty-var.xml

package info (click to toggle)
php-doc 20140201-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 74,084 kB
  • ctags: 4,040
  • sloc: xml: 998,137; php: 20,812; cpp: 500; sh: 177; makefile: 63; awk: 28
file content (67 lines) | stat: -rw-r--r-- 1,790 bytes parent folder | download
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 324373 $ -->
<section xml:id="internals2.opcodes.isset-isempty-var">
 <title>ISSET_ISEMPTY_VAR</title>
 <section xml:id="internals2.opcodes.isset-isempty-var.code">
  <title>PHP code</title>
  <programlisting role="php">
   <![CDATA[
<?php
/*
 * Tests if the value of a variable is set or not.
 * opcode number: 114
 */
if(isset($a)){ return 0;}
?>
]]>
  </programlisting>
 </section>
 <section xml:id="internals2.opcodes.isset-isempty-var.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>ZEND_ISSET_ISEMPTY_VAR</entry><entry></entry>
      <entry>5</entry><entry>~0</entry>
      <entry>!0</entry>
     </row>
     <row>
      <entry></entry><entry>1</entry>
      <entry>JMPZ</entry><entry></entry>
      <entry></entry><entry></entry>
      <entry>~0,->4</entry>
     </row>
     <row>
      <entry></entry><entry>2</entry>
      <entry>RETURN</entry><entry></entry>
      <entry></entry><entry></entry>
      <entry>0</entry>
     </row>
     <row>
      <entry></entry><entry>3</entry>
      <entry>JMP</entry><entry></entry>
      <entry></entry><entry></entry>
      <entry>->4</entry>
     </row>
     <row>
      <entry>7</entry><entry>4</entry>
      <entry>RETURN</entry><entry></entry>
      <entry></entry><entry></entry>
      <entry>1</entry>
     </row>
    </tbody>
   </tgroup>
  </informaltable>
 </section>
</section>