Using the array_filter function within a class

When using the array_filter method in PHP I attempted to make my callback function a private method within my class. Upon trying to execute my script I recieved an error telling my that I had not defined a proper call back method. After searching for several minutes I came across this snippet of code and I hope it works for you as well.

array_filter($myArray, array("myClassName", "myCallbackMethod"));