Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. error_reporting(E_ALL|E_STRICT);
  2.  
  3. ini_set('display_errors', 1);
  4.  
  5. ini_set('display_errors', 0);
  6. ini_set('display_startup_errors', 0);
  7. error_reporting(0);
  8.  
  9. ini_set('display_errors', 1);
  10.  
  11. E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
  12.  
  13. class Foo
  14. {
  15. Bar(){}
  16. }
  17.  
  18. class Foo
  19. {
  20. public Bar(){}
  21. }
  22.  
  23. class Foo
  24. {
  25. public static Bar(){}
  26. public Other(){}
  27. }
  28.  
  29. /**
  30. Acessando de forma estática um método não estático.
  31. */
  32. Foo::Other();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement