How can the given PHP code be modified to make it compatible with PHP4?

The issue with the given PHP code is the use of the `public` keyword in the class declaration, which is not supported in PHP4. To make it compatible with PHP4, the `public` keyword should be removed from the class declaration. Additionally, PHP4 does not support the `public function` syntax for defining methods, so methods should be defined without the `public` keyword.

class MyClass {
    var $myProperty;

    function __construct($value) {
        $this->myProperty = $value;
    }

    function getPropertyValue() {
        return $this->myProperty;
    }
}