Why no Output in PHP OOP program?
    <?php
    
    class TrimPHP_Strings {    
        public $str;
    
        public function Apply() {    
                return $this->str;
        }
    
        function __constructor($str) {    
            $this->str = $str;
        }
    
    }
    
    function Strings($str) {
        $obj = new TrimPHP_Strings($str);
        return $obj;
    }
    ?>
    <?php    
    echo Strings("My String")->Apply();
    ?>

I can not understand why the above code doesn't work? I expect it to output `My String` but it simply outputs a blank page.

Why no Output in PHP OOP program?
===

    <?php
    
    class TrimPHP_Strings {    
        public $str;
    
        public function Apply() {    
                return $this->str;
        }
    
        function __constructor($str) {    
            $this->str = $str;
        }
    
    }
    
    function Strings($str) {
        $obj = new TrimPHP_Strings($str);
        return $obj;
    }
    ?>
    <?php    
    echo Strings("My String")->Apply();
    ?>

I can not understand why the above code doesn't work? I expect it to output `My String` but it simply outputs a blank page.
