PHP Easy Solution
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```php []\nclass Solution {\n\n    /**\n     * @param String $s1\n     * @param String $s2\n     * @return Boolean\n     */\n    function canBeEqual($s1, $s2) {\n        if($s1 == $s2)return true;\n        if($s1 == $this->reorder($s2,2,1,0,3))return true;\n        if($s1 == $this->reorder($s2,0,3,2,1))return true;\n        if($s1 == $this->reorder($s2,2,3,0,1))return true;\n\n        return false;\n    }\n\n    function reorder($str,$i1,$i2,$i3,$i4){\n        return $str[$i1] . $str[$i2] . $str[$i3] . $str[$i4];\n    }\n}\n```
['PHP']