Non-static method .... should not be called statically

Do you have questions regarding Pecl or Pear? ask here!

Moderators: egami, macek, gesf

Post Reply
User avatar
Nullsig
php-forum Fan User
php-forum Fan User
Posts: 979
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI

Tue May 29, 2012 11:42 am

You should not be calling the non-static method statically.

User avatar
LordMatt
New php-forum User
New php-forum User
Posts: 7
Joined: Tue Apr 30, 2013 4:16 pm
Location: UK
Contact:

Tue Apr 30, 2013 5:18 pm

If the method is explicitly declared as static then it should be fine... However, yes, as you are discovering, the standards of coding from PHP4 to PHP5 have shifted.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest