3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Eléments d'authentification LDAP $ldaprdn = 'admin'; // DN ou RDN LDAP $ldappass = '%00'; // Mot de passe associé // Connexion au serveur LDAP $ldapconn = ldap_connect("challenge01.root-me.org",54013) or die("Impossible de se connecter au serveur LDAP."); if ($ldapconn) { // Connexion au serveur LDAP $ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass); // Vérification de l'authentification if ($ldapbind) { echo "Connexion LDAP réussie..."; } else { echo "Connexion LDAP échouée..."; } } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function ldap_connect() in /in/FnRcn:7 Stack trace: #0 {main} thrown in /in/FnRcn on line 7
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
57.81 ms | 401 KiB | 8 Q