Mega Code Archive
Categories
/
Php
/
Class
Comparing Objects with == and ===
myself = $this; } } $Bob = new Employee( ); $Joe = clone $Bob; print (int)($Bob == $Joe) . "\n"; print (int)($Bob === $Joe) . "\n"; ?>