title: Is it allowed to use procedural functions inside OOP PHP methods?
body: <p>I am learning Object oriented PHP and I am wondering if it is allowed to use procedural functions inside methods.</p>
  
  <p>For example in <a href="https://en.wikipedia.org/wiki/WordPress" rel="nofollow">WordPress</a> you have a function <code>get_option();</code> to get a value by name from the options database table. Is it allowed to do something like this:</p>
  
  <pre><code>class ExampleClass {
  
     public static function ExampleMethod( $optionName ) {
        if( get_option( $optionName ) ) {
           return get_option( $optionName ) + 20;
        }     
     }
  
  }
  </code></pre>