#50945 [NEW]: func_get_args(offset=0)

2010-02-05 Thread robert at binalan dot com
From: robert at binalan dot com
Operating system: FreeBSD
PHP version:  5.2.12
PHP Bug Type: Feature/Change Request
Bug description:  func_get_args(offset=0)

Description:

function moduleNotify($module, $message/*, ...args*/)
{
switch($module){
case 'Database':
list($host, $user, $pass, $base) = func_get_args(2);
break;
case 'UserLogin':
list($user, $pass, $iris, $lang) = func_get_args(2);
break;
}
/*
feature request:
func_get_args(offset=0)
returns arguments in same zero based array from a given offset in the
argument list.
*/


-- 
Edit bug report at http://bugs.php.net/?id=50945&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50945&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50945&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50945&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50945&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50945&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50945&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=50945&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=50945&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=50945&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=50945&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=50945&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=50945&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=50945&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50945&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=50945&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=50945&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=50945&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=50945&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=50945&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=50945&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=50945&r=mysqlcfg



#50944 [Opn->Bgs]: hacker evollution tn

2010-02-05 Thread aharvey
 ID:   50944
 Updated by:   ahar...@php.net
 Reported By:  paulosergio_windons7 at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: URL related
 Operating System: hacker evollution tn
 PHP Version:  5.3.2RC1
 New Comment:

Congratulations, you've done a truly sterling job of hacking this bug
tracker. As a token of our appreciation, have this picture of a
saturated raccoon:

http://www.flickr.com/photos/airnfoto/3457865385/sizes/o/in/pool-650...@n20/


Previous Comments:


[2010-02-06 02:50:38] paulosergio_windons7 at hotmail dot com

Description:

http://www.forum-hacker.com.br/forum/cpstyles/darkvision/misc/banner.jpg

Reproduce code:
---
---
http://www.forum-hacker.com.br/forum/cpstyles/darkvision/misc/banner.jpg---


Expected result:

http://www.forum-hacker.com.br/forum/cpstyles/darkvision/misc/banner.jpg

Actual result:
--
http://www.forum-hacker.com.br/forum/cpstyles/darkvision/misc/banner.jpg





-- 
Edit this bug report at http://bugs.php.net/?id=50944&edit=1



#50944 [NEW]: hacker evollution tn

2010-02-05 Thread paulosergio_windons7 at hotmail dot com
From: paulosergio_windons7 at hotmail dot com
Operating system: hacker evollution tn
PHP version:  5.3.2RC1
PHP Bug Type: URL related
Bug description:  hacker evollution tn

Description:

http://www.forum-hacker.com.br/forum/cpstyles/darkvision/misc/banner.jpg

Reproduce code:
---
---
http://www.forum-hacker.com.br/forum/cpstyles/darkvision/misc/banner.jpg---


Expected result:

http://www.forum-hacker.com.br/forum/cpstyles/darkvision/misc/banner.jpg

Actual result:
--
http://www.forum-hacker.com.br/forum/cpstyles/darkvision/misc/banner.jpg

-- 
Edit bug report at http://bugs.php.net/?id=50944&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50944&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50944&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50944&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50944&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50944&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50944&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=50944&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=50944&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=50944&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=50944&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=50944&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=50944&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=50944&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50944&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=50944&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=50944&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=50944&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=50944&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=50944&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=50944&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=50944&r=mysqlcfg



#50939 [Bgs]: php_mysql.dll can't connect to "localhost" (::1) on Windows Vista

2010-02-05 Thread jpmasseria at yahoo dot com
 ID:   50939
 User updated by:  jpmasseria at yahoo dot com
 Reported By:  jpmasseria at yahoo dot com
 Status:   Bogus
 Bug Type: MySQL related
 Operating System: Windows Vista
 PHP Version:  5.3.1
 New Comment:

Sorry, I meant to say PHP streams doesn't recognize IPv6 which is 
returned if localhost is resolved on Windows Vista if the host table 
contains the IPv6 entry ::1.


Previous Comments:


[2010-02-06 01:54:48] jpmasseria at yahoo dot com

Thanks, I see now, actually the original bug id is 45150, which goes on

to explain that the issue involves PHP streams which doesn't recognize

PHP streams.

Thanks again for the quick response.

John



[2010-02-06 01:16:46] fel...@php.net

Bug #50172



[2010-02-06 01:10:21] jpmasseria at yahoo dot com

Thank you for your quick response on this.

What is the bug-id of the problem that this is a duplicate of?

Thank you,
John



[2010-02-05 16:59:54] johan...@php.net

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

We can't really fix this issue without causing trouble in the future
(MySQL 5.5 supports IPv6 so changing to use IPv4 only from PHP means
that you're using IPv4 from PHP and IPv6 from the command line which
gives a mess in regards to user rights)

Please use 127.0.0.1 as hostname, or configure your system not to use
IPv6.



[2010-02-05 16:38:02] jpmasseria at yahoo dot com

Description:

PHP 5.3.1 is unable to connect to MYSQL running on same Windows Vista
machine when host file contains:

::1 localhost   # IP v6 local host
127.0.0.1   localhost


If "::1" line is commented out, test program works.  This issue also
affects phpMyAdmin.  This problem started after upgrading to PHP 5.3.1.

Running "mysql -h localhost" from command line works without issue.

When "::1" is commented out, phpMyAdmin says:

MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $

Is this client embeded in php_mysql.dll?

Here is the verion of PHP I'm using:

C:\Users\johnma>php -v
PHP 5.3.1 (cli) (built: Nov 19 2009 10:17:43)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

Thank you,
John

Reproduce code:
---



Expected result:

C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
"2009-04-01" );
"2009-04-02" );
"2009-04-03" );
"2009-04-04" );
"2009-04-05" );


Actual result:
--
C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
PHP Warning:  mysqli_connect(): [2002] A connection attempt failed
because the connected party did not  (trying to connect via
tcp://localhost:3306) in C:\Users\johnma\test.php on line 10
PHP Warning:  mysqli_connect(): (HY000/2002): A connection attempt
failed because the connected party did not properly respond after a
period of time, or established connection failed because connected host
has failed to respond.
 in C:\Users\johnma\test.php on line 10
Connect to mysqli failed: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond.






-- 
Edit this bug report at http://bugs.php.net/?id=50939&edit=1



#50939 [Bgs]: php_mysql.dll can't connect to "localhost" (::1) on Windows Vista

2010-02-05 Thread jpmasseria at yahoo dot com
 ID:   50939
 User updated by:  jpmasseria at yahoo dot com
 Reported By:  jpmasseria at yahoo dot com
 Status:   Bogus
 Bug Type: MySQL related
 Operating System: Windows Vista
 PHP Version:  5.3.1
 New Comment:

Thanks, I see now, actually the original bug id is 45150, which goes on

to explain that the issue involves PHP streams which doesn't recognize

PHP streams.

Thanks again for the quick response.

John


Previous Comments:


[2010-02-06 01:16:46] fel...@php.net

Bug #50172



[2010-02-06 01:10:21] jpmasseria at yahoo dot com

Thank you for your quick response on this.

What is the bug-id of the problem that this is a duplicate of?

Thank you,
John



[2010-02-05 16:59:54] johan...@php.net

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

We can't really fix this issue without causing trouble in the future
(MySQL 5.5 supports IPv6 so changing to use IPv4 only from PHP means
that you're using IPv4 from PHP and IPv6 from the command line which
gives a mess in regards to user rights)

Please use 127.0.0.1 as hostname, or configure your system not to use
IPv6.



[2010-02-05 16:38:02] jpmasseria at yahoo dot com

Description:

PHP 5.3.1 is unable to connect to MYSQL running on same Windows Vista
machine when host file contains:

::1 localhost   # IP v6 local host
127.0.0.1   localhost


If "::1" line is commented out, test program works.  This issue also
affects phpMyAdmin.  This problem started after upgrading to PHP 5.3.1.

Running "mysql -h localhost" from command line works without issue.

When "::1" is commented out, phpMyAdmin says:

MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $

Is this client embeded in php_mysql.dll?

Here is the verion of PHP I'm using:

C:\Users\johnma>php -v
PHP 5.3.1 (cli) (built: Nov 19 2009 10:17:43)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

Thank you,
John

Reproduce code:
---



Expected result:

C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
"2009-04-01" );
"2009-04-02" );
"2009-04-03" );
"2009-04-04" );
"2009-04-05" );


Actual result:
--
C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
PHP Warning:  mysqli_connect(): [2002] A connection attempt failed
because the connected party did not  (trying to connect via
tcp://localhost:3306) in C:\Users\johnma\test.php on line 10
PHP Warning:  mysqli_connect(): (HY000/2002): A connection attempt
failed because the connected party did not properly respond after a
period of time, or established connection failed because connected host
has failed to respond.
 in C:\Users\johnma\test.php on line 10
Connect to mysqli failed: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond.






-- 
Edit this bug report at http://bugs.php.net/?id=50939&edit=1



#50939 [Bgs]: php_mysql.dll can't connect to "localhost" (::1) on Windows Vista

2010-02-05 Thread felipe
 ID:   50939
 Updated by:   fel...@php.net
 Reported By:  jpmasseria at yahoo dot com
 Status:   Bogus
 Bug Type: MySQL related
 Operating System: Windows Vista
 PHP Version:  5.3.1
 New Comment:

Bug #50172


Previous Comments:


[2010-02-06 01:10:21] jpmasseria at yahoo dot com

Thank you for your quick response on this.

What is the bug-id of the problem that this is a duplicate of?

Thank you,
John



[2010-02-05 16:59:54] johan...@php.net

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

We can't really fix this issue without causing trouble in the future
(MySQL 5.5 supports IPv6 so changing to use IPv4 only from PHP means
that you're using IPv4 from PHP and IPv6 from the command line which
gives a mess in regards to user rights)

Please use 127.0.0.1 as hostname, or configure your system not to use
IPv6.



[2010-02-05 16:38:02] jpmasseria at yahoo dot com

Description:

PHP 5.3.1 is unable to connect to MYSQL running on same Windows Vista
machine when host file contains:

::1 localhost   # IP v6 local host
127.0.0.1   localhost


If "::1" line is commented out, test program works.  This issue also
affects phpMyAdmin.  This problem started after upgrading to PHP 5.3.1.

Running "mysql -h localhost" from command line works without issue.

When "::1" is commented out, phpMyAdmin says:

MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $

Is this client embeded in php_mysql.dll?

Here is the verion of PHP I'm using:

C:\Users\johnma>php -v
PHP 5.3.1 (cli) (built: Nov 19 2009 10:17:43)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

Thank you,
John

Reproduce code:
---



Expected result:

C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
"2009-04-01" );
"2009-04-02" );
"2009-04-03" );
"2009-04-04" );
"2009-04-05" );


Actual result:
--
C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
PHP Warning:  mysqli_connect(): [2002] A connection attempt failed
because the connected party did not  (trying to connect via
tcp://localhost:3306) in C:\Users\johnma\test.php on line 10
PHP Warning:  mysqli_connect(): (HY000/2002): A connection attempt
failed because the connected party did not properly respond after a
period of time, or established connection failed because connected host
has failed to respond.
 in C:\Users\johnma\test.php on line 10
Connect to mysqli failed: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond.






-- 
Edit this bug report at http://bugs.php.net/?id=50939&edit=1



#50939 [Bgs]: php_mysql.dll can't connect to "localhost" (::1) on Windows Vista

2010-02-05 Thread jpmasseria at yahoo dot com
 ID:   50939
 User updated by:  jpmasseria at yahoo dot com
 Reported By:  jpmasseria at yahoo dot com
 Status:   Bogus
 Bug Type: MySQL related
 Operating System: Windows Vista
 PHP Version:  5.3.1
 New Comment:

Thank you for your quick response on this.

What is the bug-id of the problem that this is a duplicate of?

Thank you,
John


Previous Comments:


[2010-02-05 16:59:54] johan...@php.net

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

We can't really fix this issue without causing trouble in the future
(MySQL 5.5 supports IPv6 so changing to use IPv4 only from PHP means
that you're using IPv4 from PHP and IPv6 from the command line which
gives a mess in regards to user rights)

Please use 127.0.0.1 as hostname, or configure your system not to use
IPv6.



[2010-02-05 16:38:02] jpmasseria at yahoo dot com

Description:

PHP 5.3.1 is unable to connect to MYSQL running on same Windows Vista
machine when host file contains:

::1 localhost   # IP v6 local host
127.0.0.1   localhost


If "::1" line is commented out, test program works.  This issue also
affects phpMyAdmin.  This problem started after upgrading to PHP 5.3.1.

Running "mysql -h localhost" from command line works without issue.

When "::1" is commented out, phpMyAdmin says:

MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $

Is this client embeded in php_mysql.dll?

Here is the verion of PHP I'm using:

C:\Users\johnma>php -v
PHP 5.3.1 (cli) (built: Nov 19 2009 10:17:43)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

Thank you,
John

Reproduce code:
---



Expected result:

C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
"2009-04-01" );
"2009-04-02" );
"2009-04-03" );
"2009-04-04" );
"2009-04-05" );


Actual result:
--
C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
PHP Warning:  mysqli_connect(): [2002] A connection attempt failed
because the connected party did not  (trying to connect via
tcp://localhost:3306) in C:\Users\johnma\test.php on line 10
PHP Warning:  mysqli_connect(): (HY000/2002): A connection attempt
failed because the connected party did not properly respond after a
period of time, or established connection failed because connected host
has failed to respond.
 in C:\Users\johnma\test.php on line 10
Connect to mysqli failed: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond.






-- 
Edit this bug report at http://bugs.php.net/?id=50939&edit=1



#50363 [Ver]: Invalid parsing in convert.quoted-printable-decode filter

2010-02-05 Thread slusarz at curecanti dot org
 ID:   50363
 User updated by:  slusarz at curecanti dot org
 Reported By:  slusarz at curecanti dot org
 Status:   Verified
 Bug Type: Streams related
 Operating System: *
 PHP Version:  5.*, 6
 New Comment:

Here's a patch that works for me. (Doesn't deal with the issue of the
duplicative q-p code in PHP, but at least in makes the filtering code
work with lowercase hex).

--- filters.c.old   2010-02-05 14:56:57.536943283 -0700
+++ filters.c   2010-02-05 14:51:11.353644566 -0700
@@ -1051,18 +1051,17 @@
} /* break is missing intentionally */

case 2: {
-   unsigned int nbl;
-
if (icnt <= 0) {
goto out;
}
-   nbl = (*ps >= 'A' ? *ps - 0x37 : *ps -
0x30);

-   if (nbl > 15) {
+   if (!isxdigit((int) *ps)) {
err =
PHP_CONV_ERR_INVALID_SEQ;
goto out;
-   }
-   next_char = (next_char << 4) | nbl;
+   }
+
+   next_char = (next_char << 4) | (*ps >=
'A' ? *ps - 0x37 : *ps - 0x30);

scan_stat++;
ps++, icnt--;


Previous Comments:


[2009-12-02 22:39:58] j...@php.net

We have (if I counted right) 3 different implementations for
encoding/decoding quoted-printable. And unfortunately filters.c has the
buggy one which requires the encoded hex chars be upper-case, since this
works:






[2009-12-02 20:17:34] slusarz at curecanti dot org

Description:

Using the quoted-printable-decode filter on a stream produces an error.
 However, decoding the string using quoted_printable_decode() does not
fail.

The error is thrown whether stream_filter_append() is used or a while
!feof()/fwrite()/fread() loop is used.

Reproduce code:
---
$a = fopen('php://temp', 'r+');
fwrite($a, "SERVER: [ID job :3453 Backup rotation] Sauvegarde
r=c3=a9ussi(e)");
rewind($a);

$b = fopen('php://temp', 'r+');
$c = stream_filter_append($b, 'convert.quoted-printable-decode',
STREAM_FILTER_WRITE);
stream_copy_to_stream($a, $b);
rewind($b);
fpassthru($b);
stream_filter_remove($c);

rewind($a);
rewind($b);
fwrite($b, quoted_printable_decode(stream_get_contents($a)));
rewind($b);
fpassthru($b);


Expected result:

SERVER: [ID job :3453 Backup rotation] Sauvegarde réussi(e)
SERVER: [ID job :3453 Backup rotation] Sauvegarde réussi(e)

Actual result:
--
PHP Warning:  stream_copy_to_stream(): stream filter
(convert.quoted-printable-decode): invalid byte sequence in
/tmp/test.php on line 8
SERVER: [ID job :3453 Backup rotation] Sauvegarde réussi(e)





-- 
Edit this bug report at http://bugs.php.net/?id=50363&edit=1



#50941 [NEW]: pdo throws "unbuffered queries" error when use a sp and ATTR_EMULATE_PREPARES

2010-02-05 Thread ies_clan at hotmail dot com
From: ies_clan at hotmail dot com
Operating system: Windows XP home
PHP version:  5.3.1
PHP Bug Type: PDO related
Bug description:  pdo throws "unbuffered queries" error when use a sp and 
ATTR_EMULATE_PREPARES

Description:

if u call a stored procedure and then a normal sql statement, while u use
ATTR_EMULATE_PREPARES = false, u got an error like:
General error: 2014 Cannot execute queries while other unbuffered queries
are active. Consider using PDOStatement::fetchAll().  Alternatively, if
your code is only ever going to run against mysql, you may enable query
buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.

to set PDO::MYSQL_ATTR_USE_BUFFERED_QUERY have no effect.

uf u use closeCursor(); u got that error:
Packets out of order

Reproduce code:
---
/*
-- 
-- Table structure for table `testtabelle`
-- 

DROP TABLE IF EXISTS `testtabelle`;
CREATE TABLE `testtabelle` (
  `ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `Name` varchar(45) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

INSERT INTO `testtabelle` VALUES
(1,'test'),(2,'test'),(3,'test'),(4,'test'),(5,'tesfsst');

DELIMITER $$

DROP PROCEDURE IF EXISTS `myTestProd` $$
CREATE PROCEDURE `myTestProd` ()
BEGIN
SELECT * FROM testtabelle;
END $$

DELIMITER ;
 */

$Database = new PDO('mysql:dbname='.DATABASE.';host='.DATABASE_SERVER,
DATABASE_USER,
DATABASE_PASSWORD,
array(
PDO::ATTR_EMULATE_PREPARES => false,
PDO::ATTR_PERSISTENT => false,
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true
)
);

$Query1 = $Database->prepare('CALL myTestProd()');
$Query1->execute();
print_r($Query1->fetchAll());
$Query1->closeCursor();

$Query2 = $Database->prepare('SELECT * FROM testtabelle');
$Query2->execute();
print_r($Query2->fetchAll());
$Query1->closeCursor();  

Expected result:

Array
(
[0] => Array
(
[ID] => 1
[0] => 1
[Name] => test
[1] => test
)

[1] => Array
(
[ID] => 2
[0] => 2
[Name] => test
[1] => test
)

[2] => Array
(
[ID] => 3
[0] => 3
[Name] => test
[1] => test
)

[3] => Array
(
[ID] => 4
[0] => 4
[Name] => test
[1] => test
)

[4] => Array
(
[ID] => 5
[0] => 5
[Name] => tesfsst
[1] => tesfsst
)

)
Array
(
[0] => Array
(
[ID] => 1
[0] => 1
[Name] => test
[1] => test
)

[1] => Array
(
[ID] => 2
[0] => 2
[Name] => test
[1] => test
)

[2] => Array
(
[ID] => 3
[0] => 3
[Name] => test
[1] => test
)

[3] => Array
(
[ID] => 4
[0] => 4
[Name] => test
[1] => test
)

[4] => Array
(
[ID] => 5
[0] => 5
[Name] => tesfsst
[1] => tesfsst
)

)


Actual result:
--
Array
(
[0] => Array
(
[ID] => 1
[0] => 1
[Name] => test
[1] => test
)

[1] => Array
(
[ID] => 2
[0] => 2
[Name] => test
[1] => test
)

[2] => Array
(
[ID] => 3
[0] => 3
[Name] => test
[1] => test
)

[3] => Array
(
[ID] => 4
[0] => 4
[Name] => test
[1] => test
)

[4] => Array
(
[ID] => 5
[0] => 5
[Name] => tesfsst
[1] => tesfsst
)

)
. Expected 1 received 11. Packet size=7

-- 
Edit bug report at http://bugs.php.net/?id=50941&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50941&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50941&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50941&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50941&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50941&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50941&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=50941&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=50941&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=50941&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=50

#50940 [Opn->Csd]: All Apache SAPI sets content length wrong

2010-02-05 Thread rasmus
 ID:  50940
 Updated by:  ras...@php.net
 Reported By: bfra...@php.net
-Status:  Open
+Status:  Closed
 Bug Type:Apache2 related
 PHP Version: 5.3.1
 New Comment:

Patch applied to all branches.


Previous Comments:


[2010-02-05 18:59:06] s...@php.net

Automatic comment from SVN on behalf of rasmus
Revision: http://svn.php.net/viewvc/?view=revision&revision=294571
Log: Fix bug #50940



[2010-02-05 18:27:21] bfra...@php.net

Description:

The following SAPI that handle Apache are doing the content length
setting wrong:

apache, apache2handler, apache2filter

The problems when you do:

  header("Content-Length: 20");

the SAPI module would just set the header doing a table set on
r->headers_out, but not update r->clength.  Instead of doing a table set
it should be calling ap_set_content_length, which sets clength and does
the table set for you.

I found this in Apache 2.x because we have a filter that appends data
to the end of the content.  It uses r->clength and updates with the
additionally data value, but it doesn't work correctly if you use the
above header PHP call.

The following patch fixes the problem:

http://www.brianfrance.com/software/php/sapi_content_length.txt

Let me know if you have any questions.






-- 
Edit this bug report at http://bugs.php.net/?id=50940&edit=1



#50940 [NEW]: All Apache SAPI sets content length wrong

2010-02-05 Thread bfra...@php.net
From: bfra...@php.net
Operating system: 
PHP version:  5.3.1
PHP Bug Type: Apache2 related
Bug description:  All Apache SAPI sets content length wrong

Description:

The following SAPI that handle Apache are doing the content length setting
wrong:

apache, apache2handler, apache2filter

The problems when you do:

  header("Content-Length: 20");

the SAPI module would just set the header doing a table set on
r->headers_out, but not update r->clength.  Instead of doing a table set it
should be calling ap_set_content_length, which sets clength and does the
table set for you.

I found this in Apache 2.x because we have a filter that appends data to
the end of the content.  It uses r->clength and updates with the
additionally data value, but it doesn't work correctly if you use the above
header PHP call.

The following patch fixes the problem:

http://www.brianfrance.com/software/php/sapi_content_length.txt

Let me know if you have any questions.


-- 
Edit bug report at http://bugs.php.net/?id=50940&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50940&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50940&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50940&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50940&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50940&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50940&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=50940&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=50940&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=50940&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=50940&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=50940&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=50940&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=50940&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50940&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=50940&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=50940&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=50940&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=50940&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=50940&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=50940&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=50940&r=mysqlcfg



#50939 [Opn->Bgs]: php_mysql.dll can't connect to "localhost" (::1) on Windows Vista

2010-02-05 Thread johannes
 ID:   50939
 Updated by:   johan...@php.net
 Reported By:  jpmasseria at yahoo dot com
-Status:   Open
+Status:   Bogus
 Bug Type: MySQL related
 Operating System: Windows Vista
 PHP Version:  5.3.1
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

We can't really fix this issue without causing trouble in the future
(MySQL 5.5 supports IPv6 so changing to use IPv4 only from PHP means
that you're using IPv4 from PHP and IPv6 from the command line which
gives a mess in regards to user rights)

Please use 127.0.0.1 as hostname, or configure your system not to use
IPv6.


Previous Comments:


[2010-02-05 16:38:02] jpmasseria at yahoo dot com

Description:

PHP 5.3.1 is unable to connect to MYSQL running on same Windows Vista
machine when host file contains:

::1 localhost   # IP v6 local host
127.0.0.1   localhost


If "::1" line is commented out, test program works.  This issue also
affects phpMyAdmin.  This problem started after upgrading to PHP 5.3.1.

Running "mysql -h localhost" from command line works without issue.

When "::1" is commented out, phpMyAdmin says:

MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $

Is this client embeded in php_mysql.dll?

Here is the verion of PHP I'm using:

C:\Users\johnma>php -v
PHP 5.3.1 (cli) (built: Nov 19 2009 10:17:43)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

Thank you,
John

Reproduce code:
---



Expected result:

C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
"2009-04-01" );
"2009-04-02" );
"2009-04-03" );
"2009-04-04" );
"2009-04-05" );


Actual result:
--
C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
PHP Warning:  mysqli_connect(): [2002] A connection attempt failed
because the connected party did not  (trying to connect via
tcp://localhost:3306) in C:\Users\johnma\test.php on line 10
PHP Warning:  mysqli_connect(): (HY000/2002): A connection attempt
failed because the connected party did not properly respond after a
period of time, or established connection failed because connected host
has failed to respond.
 in C:\Users\johnma\test.php on line 10
Connect to mysqli failed: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond.






-- 
Edit this bug report at http://bugs.php.net/?id=50939&edit=1



#50939 [NEW]: php_mysql.dll can't connect to "localhost" (::1) on Windows Vista

2010-02-05 Thread jpmasseria at yahoo dot com
From: jpmasseria at yahoo dot com
Operating system: Windows Vista
PHP version:  5.3.1
PHP Bug Type: MySQL related
Bug description:  php_mysql.dll can't connect to "localhost" (::1) on Windows 
Vista

Description:

PHP 5.3.1 is unable to connect to MYSQL running on same Windows Vista
machine when host file contains:

::1 localhost   # IP v6 local host
127.0.0.1   localhost


If "::1" line is commented out, test program works.  This issue also
affects phpMyAdmin.  This problem started after upgrading to PHP 5.3.1.

Running "mysql -h localhost" from command line works without issue.

When "::1" is commented out, phpMyAdmin says:

MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $

Is this client embeded in php_mysql.dll?

Here is the verion of PHP I'm using:

C:\Users\johnma>php -v
PHP 5.3.1 (cli) (built: Nov 19 2009 10:17:43)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

Thank you,
John

Reproduce code:
---



Expected result:

C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
"2009-04-01" );
"2009-04-02" );
"2009-04-03" );
"2009-04-04" );
"2009-04-05" );


Actual result:
--
C:\Users\johnma>php -f test.php
Hello there ...
Attempting to connect to host="localhost"
PHP Warning:  mysqli_connect(): [2002] A connection attempt failed because
the connected party did not  (trying to connect via tcp://localhost:3306)
in C:\Users\johnma\test.php on line 10
PHP Warning:  mysqli_connect(): (HY000/2002): A connection attempt failed
because the connected party did not properly respond after a period of
time, or established connection failed because connected host has failed to
respond.
 in C:\Users\johnma\test.php on line 10
Connect to mysqli failed: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond.


-- 
Edit bug report at http://bugs.php.net/?id=50939&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50939&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50939&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50939&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50939&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50939&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50939&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=50939&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=50939&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=50939&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=50939&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=50939&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=50939&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=50939&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50939&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=50939&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=50939&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=50939&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=50939&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=50939&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=50939&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=50939&r=mysqlcfg



#50938 [Bgs]: $noofword=(str_word_count($description, 0)); 0 optional is not working with php

2010-02-05 Thread deepika dot gupta at tecnovate dot co dot in
 ID:   50938
 User updated by:  deepika dot gupta at tecnovate dot co dot in
 Reported By:  deepika dot gupta at tecnovate dot co dot in
 Status:   Bogus
 Bug Type: Output Control
 Operating System: Linux
 PHP Version:  5.2.12
 New Comment:

Thank you for your support.


Previous Comments:


[2010-02-05 12:21:27] johan...@php.net

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

5.0 is out of support for around 5 years.



[2010-02-05 12:03:24] deepika dot gupta at tecnovate dot co dot in

Description:

$noofword=(str_word_count($description, 1));

This function is not working with option 0. I am using PHP5.0 with
linux server.

Reproduce code:
---
---
>From manual page: function.str-word-count#Description
---







-- 
Edit this bug report at http://bugs.php.net/?id=50938&edit=1



#50936 [Fbk->Csd]: ini key may not have a slash in it

2010-02-05 Thread jani
 ID:   50936
 Updated by:   j...@php.net
 Reported By:  kubelke at kuborgh dot de
-Status:   Feedback
+Status:   Closed
 Bug Type: PHP options/info functions
 Operating System: Mac 10.6
 PHP Version:  5.3.1
 New Comment:

Tested myself, it is fixed.


Previous Comments:


[2010-02-05 12:56:09] j...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

IIRC, this was fixed long time ago in SVN repo.



[2010-02-05 09:01:14] kubelke at kuborgh dot de

Description:

A Slash in ini key leads to an error on mac, pc works. No exception 
thrown.

Reproduce code:
---
---
>From manual page: function.parse-ini-string#Notes
---
try {
$arr = parse_ini_string('ActionTheme.Member/Search = 1');
print_r($arr);
} catch (Exception $e) {
echo $e->getMessage();
}


Expected result:

Array ( [ActionTheme.Member/Search] => 1 )

Actual result:
--
"nothing" not even an empty array





-- 
Edit this bug report at http://bugs.php.net/?id=50936&edit=1



#50936 [Opn->Fbk]: ini key may not have a slash in it

2010-02-05 Thread jani
 ID:   50936
 Updated by:   j...@php.net
 Reported By:  kubelke at kuborgh dot de
-Status:   Open
+Status:   Feedback
-Bug Type: Unknown/Other Function
+Bug Type: PHP options/info functions
 Operating System: Mac 10.6
 PHP Version:  5.3.1
 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

IIRC, this was fixed long time ago in SVN repo.


Previous Comments:


[2010-02-05 09:01:14] kubelke at kuborgh dot de

Description:

A Slash in ini key leads to an error on mac, pc works. No exception 
thrown.

Reproduce code:
---
---
>From manual page: function.parse-ini-string#Notes
---
try {
$arr = parse_ini_string('ActionTheme.Member/Search = 1');
print_r($arr);
} catch (Exception $e) {
echo $e->getMessage();
}


Expected result:

Array ( [ActionTheme.Member/Search] => 1 )

Actual result:
--
"nothing" not even an empty array





-- 
Edit this bug report at http://bugs.php.net/?id=50936&edit=1



#50938 [Opn->Bgs]: $noofword=(str_word_count($description, 0)); 0 optional is not working with php

2010-02-05 Thread johannes
 ID:   50938
 Updated by:   johan...@php.net
 Reported By:  deepika dot gupta at tecnovate dot co dot in
-Status:   Open
+Status:   Bogus
 Bug Type: Output Control
 Operating System: Linux
 PHP Version:  5.2.12
 New Comment:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

5.0 is out of support for around 5 years.


Previous Comments:


[2010-02-05 12:03:24] deepika dot gupta at tecnovate dot co dot in

Description:

$noofword=(str_word_count($description, 1));

This function is not working with option 0. I am using PHP5.0 with
linux server.

Reproduce code:
---
---
>From manual page: function.str-word-count#Description
---







-- 
Edit this bug report at http://bugs.php.net/?id=50938&edit=1



#50938 [NEW]: $noofword=(str_word_count($description, 0)); 0 optional is not working with php

2010-02-05 Thread deepika dot gupta at tecnovate dot co dot in
From: deepika dot gupta at tecnovate dot co dot in
Operating system: Linux
PHP version:  5.2.12
PHP Bug Type: Output Control
Bug description:  $noofword=(str_word_count($description, 0)); 0 optional is 
not working with php

Description:

$noofword=(str_word_count($description, 1));

This function is not working with option 0. I am using PHP5.0 with linux
server.

Reproduce code:
---
---
>From manual page: function.str-word-count#Description
---



-- 
Edit bug report at http://bugs.php.net/?id=50938&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50938&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50938&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50938&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50938&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50938&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50938&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=50938&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=50938&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=50938&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=50938&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=50938&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=50938&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=50938&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50938&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=50938&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=50938&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=50938&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=50938&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=50938&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=50938&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=50938&r=mysqlcfg



#50937 [Opn->Bgs]: I don't know if this is a bug

2010-02-05 Thread derick
 ID:   50937
 Updated by:   der...@php.net
 Reported By:  tgckpg at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Filesystem function related
 Operating System: windows 7
 PHP Version:  6SVN-2010-02-05 (snap)
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

.


Previous Comments:


[2010-02-05 09:29:23] tgckpg at hotmail dot com

Description:

hi,I get many failed to open steam error with my code.
But it just reporting "No error"
I turned off all my files' read-only attr.
And I'm using the Administrator a/c.

Reproduce code:
---
http://docs.google.com/Doc?docid=0ASHu2T_HzyNKZGY1aHFjbjhfMGY5ZGptdmR3&hl=en

Expected result:

.

Actual result:
--
Warning: unlink(D:\Myfiles\Entertainment\Music\Sound 
Only\Album\Bandari\BANDARI.
-.[?╖].??.(Flac).cue): No error in 
C:\cmdUtilities\getText.php on li
ne 36

Warning: file_get_contents(D:\Myfiles\Entertainment\Music\Sound 
Only\Album\Banda
ri\BANDARI.-.[?╖].??.(Flac).cue): failed to open stream:

No error in
 C:\cmdUtilities\getText.php on line 35

Warning: unlink(D:\Myfiles\Entertainment\Music\Sound 
Only\Album\Bandari\BANDARI.
-.[?╖].??.(Flac).cue): No error in 
C:\cmdUtilities\getText.php on li
ne 36

Warning: fopen(D:\Myfiles\Entertainment\Music\Sound 
Only\Album\Bandari\BANDARI.-
.[?╖].??.(Flac).cue): failed to open stream: No error in

C:\cmdUtili
ties\getText.php on line 40

Warning: fwrite() expects parameter 1 to be resource, boolean given in

C:\cmdUti
lities\getText.php on line 41

Warning: fclose(): supplied argument is not a valid stream resource in

C:\cmdUti
lities\getText.php on line 42





-- 
Edit this bug report at http://bugs.php.net/?id=50937&edit=1



#50937 [NEW]: I don't know if this is a bug

2010-02-05 Thread tgckpg at hotmail dot com
From: tgckpg at hotmail dot com
Operating system: windows 7
PHP version:  6SVN-2010-02-05 (snap)
PHP Bug Type: Filesystem function related
Bug description:  I don't know if this is a bug

Description:

hi,I get many failed to open steam error with my code.
But it just reporting "No error"
I turned off all my files' read-only attr.
And I'm using the Administrator a/c.

Reproduce code:
---
http://docs.google.com/Doc?docid=0ASHu2T_HzyNKZGY1aHFjbjhfMGY5ZGptdmR3&hl=en

Expected result:

.

Actual result:
--
Warning: unlink(D:\Myfiles\Entertainment\Music\Sound 
Only\Album\Bandari\BANDARI.
-.[?╖].??.(Flac).cue): No error in 
C:\cmdUtilities\getText.php on li
ne 36

Warning: file_get_contents(D:\Myfiles\Entertainment\Music\Sound 
Only\Album\Banda
ri\BANDARI.-.[?╖].??.(Flac).cue): failed to open stream: 
No error in
 C:\cmdUtilities\getText.php on line 35

Warning: unlink(D:\Myfiles\Entertainment\Music\Sound 
Only\Album\Bandari\BANDARI.
-.[?╖].??.(Flac).cue): No error in 
C:\cmdUtilities\getText.php on li
ne 36

Warning: fopen(D:\Myfiles\Entertainment\Music\Sound 
Only\Album\Bandari\BANDARI.-
.[?╖].??.(Flac).cue): failed to open stream: No error in 
C:\cmdUtili
ties\getText.php on line 40

Warning: fwrite() expects parameter 1 to be resource, boolean given in 
C:\cmdUti
lities\getText.php on line 41

Warning: fclose(): supplied argument is not a valid stream resource in 
C:\cmdUti
lities\getText.php on line 42

-- 
Edit bug report at http://bugs.php.net/?id=50937&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50937&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50937&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50937&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50937&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50937&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50937&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=50937&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=50937&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=50937&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=50937&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=50937&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=50937&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=50937&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50937&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=50937&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=50937&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=50937&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=50937&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=50937&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=50937&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=50937&r=mysqlcfg



#50936 [NEW]: ini key may not have a slash in it

2010-02-05 Thread kubelke at kuborgh dot de
From: kubelke at kuborgh dot de
Operating system: Mac 10.6
PHP version:  5.3.1
PHP Bug Type: Unknown/Other Function
Bug description:  ini key may not have a slash in it

Description:

A Slash in ini key leads to an error on mac, pc works. No exception 
thrown.

Reproduce code:
---
---
>From manual page: function.parse-ini-string#Notes
---
try {
$arr = parse_ini_string('ActionTheme.Member/Search = 1');
print_r($arr);
} catch (Exception $e) {
echo $e->getMessage();
}


Expected result:

Array ( [ActionTheme.Member/Search] => 1 )

Actual result:
--
"nothing" not even an empty array

-- 
Edit bug report at http://bugs.php.net/?id=50936&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50936&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50936&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50936&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50936&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50936&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50936&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=50936&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=50936&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=50936&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=50936&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=50936&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=50936&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=50936&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50936&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=50936&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=50936&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=50936&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=50936&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=50936&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=50936&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=50936&r=mysqlcfg