ID:               46902
 Updated by:       j...@php.net
 Reported By:      z...@php.net
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Any
 PHP Version:      5.3.0alpha3
 New Comment:

New paremeter parsing api does that. And IIRC, that's defacto standard
now.


Previous Comments:
------------------------------------------------------------------------

[2008-12-18 14:39:25] z...@php.net

Description:
------------
The imap functions in ext/imap/php_imap.c all return NULL on failure of
zend_parse_parameters() rather than bool(false).

In PHP52 the same functions return 'false' when parameter parsing
fails.

Patches here:
http://pastebin.ca/1288616
http://pastebin.ca/1288620


Reproduce code:
---------------
http://pastebin.ca/1288610

Expected result:
----------------
See expected result in test case

Actual result:
--------------
NULL in test output where bool(false) is expected


------------------------------------------------------------------------


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

Reply via email to