title: Magic Methods php, __call __get and __set?
body: <p>my question is, say we have a class:</p>
  
  <pre><code>class SomeClass{
  
      private $someProperty;
  
  
      public function __call($name,$arguments){
          echo "Hello World";
  }
  </code></pre>
  
  <p>Now when I say:</p>
  
  <pre><code>$object = new SomeClass();
  $object-&gt;someMethod();
  </code></pre>
  
  <p>the __call method in my class will be called.</p>
  
  <p>When I say </p>
  
  <pre><code>$object-&gt;getSomeProperty();
  </code></pre>
  
  <p>will __call again be called?
  If so, what is __get and __set magic methods are for?</p>
  
  <p>When I say</p>
  
  <pre><code>$object-&gt;someProperty;
  </code></pre>
  
  <p>then will __get($someProperty) be called? or will it be __set($someProperty) ? </p>