<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=PHP_Compat</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/16769" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16521" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16462" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15688" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15684" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15537" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15531" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15139" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/16769">
      <title>PHP_Compat: Feature/Change Request 16769 [Open] Replacements for deprecated POSIX functions</title>
      <link>http://pear.php.net/bugs/16769</link>
      <content:encoded><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by tonymarston
2009-11-06T15:25:14+00:00
PHP: 5.3.0 OS: Windows XP Package Version: 1.6.0a2

Description:
------------
The POSIX regular expression functions have been marked as deprecated in 5.3.0 and are scheduled to be removed completely in PHP 6. Developers are being told to switch to the PCRE functions instead. It would be of great benefit to HUGE numbers of users if the POSIX functions, instead of being dropped completely, were simply rewritten as wrappers for the equivalent PCRE functions. This would solve two issues:
(1) There would only be one regex engine to support, not two.
(2) Existing scripts which use the POSIX functions would not need to be rewriiten.

Expected result:
----------------
The POSIX functions would still work instead of failing with &quot;function not found&quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by tonymarston
2009-11-06T15:25:14+00:00
PHP: 5.3.0 OS: Windows XP Package Version: 1.6.0a2

Description:
------------
The POSIX regular expression functions have been marked as deprecated in 5.3.0 and are scheduled to be removed completely in PHP 6. Developers are being told to switch to the PCRE functions instead. It would be of great benefit to HUGE numbers of users if the POSIX functions, instead of being dropped completely, were simply rewritten as wrappers for the equivalent PCRE functions. This would solve two issues:
(1) There would only be one regex engine to support, not two.
(2) Existing scripts which use the POSIX functions would not need to be rewriiten.

Expected result:
----------------
The POSIX functions would still work instead of failing with &quot;function not found&quot;</pre>]]></description>
      <dc:date>2009-11-09T15:45:57+00:00</dc:date>
      <dc:creator>tony &amp;#x61;&amp;#116; marston-home &amp;#x64;&amp;#111;&amp;#x74; demon &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>PHP_Compat Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16521">
      <title>PHP_Compat: Feature/Change Request 16521 [Open] Support for hash_hmac() function</title>
      <link>http://pear.php.net/bugs/16521</link>
      <content:encoded><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by revulo
2009-08-13T23:16:34+00:00
PHP: Irrelevant OS:  Package Version: 1.6.0a2

Description:
------------
I have implemented the following functions as a component of PHP_Compat library.

* hash
* hash_algos
* hash_hmac
* sha1

It also includes a PHP implementation of SHA-256 hash function. Therefore, MD5, SHA-1 and SHA-256 hash algorithms are supported.

It would be nice if these components would be imported into the repository. You can download the files from here:
http://download.revulo.com/PHP/PHP_Compat_Hash.tgz

P.S.  I wonder where we should place the file &quot;sha256.php&quot;. Should we move it to &quot;Function/hash&quot; directory or somewhere?</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by revulo
2009-08-13T23:16:34+00:00
PHP: Irrelevant OS:  Package Version: 1.6.0a2

Description:
------------
I have implemented the following functions as a component of PHP_Compat library.

* hash
* hash_algos
* hash_hmac
* sha1

It also includes a PHP implementation of SHA-256 hash function. Therefore, MD5, SHA-1 and SHA-256 hash algorithms are supported.

It would be nice if these components would be imported into the repository. You can download the files from here:
http://download.revulo.com/PHP/PHP_Compat_Hash.tgz

P.S.  I wonder where we should place the file &quot;sha256.php&quot;. Should we move it to &quot;Function/hash&quot; directory or somewhere?</pre>]]></description>
      <dc:date>2009-08-13T23:16:34+00:00</dc:date>
      <dc:creator>revulon &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PHP_Compat Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16462">
      <title>PHP_Compat: Feature/Change Request 16462 [Open] add json_decode-function that behaves like in PHP5.2</title>
      <link>http://pear.php.net/bugs/16462</link>
      <content:encoded><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by peterk
2009-07-22T12:40:36+00:00
PHP: 5.1.6 OS: CentOS5 Package Version: 1.5.0

Description:
------------
JSON in PHP 5.1 is loaded via PECL-Module. The json_decode-
function of the PECL-Module does not accept scalar-
values like &quot;false&quot; but only arrays and objects, while the native 
version embedded with PHP 5.2 does.

Test script:
---------------
&lt;?php

// does not work under PHP 5.1 with PECL-Module but works with PHP 5.2
// see http://php.net/manual/en/function.json-decode.php#69383
$v = true;
$jv = json_encode($v);
$xv = json_decode($jv);

var_dump($xv);

// this works with every instance of the json_decode-function
$v = true;
$jv = json_encode($v);
$xv = json_decode('['.$jv.']');
$xv = count($xv) ? $xv[0] : null;

var_dump($xv);

?&gt;

Expected result:
----------------
bool(true)
bool(true)

as it is on php 5.2

Actual result:
--------------
NULL
bool(true)

as is in php 5.1 with PECL-Module</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by peterk
2009-07-22T12:40:36+00:00
PHP: 5.1.6 OS: CentOS5 Package Version: 1.5.0

Description:
------------
JSON in PHP 5.1 is loaded via PECL-Module. The json_decode-
function of the PECL-Module does not accept scalar-
values like &quot;false&quot; but only arrays and objects, while the native 
version embedded with PHP 5.2 does.

Test script:
---------------
&lt;?php

// does not work under PHP 5.1 with PECL-Module but works with PHP 5.2
// see http://php.net/manual/en/function.json-decode.php#69383
$v = true;
$jv = json_encode($v);
$xv = json_decode($jv);

var_dump($xv);

// this works with every instance of the json_decode-function
$v = true;
$jv = json_encode($v);
$xv = json_decode('['.$jv.']');
$xv = count($xv) ? $xv[0] : null;

var_dump($xv);

?&gt;

Expected result:
----------------
bool(true)
bool(true)

as it is on php 5.2

Actual result:
--------------
NULL
bool(true)

as is in php 5.1 with PECL-Module</pre>]]></description>
      <dc:date>2009-07-22T12:40:36+00:00</dc:date>
      <dc:creator>pkoerner &amp;#x61;&amp;#116; online &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>PHP_Compat Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15688">
      <title>PHP_Compat: Feature/Change Request 15688 [Assigned] PATHINFO_FILENAME</title>
      <link>http://pear.php.net/bugs/15688</link>
      <content:encoded><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by hm2k
2009-01-20T07:11:09+00:00
PHP: 5.2.8 OS:  Package Version: 1.6.0a2

Description:
------------
How would PHP_COMPAT go about adding PATHINFO_FILENAME support for pathinfo()?

The only method I could come up with was to create a new function called pathinfo_filename(), and call that instead...

See: http://www.php.net/manual/en/function.pathinfo.php#88159

Is this something we should handle in php_compat?</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by hm2k
2009-01-20T07:11:09+00:00
PHP: 5.2.8 OS:  Package Version: 1.6.0a2

Description:
------------
How would PHP_COMPAT go about adding PATHINFO_FILENAME support for pathinfo()?

The only method I could come up with was to create a new function called pathinfo_filename(), and call that instead...

See: http://www.php.net/manual/en/function.pathinfo.php#88159

Is this something we should handle in php_compat?</pre>]]></description>
      <dc:date>2009-05-06T22:03:07+00:00</dc:date>
      <dc:creator>php &amp;#x61;&amp;#116; hm2k &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PHP_Compat Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15684">
      <title>PHP_Compat: Feature/Change Request 15684 [Assigned] Add str_getcsv support for 5.1.0 +</title>
      <link>http://pear.php.net/bugs/15684</link>
      <content:encoded><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by doconnor
2009-01-19T19:34:41+00:00
PHP: 5.2.6 OS:  Package Version: 1.6.0a2

Description:
------------
No str_getcsv support afaict

Test script:
---------------
if (!function_exists('str_getcsv')) {
    function str_getcsv($input, $delimiter = &quot;,&quot;, $enclosure = '&quot;', $escape = &quot;\\&quot;) {
        $fiveMBs = 5 * 1024 * 1024;
        $fp = fopen(&quot;php://temp/maxmemory:$fiveMBs&quot;, 'r+');
        fputs($fp, $input);
        rewind($fp);

        $data = fgetcsv($fp, 1000, $delimiter, $enclosure); //  $escape only got added in 5.3.0

        fclose($fp);
        return $data;
    }
}</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by doconnor
2009-01-19T19:34:41+00:00
PHP: 5.2.6 OS:  Package Version: 1.6.0a2

Description:
------------
No str_getcsv support afaict

Test script:
---------------
if (!function_exists('str_getcsv')) {
    function str_getcsv($input, $delimiter = &quot;,&quot;, $enclosure = '&quot;', $escape = &quot;\\&quot;) {
        $fiveMBs = 5 * 1024 * 1024;
        $fp = fopen(&quot;php://temp/maxmemory:$fiveMBs&quot;, 'r+');
        fputs($fp, $input);
        rewind($fp);

        $data = fgetcsv($fp, 1000, $delimiter, $enclosure); //  $escape only got added in 5.3.0

        fclose($fp);
        return $data;
    }
}</pre>]]></description>
      <dc:date>2009-05-06T22:02:44+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PHP_Compat Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15537">
      <title>PHP_Compat: Feature/Change Request 15537 [Assigned] IIS REQUEST_URI compatibility</title>
      <link>http://pear.php.net/bugs/15537</link>
      <content:encoded><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by hm2k
2009-01-07T08:08:21+00:00
PHP: 5.1.6 OS: Windows Package Version: 1.6.0a2

Description:
------------
I'm not sure whether this is within the realm of PHP_Compat, but it's something to consider...

http://neosmart.net/blog/2006/100-apache-compliant-request_uri-for-iis-and-windows/

You don't actually need to impliment it as suggested, but the principles are the same.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by hm2k
2009-01-07T08:08:21+00:00
PHP: 5.1.6 OS: Windows Package Version: 1.6.0a2

Description:
------------
I'm not sure whether this is within the realm of PHP_Compat, but it's something to consider...

http://neosmart.net/blog/2006/100-apache-compliant-request_uri-for-iis-and-windows/

You don't actually need to impliment it as suggested, but the principles are the same.</pre>]]></description>
      <dc:date>2009-05-06T22:03:28+00:00</dc:date>
      <dc:creator>php &amp;#x61;&amp;#116; hm2k &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PHP_Compat Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15531">
      <title>PHP_Compat: Feature/Change Request 15531 [Assigned] getmxrr() support for windows</title>
      <link>http://pear.php.net/bugs/15531</link>
      <content:encoded><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by hm2k
2009-01-07T05:41:33+00:00
PHP: 5.2.3 OS: WindowsXP Package Version: 1.6.0a2

Description:
------------
http://www.hm2k.com/posts/php-getmxrr-support-for-windows

Test script:
---------------
&lt;?php

$domain='php.net';
echo &quot;&lt;pre&gt;&quot;;
getmxrr($domain,$mxhosts,$mxweight);
print_r($mxhosts);
print_r($mxweight);

?&gt;

Expected result:
----------------
Array
(
    [0] =&gt; osu1.php.net
    [1] =&gt; smtp.osuosl.org
)
Array
(
    [0] =&gt; 5
    [1] =&gt; 15
)

Actual result:
--------------
Call to undefined function  getmxrr()</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by hm2k
2009-01-07T05:41:33+00:00
PHP: 5.2.3 OS: WindowsXP Package Version: 1.6.0a2

Description:
------------
http://www.hm2k.com/posts/php-getmxrr-support-for-windows

Test script:
---------------
&lt;?php

$domain='php.net';
echo &quot;&lt;pre&gt;&quot;;
getmxrr($domain,$mxhosts,$mxweight);
print_r($mxhosts);
print_r($mxweight);

?&gt;

Expected result:
----------------
Array
(
    [0] =&gt; osu1.php.net
    [1] =&gt; smtp.osuosl.org
)
Array
(
    [0] =&gt; 5
    [1] =&gt; 15
)

Actual result:
--------------
Call to undefined function  getmxrr()</pre>]]></description>
      <dc:date>2009-05-06T22:01:48+00:00</dc:date>
      <dc:creator>php &amp;#x61;&amp;#116; hm2k &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PHP_Compat Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15139">
      <title>PHP_Compat: Feature/Change Request 15139 [Verified] PHP_Compat does not comform to PEAR CS</title>
      <link>http://pear.php.net/bugs/15139</link>
      <content:encoded><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by aidan
2008-11-24T05:27:17+00:00
PHP: Irrelevant OS: N/A Package Version: 1.6.0a2

Description:
------------
http://pear.cweiske.de/codingstandards/PHP_Compat.html</pre>]]></content:encoded>
      <description><![CDATA[<pre>PHP_Compat Feature/Change Request
Reported by aidan
2008-11-24T05:27:17+00:00
PHP: Irrelevant OS: N/A Package Version: 1.6.0a2

Description:
------------
http://pear.cweiske.de/codingstandards/PHP_Compat.html</pre>]]></description>
      <dc:date>2009-05-06T22:04:35+00:00</dc:date>
      <dc:creator>aidan &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PHP_Compat Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
