User Tools

Site Tools


phpfilters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
phpfilters [2021/01/19 05:23] – создано chifekphpfilters [2023/09/14 06:06] (current) – external edit 127.0.0.1
Line 13: Line 13:
  
 The filter_list() function can be used to list what the PHP filter extension offers: The filter_list() function can be used to list what the PHP filter extension offers:
 +
 +==== Example ====
 +<code>
 +<table>
 +  <tr>
 +    <td>Filter Name</td>
 +    <td>Filter ID</td>
 +  </tr>
 +  <?php
 +  foreach (filter_list() as $id =>$filter) {
 +    echo '<tr><td>' . $filter . '</td><td>' . filter_id($filter) . '</td></tr>';
 +  }
 +  ?>
 +</table>
 +</code>
phpfilters.1611033822.txt.gz · Last modified: 2023/09/14 06:06 (external edit)