Joined October 2013
·
Posted to
The PHP Type System can Shoot you in the Leg
over 1 year
ago
I don't think this is a bug. You are comparing a number.
It is like:
if( 0 == 'Foo' ) // it return TRUE
but if it was a string on both end:
if( '0' == 'Foo' ) // it return FALSE
Google is behind Angular so if they want this to be common framework to use on the net then they should think about how to index it to the google crawlers.