- function_exists: documentation ( source)
- define: documentation ( source)
<?php
if(!function_exists('action')){
function action($i){
}
}
define('DEBUG' , true);
for($i=0; $i<$loops; $i++){
if(DEBUG){ action($i); }
if(!DEBUG){ action($i); }
}