Humor - Wrapper Functions - Who has time to find/replace?


/ Published in: PHP
Save to your folder(s)

I found this snippet - and about 10 others like it - in an app I am re-factoring. Apparently re-factoring db\_fetch\_assoc was too much trouble, as was finding and replacing all references to it with the new function name.


Copy this code and paste it in your HTML
  1. function db_fetch_assoc ($result)
  2. {
  3. return ap_db_fetch_assoc($result);
  4. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.