code_junkie

PHP equivalent of Perl's 'use strict' (to require variables to be initialzied before use)

Nov 10th, 2011
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. function mymodule_important_calculation() {
  2. $result = /* ... long and complex calculation ... */;
  3. return $resukt;
  4. }
  5.  
  6. error_reporting = E_ALL
  7.  
  8. error_reporting(E_ALL);
Add Comment
Please, Sign In to add comment