php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61718 ext\ldap\tests\ldap_set_rebind_proc_error.phpt fails
Submitted: 2012-04-13 09:39 UTC Modified: 2012-04-16 13:47 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: LDAP related
PHP Version: 5.3.10 OS: windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 - 18 = ?
Subscribe to this entry?

 
 [2012-04-13 09:39 UTC] ab@php.net
Description:
------------
Test diff:

001+ Fatal error: Call to undefined function ldap_set_rebind_proc() in C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-r2ca49d3\ext\ldap\tests\ldap_set_rebind_proc_error.php on line 18
001- Warning: ldap_set_rebind_proc() expects exactly 2 parameters, 1 given in %s on line %d
002- bool(false)
003-
004- Warning: ldap_set_rebind_proc() expects exactly 2 parameters, 3 given in %s on line %d
005- bool(false)
006-
007- Warning: ldap_set_rebind_proc(): Two arguments expected for 'rebind_proc_inexistant' to be a valid callback in %s on line %d
008- bool(false)
009- ===DONE===

Expected result:
----------------
test pass

Actual result:
--------------
test fail

Patches

61718.diff (last revision 2012-04-13 13:46 UTC by ab@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-13 13:04 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: 61718.diff
Revision:   1334322289
URL:        https://bugs.php.net/patch-display.php?bug=61718&patch=61718.diff&revision=1334322289
 [2012-04-13 13:05 UTC] ab@php.net
ldap_set_rebind_proc seems not to exist on win
 [2012-04-13 13:46 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: 61718.diff
Revision:   1334324779
URL:        https://bugs.php.net/patch-display.php?bug=61718&patch=61718.diff&revision=1334324779
 [2012-04-16 13:31 UTC] ab@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-04-16 13:31 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 11:01:28 2024 UTC