| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2011-01-02 02:31 UTC] jani@php.net
 
-Package: Feature/Change Request
+Package: LDAP related
  [2015-06-10 11:17 UTC] mcmic@php.net
 
-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: mcmic
  [2015-06-10 11:17 UTC] mcmic@php.net
  | 
    |||||||||||||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 05:00:01 2025 UTC | 
Description: ------------ It's a common scenario that you need to increase a counter atomically. E.g. the UidNumber-Counter for a sambaUnixIdPool. With perl you need just a few lines: my $umsg = $ld->modify($dn, delete => { 'uidNumber' => $currentvalue }, add => { 'uidNumber' => $nextvalue}); But this seems not to be possible with PHP because you need two functions calls (ldap_delete, ldap_add) or support for defining operations in ldap_modify.