bool Array::more(CObjRef v2) const { if (m_px == nullptr || v2.get() == nullptr) { return HPHP::more(toBoolean(), v2.toBoolean()); } check_collection_compare(v2.get()); return false; }
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; } }
bool Array::more(CObjRef v2) const { if (m_px == NULL || v2.get() == NULL) { return HPHP::more(toBoolean(), v2.toBoolean()); } return true; }
bool Array::less(CObjRef v2) const { if (m_px == NULL || v2.get() == NULL) { return HPHP::less(toBoolean(), v2.toBoolean()); } return false; }
bool String::more(CObjRef v2) const { if (m_px == NULL || v2.get() == NULL) { return HPHP::more(toBoolean(), v2.toBoolean()); } return false; }
bool String::less(CObjRef v2) const { if (m_px == NULL || v2.get() == NULL) { return HPHP::less(toBoolean(), v2.toBoolean()); } return true; }
bool Array::equal(CObjRef v2) const { if (m_px == nullptr || v2.get() == nullptr) { return HPHP::equal(toBoolean(), v2.toBoolean()); } return false; }