Homec4science

Use class_exists() before is_subclass_of()

Authored by vrana <jakubv@fb.com> on Jul 19 2012, 04:49.

Description

Use class_exists() before is_subclass_of()

Summary: HPHP doesn't autoload without it.

Test Plan: /p/vrana/feed/

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3009

Details

Committed
vrana <jakubv@fb.com>Jul 19 2012, 04:57
Pushed
aubortJan 31 2017, 17:16
Parents
rPH00160ab2a392: Remove ambiguous test
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPH6e63674b2da1: Use class_exists() before is_subclass_of() (authored by vrana <jakubv@fb.com>).Jul 19 2012, 04:57