For example this is my class:
<?php
Class Example
{
public function example_function()
{
echo "example code";
}
}
?>
Which one of the following will be best, performance-wise?
1)
Example::example_function();
2)
$example = new Example();
$example->example_function();
What is the difference between them?