<?php const TEST = 1; class Foo { function __toString() { return "1"; } } $foo = new Foo(); var_dump( '1' == TEST, '1' == $foo, '1' == 1, $foo == TEST );
You have javascript disabled. You will not be able to edit any code.