note 82215 added to function.get-defined-functions

From: Date: Tue, 01 Apr 2008 14:14:22 +0000
Subject: note 82215 added to function.get-defined-functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-137817@lists.php.net to get a copy of this message
To search for a function. <html> <head> <title>List of all Internal functions</title> <style type="text/css"> body { background-color: #FFFFFF; color: #222222; font-size: 11px; font-family: arial, tahoma; } table { color: #222222; font-size: 11px; font-family: arial, tahoma; } tr.found { background-color: #66EE00; font-weight: bold; } a:link { color: #222222; } a:visited { color: #CCCCCC; } a:active { color: #444444; } a:hover { text-decoration: underline; } </style> </head> <body> <p> <form method="GET"> Search: <input type="text" name="search"><br> <input type="submit"> </form> </p> <?php if (!empty($_GET['search'])) { echo '<p>' . '<a href="#' . $_GET['search'] . '">' . 'Goto ' . $_GET['search'] . '</a>' . '<script type="text/javascript"> window.onload = function() { document.location += "#' . $_GET['search'] . '"; return true; } </script> </p>'; } ?> <p> <table> <?php $country = 'us'; $functions = get_defined_functions(); $functions = $functions['internal']; $num = 0; foreach($functions as $function) { $num++; echo '<tr ' . (($_GET['search'] == $function) ? 'class="found"' : '') . '><td>' . number_format($num) . '</td><td>' . '<a name="' . $function . '" href="http://' . $country . '.php.net/' . $function . '">' . $function . '</a>' . '</td></tr>'; } ?> </table> </p> </body> </html> ---- Server IP: 69.147.83.197 Probable Submitter: 196.25.255.214 ---- Manual Page -- http://www.php.net/manual/en/function.get-defined-functions.php Edit -- https://master.php.net/note/edit/82215 Del: integrated -- https://master.php.net/note/delete/82215/integrated Del: useless -- https://master.php.net/note/delete/82215/useless Del: bad code -- https://master.php.net/note/delete/82215/bad+code Del: spam -- https://master.php.net/note/delete/82215/spam Del: non-english -- https://master.php.net/note/delete/82215/non-english Del: in docs -- https://master.php.net/note/delete/82215/in+docs Del: other reasons-- https://master.php.net/note/delete/82215 Reject -- https://master.php.net/note/reject/82215 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137817) next »