<?php class Foo { public function __toString() { return '5.7'; } } $d = new Foo(); var_dump(version_compare($d, '5.7'));
You have javascript disabled. You will not be able to edit any code.