is_a is deprecated, instanceof only takes vars or constants
authorMark Slee <mcslee@apache.org>
Thu, 20 Dec 2007 03:23:27 +0000 (03:23 +0000)
committerMark Slee <mcslee@apache.org>
Thu, 20 Dec 2007 03:23:27 +0000 (03:23 +0000)
commit97264864df4e7c14d8a4323af6ad37e726c52ef9
tree31dc8f2b531dbb29911ba9f944a28e30cd7a1c82
parenta89cd7b03e1a1071094bacdfbf74cff3739b2911
is_a is deprecated, instanceof only takes vars or constants

Summary: Solution, dummy static class var to use instanceof

Reviewed By: dweatherford

Test Plan: Regen'd some mobile code in trunk using this

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665401 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_php_generator.cc
lib/php/src/protocol/TProtocol.php