Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/ext/ldap/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/ldap/tests/ldap_get_entries_basic.phpt |
--TEST-- ldap_get_entries() - Basic modify operation --CREDITS-- Patrick Allaert <patrickallaert@php.net> # Belgian PHP Testfest 2009 --SKIPIF-- <?php require_once('skipif.inc'); ?> <?php require_once('skipifbindfailure.inc'); ?> --FILE-- <?php require "connect.inc"; $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version); insert_dummy_data($link, $base); var_dump( ldap_get_entries( $link, ldap_search($link, "$base", "(o=test)") ) ); ?> ===DONE=== --CLEAN-- <?php require "connect.inc"; $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version); remove_dummy_data($link, $base); ?> --EXPECTF-- array(2) { ["count"]=> int(1) [0]=> array(6) { ["objectclass"]=> array(3) { ["count"]=> int(2) [0]=> string(3) "top" [1]=> string(12) "organization" } [0]=> string(11) "objectclass" ["o"]=> array(2) { ["count"]=> int(1) [0]=> string(4) "test" } [1]=> string(1) "o" ["count"]=> int(2) ["dn"]=> string(%d) "o=test,%s" } } ===DONE===
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare