mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-10-19 18:05:02 +02:00
211 lines
10 KiB
HTML
211 lines
10 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>get_defined_functions</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../../src/self.css">
|
||
|
<meta name="description" content="Gibt eine Liste aller definierten Funktionen aus">
|
||
|
<meta name="keywords" content="SELFPHP, PHP, Functions-Funktionen, get_defined_functions">
|
||
|
<meta name="author" content="Damir Enseleit, mail@selfphp.info">
|
||
|
<meta name="DC.Contributer" content="Matthias Hupp, m.hupp@selfphp3.de">
|
||
|
<meta name="DC.Publisher" content="Damir Enseleit, mail@selfphp.info">
|
||
|
<meta name="DC.Date" content="2001-08-18T12:18+01:00">
|
||
|
<meta name="DC.Identifier" content="http://www.selfphp3.de/funktionsreferenz/functions_funktionen/get_defined_functions.html">
|
||
|
<meta name="DC.Language" content="de">
|
||
|
<meta name="DC.Rights" content="../../editorial/index.html">
|
||
|
<meta name="SELF.Firstdate" content="2001-08-18T12:18+01:00">
|
||
|
<meta name="SELF.Version" content="1">
|
||
|
<meta name="SELF.Pagetype" content="Information">
|
||
|
<meta name="SELF.Path" content="SELFPHP == ../../index.php // Funktionsreferenz == ../index.php // Functions-Funktionen == index.html">
|
||
|
</head>
|
||
|
<body bgcolor="#FFFFFF" text="#000000" link="#AA5522" vlink="#772200" alink="#000000">
|
||
|
|
||
|
<table cellpadding="4" cellspacing="0" border="0" width="100%">
|
||
|
<tr>
|
||
|
<td bgcolor="#FFEEDD" class="nav"><a class="an" name="top"><img src="../../src/refkap.gif" width="16" height="13" border="0" alt="Teil von"></a> <a href="../../index.html"><b>SELFPHP</b></a>/<a href="../../navigation/index.html">Navigationshilfen</a> <img src="../../src/refkap.gif" width="16" height="13" border="0" alt="Teil von"> <a href="../index.html"><b>Funktionsreferenz</b></a> <img src="../../src/refkap.gif" width="16" height="13" border="0" alt="Teil von"> <a href="index.html"><b>Functions-Funktionen</b></a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<table cellpadding="4" cellspacing="0" border="0" width="100%">
|
||
|
<tr>
|
||
|
<td bgcolor="#EEEEEE" class="doc" width="110"><img src="../../src/logo.gif" width="106" height="109" border="0" alt="SEL.html"></td>
|
||
|
<td bgcolor="#EEEEEE" class="doc" valign="bottom" width="100%">
|
||
|
<h2>get_defined_functions</h2></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td bgcolor="#EEEEEE" class="doc" valign="top" align="center"> <img src="../../src/dokx.gif" width="30" height="20" vspace="6" border="0" alt="Informationsseite">
|
||
|
</td>
|
||
|
<td bgcolor="#FFFFFF" valign="top" nowrap colspan="2">
|
||
|
<p> <img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"> <a href="#befehl"><b>Befehl</b></a><br>
|
||
|
<img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"> <a href="#version"><b>Version</b></a><br>
|
||
|
<img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"> <a href="#beschreibung"><b>Beschreibung</b></a><br>
|
||
|
<img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"> <a href="#beispiel"><b>Beispiel</b></a><br>
|
||
|
<img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"> <a href="#ausgabe"><b>Ausgabe</b></a><br>
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan=3 bgcolor="#EEEEEE" class="doc"><a href="#bottom"><img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"></a> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
|
||
|
|
||
|
<h2 class="Sh2"><a class="an" name="befehl">Befehl</a></h2>
|
||
|
|
||
|
|
||
|
|
||
|
<table width="100%" cellpadding=10><tr>
|
||
|
<td class="xmpcode" bgcolor="#E4EEFF">array <b>get_defined_functions</b>(void)</td>
|
||
|
</tr></table>
|
||
|
|
||
|
<p> </p>
|
||
|
|
||
|
<table bgcolor="#EEEEEE" class="doc" width="100%"><tr><td>
|
||
|
<a href="#top"><img src="../../src/up.gif" width="14" height="10" border="0" alt="nach oben"></a><a href="#bottom"><img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"></a> 
|
||
|
</td></tr></table>
|
||
|
|
||
|
<h2 class="Sh2"><a class="an" name="version">Version</a></h2>
|
||
|
|
||
|
<table width="100%" cellpadding=10 height="32">
|
||
|
<tr>
|
||
|
<td class="xmpcode" bgcolor="#E4EEFF" height="20">
|
||
|
<p>PHP 4 >= 4.0.4</p>
|
||
|
</td>
|
||
|
</tr></table>
|
||
|
|
||
|
<p> </p>
|
||
|
|
||
|
<table bgcolor="#EEEEEE" class="doc" width="100%"><tr><td>
|
||
|
<a href="#top"><img src="../../src/up.gif" width="14" height="10" border="0" alt="nach oben"></a><a href="#bottom"><img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"></a> 
|
||
|
</td></tr></table>
|
||
|
|
||
|
<h2 class="Sh2"><a class="an" name="beschreibung">Beschreibung</a></h2>
|
||
|
|
||
|
<table width="100%" cellpadding=10 height="232">
|
||
|
<tr>
|
||
|
<td class="xmpcode" bgcolor="#E4EEFF" height="57">
|
||
|
<p>Mit get_defined_functions() kann man sich eine Liste aller definierten
|
||
|
Funktionen<br>
|
||
|
zurückgeben lassen. Als Rückgabewert der Funktion erhalten Sie
|
||
|
ein<br>
|
||
|
mehrdimensionales Array, welches die internen und benutzerdefinierten<br>
|
||
|
Funktionen enthält. </p>
|
||
|
<p>Auf das Array können Sie zugreifen mit:<br>
|
||
|
$array["internal"] - Enthält die internen Funktionen<br>
|
||
|
$array["user"] - Enthält die benutzerdefinierten Funktionen</p>
|
||
|
<p>Siehe auch:</p>
|
||
|
<ul>
|
||
|
<li>get_defined_vars()<br>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</td>
|
||
|
</tr></table>
|
||
|
|
||
|
<p> </p>
|
||
|
|
||
|
<table bgcolor="#EEEEEE" class="doc" width="100%"><tr><td>
|
||
|
<a href="#top"><img src="../../src/up.gif" width="14" height="10" border="0" alt="nach oben"></a><a href="#bottom"><img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"></a> 
|
||
|
</td></tr></table>
|
||
|
|
||
|
<h2 class="Sh2"><a class="an" name="beispiel">Beispiel</a></h2>
|
||
|
|
||
|
<table width="100%" cellpadding=10 height="66">
|
||
|
<tr>
|
||
|
<td class="xmpcode" bgcolor="#E4EEFF">
|
||
|
<pre><html><br><head><br><title>Verf&uuml;gbare Funktionen</title><br><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br></head><br><body bgcolor="#FFFFFF" text="#000000"><br><table width="35%" border="0"><br><?PHP<br>function meine_erste_funktion(){<br>}
|
||
|
<br>function meine_zweite_funktion(){<br>}
|
||
|
<br>$arr = get_defined_functions();<br>foreach($arr as $k => $v) {<br> for($x=0;$x<count($arr[$k]);$x++){ <br> echo "<tr><td width=\"50%\">[$x] => </td><br> <td width=\"50%\">$v[$x]</td></tr>";<br> }<br>}<br>?> <br></table><br></body><br></html></pre>
|
||
|
<p></p>
|
||
|
</td>
|
||
|
</tr></table>
|
||
|
|
||
|
<p> </p>
|
||
|
|
||
|
<table bgcolor="#EEEEEE" class="doc" width="100%"><tr><td>
|
||
|
<a href="#top"><img src="../../src/up.gif" width="14" height="10" border="0" alt="nach oben"></a><a href="#bottom"><img src="../../src/down.gif" width="14" height="10" border="0" alt="nach unten"></a> 
|
||
|
</td></tr></table>
|
||
|
|
||
|
|
||
|
<h2 class="Sh2"><a class="an" name="ausgabe">Ausgabe</a></h2>
|
||
|
|
||
|
<table width="100%" cellpadding=10 height="45">
|
||
|
<tr>
|
||
|
<td class="xmpcode" bgcolor="#E4EEFF" height="57">
|
||
|
<p><b>Achtung:</b> Aus Darstellungsgründen können hier nicht alle<br>
|
||
|
Funktionen augelistet werden.</p>
|
||
|
<table width="42%" border="1">
|
||
|
<tr>
|
||
|
<td width="50%">[0] =></td>
|
||
|
<td width="50%">zend_version</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="50%">[1] =></td>
|
||
|
<td width="50%">func_num_args</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="50%">[2] =></td>
|
||
|
<td width="50%">func_get_arg</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<p>.<br>
|
||
|
.<br>
|
||
|
.</p>
|
||
|
<table width="42%" border="1">
|
||
|
<tr>
|
||
|
<td width="45%">[534] =></td>
|
||
|
<td width="55%">apache_note</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="45%">[535] =></td>
|
||
|
<td width="55%">apache_lookup_uri</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="45%">[536] => </td>
|
||
|
<td width="55%">apache_child_terminate</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="45%">[0] => </td>
|
||
|
<td width="55%">meine_erste_funktion</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="45%">[1] => </td>
|
||
|
<td width="55%">meine_zweite_funktion</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</td>
|
||
|
</tr></table>
|
||
|
|
||
|
|
||
|
<p> </p>
|
||
|
|
||
|
|
||
|
<table cellpadding="4" cellspacing="0" border="0" width="100%">
|
||
|
<tr><td colspan=2 bgcolor="#EEEEEE" class="doc">
|
||
|
<a href="#top"><img src="../../src/up.gif" width="14" height="10" border="0" alt="nach oben"></a>
|
||
|
</td></tr>
|
||
|
<tr>
|
||
|
<td bgcolor="#EEEEEE" class="doc" align="right" width="110">weiter:<a href="register_shutdown_function.html"><img src="../../src/next.gif" width="10" height="10" border="0" hspace="10" alt="weiter"></a></td>
|
||
|
<td bgcolor="#FFFFFF"><img src="../../src/dok.gif" width="15" height="10" border="0" alt="Seite">
|
||
|
<a href="register_shutdown_function.html"><b>register_shutdown_function</b></a> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td bgcolor="#EEEEEE" class="doc" align="right" width="110">zurück:<a href="function_exists.html"><img src="../../src/prev.gif" width="10" height="10" border="0" hspace="10" alt="zurück"></a></td>
|
||
|
<td bgcolor="#FFFFFF" width="100%"><img src="../../src/dok.gif" width="15" height="10" border="0" alt="Seite">
|
||
|
<a href="function_exists.html"><b>function_exists</b></a> </td>
|
||
|
</tr>
|
||
|
<tr><td colspan=2 bgcolor="#EEEEEE" class="doc"> </td></tr>
|
||
|
</table><table cellpadding="4" cellspacing="0" border="0" width="100%">
|
||
|
<tr>
|
||
|
<td bgcolor="#FFEEDD" class="nav"><a class="an" name="bottom"><img src="../../src/refkap.gif" width="16" height="13" border="0" alt="Teil von"></a>
|
||
|
<a href="../../index.html"><b>SELFPHP</b></a>/<a href="../../navigation/index.html">Navigationshilfen</a> <img src="../../src/refkap.gif" width="16" height="13" border="0" alt="Teil von">
|
||
|
<a href="../index.html"><b>Funktionsreferenz</b></a> <img src="../../src/refkap.gif" width="16" height="13" border="0" alt="Teil von">
|
||
|
<a href="index.html"><b>Functions-Funktionen</b></a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p><a class="an" name="bottom">© 2001, 2002, 2003</A> <img src="../../src/mail.gif" width="15" height="10" border="0" alt="E-Mail"> <a href="mailto:mail@selfphp.info">Damir Enseleit, mail@selfphp.info</a></p>
|
||
|
|
||
|
|
||
|
|
||
|
</body>
|
||
|
</html>
|