bool String::more(CObjRef v2) const { if (m_px == NULL || v2.get() == NULL) { return HPHP::more(toBoolean(), v2.toBoolean()); } if (v2.isResource()) return false; try { return more(v2.toString()); } catch (BadTypeConversionException &e) { return false; } }