<?PHP $array = array ( 'einkauf', 'warenkorb', 'verkauf' ); function warenkorb () { // // Programmcode // } for ( $x = 0; $x < count ( $array ); $x++ ) { if ( function_exists ( $array[$x] ) ) { echo 'function ' . $array[$x] . '() ist existent' . "\n"; } else { echo 'function ' . $array[$x] . '() ist nicht existent' . "\n"; } } ?>
function einkauf() ist nicht existent function warenkorb() ist existent function verkauf() ist nicht existent