<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed May 22 00:49:49 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/DDC-1934/DDC-1934.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DDC-1934] version_compare behavior</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1934</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Note that version number with upper-case letters is not a correct PHP-standardized version number. Because of that the version_compare function might not work as you expected. &lt;br/&gt;
Examples:&lt;br/&gt;
var_dump(version_compare(&apos;2.1.0-dev&apos;, &apos;2.1.0-beta&apos;, &apos;&amp;lt;&apos;)); // expected: true&lt;br/&gt;
var_dump(version_compare(&apos;2.1.0-DEV&apos;, &apos;2.1.0-BETA&apos;, &apos;&amp;lt;&apos;)); // expected: true&lt;br/&gt;
var_dump(version_compare(&apos;2.1.0-DEV&apos;, &apos;2.1.0-dev&apos;, &apos;&amp;lt;&apos;)); // expected: false&lt;/p&gt;

&lt;p&gt;Output:&lt;br/&gt;
bool(true)&lt;br/&gt;
bool(false)&lt;br/&gt;
bool(true)&lt;/p&gt;

&lt;p&gt;I&apos;ve seen in the code version_compare checks such as &lt;br/&gt;
version_compare(\Doctrine\Common\Version::VERSION, &apos;2.2.0-DEV&apos;, &apos;&amp;gt;=&apos;)&lt;br/&gt;
It&apos;s not big deal &apos;cause for example 2.2.0 is still &amp;gt; 2.2.0-DEV as well as 2.2.1, etc.  &lt;br/&gt;
See also &lt;a href=&quot;https://bugs.php.net/bug.php?id=62586&quot; class=&quot;external-link&quot;&gt;https://bugs.php.net/bug.php?id=62586&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="13866">DDC-1934</key>
            <summary>version_compare behavior</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="dattaya">Yaroslav Kiliba</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Jul 2012 16:50:15 +0000</created>
                <updated>Sat, 9 Feb 2013 21:34:36 +0000</updated>
                    <resolved>Sat, 9 Feb 2013 21:34:36 +0000</resolved>
                                                            <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19502" author="asm89" created="Sat, 9 Feb 2013 21:34:36 +0000"  >&lt;p&gt;As far as I can see it works for our use case. If you are experiencing real world problems feel free to re-open the issue.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>