[PHP-BUG] Req #65501 [NEW]: uniqid(): More entropy parameter should be true by default

2013-08-22 Thread yohg...@php.net
From: yohgaki
Operating system: any
PHP version:  Irrelevant
Package:  Unknown/Other Function
Bug Type: Feature/Change Request
Bug description:uniqid(): More entropy parameter should be true by default

Description:

uniqid()'s 2nd parameter(more entropy) is optional and false by default.

http://jp1.php.net/uniqid

Without more entropy, uniqid() may produce non unique id even if the name
states 
it. This could be security issue under certain cases.

Making it true by default would not break any apps, therefore it should be
true 
by default.


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



[PHP-BUG] Bug #65685 [NEW]: PHP 5.3 git fails to compile with ZTS

2013-09-16 Thread yohg...@php.net
From: yohgaki
Operating system: any
PHP version:  5.5Git-2013-09-16 (Git)
Package:  Compile Failure
Bug Type: Bug
Bug description:PHP 5.3 git fails to compile with ZTS

Description:

When ZTS is enabled, PHP 5.3 fails to compile due to conflicting
declaration.
(I found this by building php with multi threaded apache MPM by mistake. I

haven't check if this is applicable to 5.4 or later)



php-5.3/Zend/zend_language_parser.h:317:5: error: conflicting types for 
'zendparse'
 int zendparse (void);
 ^
In file included from
/home/yohgaki/prove-dev/php-5.3/Zend/zend_globals.h:28:0,
 from
/home/yohgaki/prove-dev/php-5.3/Zend/zend_compile.h:342,
 from
/home/yohgaki/prove-dev/php-5.3/Zend/zend_modules.h:26,
 from /home/yohgaki/prove-dev/php-5.3/Zend/zend_API.h:26,
 from /home/yohgaki/prove-dev/php-5.3/main/php.h:38,
 from /home/yohgaki/prove-dev/php-
5.3/ext/standard/basic_functions.c:22:
php-5.3/Zend/zend_globals_macros.h:35:5: note: previous declaration of 
'zendparse' was here
 int zendparse(void *compiler_globals);
 ^
make: *** [ext/standard/basic_functions.lo] Error 1







php-5.3/Zend/zend_language_parser.h

#ifdef YYPARSE_PARAM
#if defined __STDC__ || defined __cplusplus
int zendparse (void *YYPARSE_PARAM);
#else
int zendparse ();
#endif
#else /* ! YYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int zendparse (void);
#else
int zendparse ();
#endif
#endif /* ! YYPARSE_PARAM */


php-5.3/Zend/zend_globals_macros.h

/* Compiler */
#ifdef ZTS
# define CG(v) TSRMG(compiler_globals_id, zend_compiler_globals *, v)
int zendparse(void *compiler_globals);
#else
# define CG(v) (compiler_globals.v)
extern ZEND_API struct _zend_compiler_globals compiler_globals;
int zendparse(void);
#endif



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



[PHP-BUG] Bug #65746 [NEW]: session_regenerate_id() do not delete old session data.

2013-09-23 Thread yohg...@php.net
From: yohgaki
Operating system: 
PHP version:  5.5Git-2013-09-23 (Git)
Package:  Session related
Bug Type: Bug
Bug description:session_regenerate_id() do not delete old session data.

Description:

session_regenerate_id() do not delete old session data.
It should delete old data.


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



[PHP-BUG] Req #66024 [NEW]: mb_chr() and mb_ord()

2013-11-02 Thread yohg...@php.net
From: yohgaki
Operating system: *
PHP version:  Irrelevant
Package:  mbstring related
Bug Type: Feature/Change Request
Bug description:mb_chr() and mb_ord()

Description:

Although mb_encode/decode_numericentity() can be used for multibyte
version of chr()/ord(), it would be better to have mb_chr() and
mb_ord().

$char_code = mb_chr($mb_char [, $encoding = mbstring.internal_encoding]
)
$mb_char = mb_ord($char_code [, $encoding = mbstring.internal_encoding]
)




-- 
Edit bug report at https://bugs.php.net/bug.php?id=66024&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=66024&r=trysnapshot54
Try a snapshot (PHP 5.5):   
https://bugs.php.net/fix.php?id=66024&r=trysnapshot55
Try a snapshot (trunk): 
https://bugs.php.net/fix.php?id=66024&r=trysnapshottrunk
Fixed in SVN:   https://bugs.php.net/fix.php?id=66024&r=fixed
Fixed in release:   https://bugs.php.net/fix.php?id=66024&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66024&r=needtrace
Need Reproduce Script:  https://bugs.php.net/fix.php?id=66024&r=needscript
Try newer version:  https://bugs.php.net/fix.php?id=66024&r=oldversion
Not developer issue:https://bugs.php.net/fix.php?id=66024&r=support
Expected behavior:  https://bugs.php.net/fix.php?id=66024&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=66024&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=66024&r=submittedtwice
register_globals:   https://bugs.php.net/fix.php?id=66024&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66024&r=php4
Daylight Savings:   https://bugs.php.net/fix.php?id=66024&r=dst
IIS Stability:  https://bugs.php.net/fix.php?id=66024&r=isapi
Install GNU Sed:https://bugs.php.net/fix.php?id=66024&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66024&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66024&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66024&r=mysqlcfg



[PHP-BUG] Bug #61137 [NEW]: missing mysql_stmt_get_result()

2012-02-18 Thread yohg...@php.net
From: yohgaki
Operating system: Linux
PHP version:  5.3.10
Package:  MySQLi related
Bug Type: Bug
Bug description:missing mysql_stmt_get_result()

Description:

Not researched why this happens, but somehow a function is missing in PHP
5.3.10, 
but not 5.4.

The manual says mysqli_stmt_get_result() is available from PHP 5.3.0, but
it is 
missing.

http://jp2.php.net/manual/en/mysqli-stmt.get-result.php

msyqli_stmt::get_result() also seems missing.



Test script:
---
[yohgaki@dev php-5.3.10]$ ./configure --with-mysqli && make -j 9
[yohgaki@dev php-5.3.10]$ ./sapi/cli/php -r
"print_r(get_defined_functions());" | grep mysqli_stmt_get
[239] => mysqli_stmt_get_warnings


Expected result:

This is PHP 5.4 svn result.

[yohgaki@dev php-src-5.4]$ ./sapi/cli/php -r
"print_r(get_defined_functions());" 
| grep mysqli_stmt_get
[246] => mysqli_stmt_get_result
[247] => mysqli_stmt_get_warnings


Actual result:
--
[yohgaki@dev php-5.3.10]$ ./sapi/cli/php -r
"print_r(get_defined_functions());" | 
grep mysqli_stmt_get
[239] => mysqli_stmt_get_warnings

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



Bug #61537 [Com]: json_encode() incorrectly truncates/discards information

2012-03-28 Thread yohg...@php.net
Edit report at https://bugs.php.net/bug.php?id=61537&edit=1

 ID: 61537
 Comment by: yohg...@php.net
 Reported by:j...@php.net
 Summary:json_encode() incorrectly truncates/discards
 information
 Status: Open
 Type:   Bug
 Package:JSON related
 Operating System:   all
 PHP Version:5.4.0
 Block user comment: N
 Private report: N

 New Comment:

I prefer option 2. 
It's an error condition anyway.


Previous Comments:

[2012-03-28 05:12:08] ahar...@php.net

I think we've got two options here:

1. Change the documented behaviour to note that invalid UTF-8 strings are 
encoded as NULL, rather than causing json_encode() to return false, and advise 
users to check json_last_error() if they're concerned about the output.

2. Change the json_encode() behaviour to match the documentation. Quick and 
dirty POC patch which adds a switch to fall back to the current behaviour: 
https://gist.github.com/7735daabc56fb38eb511

Option 2 has a BC concern: we've never advertised json_encode() as not 
returning 
false in this case, but people may rely on it.

Either way, I think we should probably drop the if (PG(display_errors)) { ... } 
around the warning in json_escape_string().

Anyone else have thoughts?


[2012-03-28 05:01:34] j...@php.net

Per documentation:

Return Values: Returns a JSON encoded string on success or FALSE on failure.


[2012-03-28 05:01:01] j...@php.net

Description:

When json_encode() cannot correctly encode its argument into JSON, the expected 
behaviour is that it will return false, and people can check json_last_error() 
to 
see why it failed. Currently, it will replace all data it could not encode with 
the string 'null'. This can lead to what appears to be silently discarding data.

Test script:
---
https://bugs.php.net/bug.php?id=61537&edit=1


Bug #61531 [Com]: Integer Overflow in all printf functions

2012-03-28 Thread yohg...@php.net
Edit report at https://bugs.php.net/bug.php?id=61531&edit=1

 ID: 61531
 Comment by: yohg...@php.net
 Reported by:iblue at gmx dot net
 Summary:Integer Overflow in all printf functions
 Status: Open
 Type:   Bug
 Package:Strings related
 Operating System:   GNU/Linux
 PHP Version:5.4.0
 Block user comment: N
 Private report: N

 New Comment:

This happens because argnum is int and php_sprintf_getnumber() just returns -1 
when there is overflow.

ext/standard/formatted_print.c
-
if (format[temppos] == '$') {
argnum = php_sprintf_getnumber(format, &inpos);
if (argnum <= 0) {
efree(result);
efree(args);
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Argument number 
must be greater than zero");
return NULL;
}
multiuse = 1;
inpos++;  /* skip the '$' */
} else {
-

I don't think we have to deal this more gracefully. Anyone?


Previous Comments:

[2012-03-27 21:07:12] iblue at gmx dot net

Description:

There is an integer overflow in *printf.

Test script:
---
https://bugs.php.net/bug.php?id=61531&edit=1


Bug #55496 [Com]: Interactive mode doesn't force a newline before the prompt

2012-03-28 Thread yohg...@php.net
Edit report at https://bugs.php.net/bug.php?id=55496&edit=1

 ID: 55496
 Comment by: yohg...@php.net
 Reported by:s...@php.net
 Summary:Interactive mode doesn't force a newline before the
 prompt
 Status: Assigned
 Type:   Bug
 Package:CGI/CLI related
 Operating System:   Linux
 PHP Version:5.4SVN-2011-08-23 (SVN)
 Assigned To:johannes
 Block user comment: N
 Private report: N

 New Comment:

Currently, CLI's interactive mode seems completely broken.

--
[yohgaki@dev php-src]$ ./sapi/cli/php -v
PHP 5.5.0-dev (cli) (built: Mar 28 2012 17:33:51) (DEBUG)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
[yohgaki@dev php-src]$ ./sapi/cli/php -a
Interactive mode enabled

echo 8



echo 8



[yohgaki@dev php-src]$ 



Previous Comments:

[2012-02-01 19:09:06] s...@php.net

For the record, this changed (broke) in PHP 5.4.


[2011-08-23 20:59:01] s...@php.net

Automatic comment from SVN on behalf of sixd
Revision: http://svn.php.net/viewvc/?view=revision&revision=315404
Log: Update log, marking 5.4 and trunk as XFAIL due to bug #55496


[2011-08-23 20:58:39] s...@php.net

The expected & actual sections above should be swapped.


[2011-08-23 20:47:27] s...@php.net

Description:

The call to readline_shell_write() in readline_shell_run() is effectively a 
no-op 
so no newline is forced before the prompt.

Expected result:

$ php -a
Interactive shell

php > echo "hi";
hiphp > 

Actual result:
--
$ php -a
Interactive shell

php > echo "hi";
hi
php > 






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


Bug #55496 [Com]: Interactive mode doesn't force a newline before the prompt

2012-03-28 Thread yohg...@php.net
Edit report at https://bugs.php.net/bug.php?id=55496&edit=1

 ID: 55496
 Comment by: yohg...@php.net
 Reported by:s...@php.net
 Summary:Interactive mode doesn't force a newline before the
 prompt
 Status: Assigned
 Type:   Bug
 Package:CGI/CLI related
 Operating System:   Linux
 PHP Version:5.4SVN-2011-08-23 (SVN)
 Assigned To:johannes
 Block user comment: N
 Private report: N

 New Comment:

--with-readline, I get this. 

---
[yohgaki@dev php-src]$ ./sapi/cli/php -a
Interactive mode enabled

php > echo ;
php > 
---

We probably should warning message when PHP is built without readline/libedit.

Related bugs:
https://bugs.php.net/bug.php?id=51695
https://bugs.php.net/bug.php?id=55257


Previous Comments:

[2012-03-28 08:34:56] yohg...@php.net

Currently, CLI's interactive mode seems completely broken.

--
[yohgaki@dev php-src]$ ./sapi/cli/php -v
PHP 5.5.0-dev (cli) (built: Mar 28 2012 17:33:51) (DEBUG)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
[yohgaki@dev php-src]$ ./sapi/cli/php -a
Interactive mode enabled

echo 8



echo 8



[yohgaki@dev php-src]$ 



[2012-02-01 19:09:06] s...@php.net

For the record, this changed (broke) in PHP 5.4.


[2011-08-23 20:59:01] s...@php.net

Automatic comment from SVN on behalf of sixd
Revision: http://svn.php.net/viewvc/?view=revision&revision=315404
Log: Update log, marking 5.4 and trunk as XFAIL due to bug #55496


[2011-08-23 20:58:39] s...@php.net

The expected & actual sections above should be swapped.


[2011-08-23 20:47:27] s...@php.net

Description:

The call to readline_shell_write() in readline_shell_run() is effectively a 
no-op 
so no newline is forced before the prompt.

Expected result:

$ php -a
Interactive shell

php > echo "hi";
hiphp > 

Actual result:
--
$ php -a
Interactive shell

php > echo "hi";
hi
php > 






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


[PHP-BUG] Bug #61562 [NEW]: session.use_only_cookies does not work

2012-03-30 Thread yohg...@php.net
From: yohgaki
Operating system: ANY
PHP version:  5.4.0
Package:  Session related
Bug Type: Bug
Bug description:session.use_only_cookies does not work

Description:

When session.use_trans_sid=on and session.use_only_cookies=off, Trans SID
should 
work.

However, current code requires session.use_cookie=off to make Trans SID
work.


Test script:
---
N/A

Expected result:

When session.use_trans_sid=on and session.use_only_cookies=off, Trans SID
should 
work.


Actual result:
--
session.use_cookie=off is needed to make Trans SID work.


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



[PHP-BUG] Bug #65165 [NEW]: pg_unescape_bytea() should raise error for invalid inputs

2013-06-28 Thread yohg...@php.net
From: yohgaki
Operating system: *
PHP version:  5.4.16
Package:  PostgreSQL related
Bug Type: Bug
Bug description:pg_unescape_bytea() should raise error for invalid inputs

Description:

Passing invalid value to pg_unescape_bytea() is nothing but a bug.
Therefore, it 
should raise error.

Test script:
---
N/A


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