Coder Social home page Coder Social logo

facebook / hhvm Goto Github PK

View Code? Open in Web Editor NEW
18.0K 1.0K 3.0K 693.46 MB

A virtual machine for executing programs written in Hack.

Home Page: https://hhvm.com

License: Other

CMake 0.90% Shell 0.15% PHP 1.48% C++ 41.85% Python 1.98% Makefile 0.01% Perl 0.01% CSS 0.01% OCaml 15.80% Standard ML 0.01% C 1.85% Hack 35.82% HTML 0.01% Awk 0.01% XSLT 0.01% Assembly 0.06% LLVM 0.02% Yacc 0.01% GDB 0.01% Roff 0.03%
hhvm php hack hacklang

hhvm's Introduction

HHVM

HHVM page | HHVM documentation | Hacklang page | General group | Dev group | Twitter

HHVM is an open-source virtual machine designed for executing programs written in Hack. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining amazing development flexibility.

HHVM should be used together with a webserver like the built in, easy to deploy Proxygen, or a FastCGI-based webserver on top of nginx or Apache.

Installing

If you're new, try our getting started guide.

You can install a prebuilt package or compile from source.

Running

You can run standalone programs just by passing them to hhvm: hhvm example.hack.

If you want to host a website:

  • Install your favorite webserver. Proxygen is built into HHVM, fast and easy to deploy.
  • Install our package
  • Start your webserver
  • Run sudo /etc/init.d/hhvm start
  • Visit your site at http://.../main.hack

Our getting started guide provides a slightly more detailed introduction as well as links to more information.

Contributing

We'd love to have your help in making HHVM better. If you're interested, please read our guide to contributing.

License

HHVM is licensed under the PHP and Zend licenses except as otherwise noted.

The Hack typechecker is licensed under the MIT License except as otherwise noted.

The Hack Standard Library is licensed under the MIT License except as otherwise noted.

Reporting Crashes

See Reporting Crashes for helpful tips on how to report crashes in an actionable manner.

Security

For information on reporting security vulnerabilities in HHVM, see SECURITY.md.

FAQ

Our user FAQ has answers to many common questions about HHVM, from general questions to questions geared towards those that want to use.

There is also a FAQ for contributors to HHVM.

hhvm's People

Contributors

alexeyt avatar alexmalyshev avatar andrewjkennedy avatar binliu19 avatar catherinegasnier avatar dabek avatar edwinsmith avatar ericlippert avatar fredemmott avatar int3 avatar jamesjwu avatar jano avatar jdelong avatar jwatzman avatar ljw1004 avatar mxw avatar orvid avatar ottoni avatar oulgen avatar paulbiss avatar ptarjan avatar ricklavoie avatar sgolemon avatar shiqicao avatar skishore avatar swtaarrs avatar vassilmladenov avatar vladima avatar voorka avatar wilfred avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hhvm's Issues

Compile error Ubuntu 9.10

With recent code from git:

[ 17%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/file/pipe.cpp.o
In file included from /root/hiphop/hiphop-php/src/cpp/base/zend/zend_functions.h:22,
from /root/hiphop/hiphop-php/src/cpp/base/type_string.h:23,
from /root/hiphop/hiphop-php/src/cpp/base/array/array_element.h:20,
from /root/hiphop/hiphop-php/src/cpp/base/type_array.h:22,
from /root/hiphop/hiphop-php/src/cpp/base/file/file.h:22,
from /root/hiphop/hiphop-php/src/cpp/base/file/plain_file.h:20,
from /root/hiphop/hiphop-php/src/cpp/base/file/pipe.h:20,
from /root/hiphop/hiphop-php/src/cpp/base/file/pipe.cpp:17:
/root/hiphop/hiphop-php/src/util/hash.h:53: warning: integer constant is too large for âlongâ type
/root/hiphop/hiphop-php/src/util/hash.h:89: warning: integer constant is too large for âlongâ type
/root/hiphop/hiphop-php/src/util/hash.h:93: warning: integer constant is too large for âlongâ type
/root/hiphop/hiphop-php/src/util/hash.h:103: warning: integer constant is too large for âlongâ type
/root/hiphop/hiphop-php/src/util/hash.h:130: warning: integer constant is too large for âlongâ type
/root/hiphop/hiphop-php/src/util/hash.h:307: warning: integer constant is too large for âlongâ type
In file included from /root/hiphop/hiphop-php/src/cpp/base/object_data.h:23,
from /root/hiphop/hiphop-php/src/cpp/base/resource_data.h:20,
from /root/hiphop/hiphop-php/src/cpp/base/file/file.h:21,
from /root/hiphop/hiphop-php/src/cpp/base/file/plain_file.h:20,
from /root/hiphop/hiphop-php/src/cpp/base/file/pipe.h:20,
from /root/hiphop/hiphop-php/src/cpp/base/file/pipe.cpp:17:
/root/hiphop/hiphop-php/src/cpp/base/type_variant.h:95: error: âHPHP::Variant::Variant(ssize_t)â cannot be overloaded
/root/hiphop/hiphop-php/src/cpp/base/type_variant.h:92: error: with âHPHP::Variant::Variant(int)â
In file included from /root/hiphop/hiphop-php/src/cpp/base/file/file.h:22,
from /root/hiphop/hiphop-php/src/cpp/base/file/plain_file.h:20,
from /root/hiphop/hiphop-php/src/cpp/base/file/pipe.h:20,
from /root/hiphop/hiphop-php/src/cpp/base/file/pipe.cpp:17:
/root/hiphop/hiphop-php/src/cpp/base/type_array.h:314: error: âHPHP::Variant HPHP::Array::rvalAt(ssize_t, HPHP::int64) constâ cannot be overloaded
/root/hiphop/hiphop-php/src/cpp/base/type_array.h:306: error: with âHPHP::Variant HPHP::Array::rvalAt(int, HPHP::int64) constâ
/root/hiphop/hiphop-php/src/cpp/base/type_array.h:337: error: âconst HPHP::Variant HPHP::Array::operator constâ cannot be overloaded
/root/hiphop/hiphop-php/src/cpp/base/type_array.h:335: error: with âconst HPHP::Variant HPHP::Array::operator constâ
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/cpp/base/file/pipe.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

build error

Hi,

I get this error while building

[ 13%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/program_functions.cpp.o
In file included from /home/michal/tmp/hiphop/hiphop-php/src/cpp/base/server/server_stats.h:22,
from /home/michal/tmp/hiphop/hiphop-php/src/cpp/base/program_functions.cpp:29:
/home/michal/tmp/hiphop/hiphop-php/src/cpp/base/shared/shared_string.h:42: error: wrong number of template arguments (2, should be 4)
/usr/include/tbb/concurrent_hash_map.h:48: error: provided for ‘template<class Key, class T, class HashCompare, class A> class tbb::concurrent_hash_map’
/home/michal/tmp/hiphop/hiphop-php/src/cpp/base/shared/shared_string.h:43: error: ‘InternMap’ is not a class or namespace
/home/michal/tmp/hiphop/hiphop-php/src/cpp/base/shared/shared_string.h:43: error: expected ‘,’ or ‘...’ before ‘&’ token
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/cpp/base/program_functions.cpp.o] Błąd 1
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Błąd 2

BTW.
There is an additional re2c "-c" option in src/third_party/xhp/xhp/CMakeFiles/xhp.dir/build.make on line that is not recognized by my re2c.

timeout trying to clone

looris@ruptai:/Documents/nerd$ git clone git://github.com/facebook/hiphop-php.git
fatal: unable to connect a socket (Connection timed out)
fetch-pack from 'git://github.com/facebook/hiphop-php.git' failed.
looris@ruptai:
/Documents/nerd$ git clone http://github.com/facebook/hiphop-php.git
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?
looris@ruptai:/Documents/nerd$ git --version
git version 1.4.4.4
looris@ruptai:
/Documents/nerd$ uname -a
Linux ruptai 2.6.18-5-686 #1 SMP Wed Sep 26 17:54:59 UTC 2007 i686 GNU/Linux
looris@ruptai:~/Documents/nerd$ cat /etc/debian_version
4.0

Unable to compile in FC12

I've hit an impasse ...

/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:340: error: ISO C++ forbids declaration of ‘LHASH’ with no type
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:340: error: expected ‘;’ before ‘’ token
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:341: error: ISO C++ forbids declaration of ‘LHASH’ with no type
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:341: error: expected ‘;’ before ‘
’ token
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In member function ‘bool HPHP::php_x509_request::generatePrivateKey()’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:407: error: ‘req_config’ was not declared in this scope
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘bool HPHP::add_oid_section(HPHP::php_x509_request_)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:527: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:532: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: At global scope:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:550: error: ‘LHASH’ has not been declared
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘bool HPHP::php_openssl_config_check_syntax(const char_, const char_, const char_, int_)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:553: error: cannot convert ‘int_’ to ‘lhash_st_CONF_VALUE_’ for argument ‘2’ to ‘void X509V3_set_conf_lhash(X509V3_CTX_, lhash_st_CONF_VALUE_)’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:554: error: cannot convert ‘int_’ to ‘lhash_st_CONF_VALUE_’ for argument ‘1’ to ‘int X509V3_EXT_add_conf(lhash_st_CONF_VALUE_, X509V3_CTX_, char_, X509_)’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘bool HPHP::php_openssl_parse_config(HPHP::php_x509_request_, const HPHP::Array&, std::vector<HPHP::String, std::allocatorHPHP::String >&)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:568: error: ‘class HPHP::php_x509_request’ has no member named ‘global_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:569: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:570: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:575: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:589: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:595: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:601: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:607: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:617: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:620: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:631: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:644: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:649: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:658: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘void HPHP::php_openssl_dispose_config(HPHP::php_x509_request_)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:666: error: ‘class HPHP::php_x509_request’ has no member named ‘global_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:667: error: ‘class HPHP::php_x509_request’ has no member named ‘global_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:668: error: ‘class HPHP::php_x509_request’ has no member named ‘global_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:670: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:671: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:672: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘bool HPHP::php_openssl_make_REQ(HPHP::php_x509_request_, X509_REQ_, const HPHP::Array&, const HPHP::Array&)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:804: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:808: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:811: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:815: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘HPHP::Variant HPHP::f_openssl_csr_new(const HPHP::Array&, HPHP::Variant, const HPHP::Variant&, const HPHP::Variant&)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:995: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:999: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘HPHP::Variant HPHP::f_openssl_csr_sign(const HPHP::Variant&, const HPHP::Variant&, const HPHP::Variant&, int, const HPHP::Variant&, int)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:1111: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:1112: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
make[2]: *_* [src/CMakeFiles/hphp_runtime_static.dir/cpp/ext/ext_openssl.cpp.o] Error 1

Any tips? Running the following:

cmake version 2.6-patch 4
gcc (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)
flex 2.5.35
bison (GNU Bison) 2.4.1
re2c 0.13.5
Boost 1.41
OpenSSL 1.0.0-fips-beta5 20 Jan 2010
tbb 2.2-1.20090809.fc13.x86_64
curl 7.20.0 (x86_64-unknown-linux-gnu) libcurl/7.20.0 NSS/3.12.5.0 zlib/1.2.3 c-ares/1.7.0 libidn/1.16 libssh2/1.2.2
oniguruma-devel-5.9.2-1.fc12.x86_64
libmcrypt-devel-2.5.8-9.fc12.x86_64
libicu-devel-4.2.1-7.fc12.x86_64
libevent-1.4.13-1

Unbale to find libevent when running hphp

I am running Ubuntu 9.10 and ran the instructions here on building. Note libevent was built. But I get the following error when compiling the hello world sample:

src# ./hphp/hphp --keep-tempdir=1 --log=3 ./hphp/test.php
running hphp...
creating temporary directory /tmp/hphp_BbFAHW ...
parsing inputs...
parsing ./hphp/test.php...
parsing inputs took 0'00" (1 ms) wall time
pre-optimizing...
pre-optimizing took 0'00" (0 ms) wall time
inferring types...
inferring types took 0'00" (0 ms) wall time
post-optimizing...
post-optimizing took 0'00" (0 ms) wall time
creating CPP files...
creating CPP files took 0'00" (27 ms) wall time
compiling and linking CPP files...
CMake Error at /root/hiphop/hiphop-php/CMake/FindLibEvent.cmake:29 (message):\n Could NOT find libevent.\nCall Stack (most recent call first):\n /root/hiphop/hiphop-php/CMake/HPHPFindLibs.cmake:38 (find_package)\n /root/hiphop/hiphop-php/CMake/HPHPSetup.cmake:2 (include)\n CMakeLists.txt:31 (include)\n\n\nmake: *** No targets specified and no makefile found. Stop.\n
compiling and linking CPP files took 0'00" (691 ms) wall time
running executable /tmp/hphp_BbFAHW/program --file ./hphp/test.php...
sh: /tmp/hphp_BbFAHW/program: not found
command failed: "/tmp/hphp_BbFAHW/program --file ./hphp/test.php"
all files saved in /tmp/hphp_BbFAHW ...
running hphp took 0'00" (879 ms) wall time

Note, libevent is in the directory above where I specified the bin was (right off the root folder)

After doing make nothing does change

Here's output of # make all install
[ 1%] Built target afdt
[ 2%] Built target timelib
[ 3%] Built target sqlite3
[ 5%] Built target xhp
[ 70%] Built target hphp_runtime_static
[ 85%] Built target hphp_analysis
[ 85%] Built target hphp
[100%] Built target test
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/lib/libxhp.a
-- Up-to-date: /usr/local/lib/libafdt.a
-- Up-to-date: /usr/local/include/afdt.h

i found hphp nowhere then

Compile error

[ 22%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/shared/shared_map.cpp.o
[ 22%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/shared/shared_string.cpp.o
[ 23%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/shared/shared_store.cpp.o
/usr/include/boost/interprocess/containers/container/map.hpp: In member function ‘T& boost::container::map<Key, T, Pred, Alloc>::operator[](boost::interprocess::rv<typename boost::container::containers_detail::rbtree<Key, std::pair<const _Key, _Tp>, boost::container::containers_detail::select1st<std::pair<const _Key, _Tp> >, Pred, Alloc>::key_type>&) [with Key = boost::container::basic_string<char, std::char_traits, std::allocator >, T = HPHP::StoreValue, Pred = std::less<boost::container::basic_string<char, std::char_traits, std::allocator > >, Alloc = HPHP::SharedMemoryAllocator<std::pair<boost::container::basic_string<char, std::char_traits, std::allocator >, HPHP::StoreValue> >]’:
/root/hiphop-php/src/cpp/base/shared/shared_store.cpp:106: instantiated from here
/usr/include/boost/interprocess/containers/container/map.hpp:363: error: invalid initialization of non-const reference of type ‘HPHP::StoreValue&’ from a temporary of type ‘HPHP::StoreValue’
/usr/include/boost/interprocess/detail/move.hpp:135: error: in passing argument 1 of ‘typename boost::disable_ifboost::interprocess::is_movable<T, T&>::type boost::interprocess::move(T&) [with T = HPHP::StoreValue]’
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/cpp/base/shared/shared_store.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

hphp not installed after compile Ubuntu 9.10

I followed the instructions for the Ubuntu 9.10 build and hphp remained in the src directory. I assumed by the next steps in the wiki concerning running, it would be copied somewhere.

__call second argument error

test();
?>

The issue can be avoided by using:

__call($name, array $args = null)

or:

__call($name, $args)

However, PHP documentation states the second parameter is an array, so this will probably break a few applications.

Compile errors

I am able to successfully configure the project (cmake . works fine, it says success), I have the patched libraries installed, however, I get compile errors whenever I try to make the project.

I get to about 12% of the entire build it and it dies. Here is the entire build trace: http://qst.me/7b0

And the output from cmake: http://qst.me/87c

Any help would be appreciated. Thanks!

Duplicate classes leads to compile errors

If you have duplicate classes, hphp numbers them in the .h files with suffixes like "$$1" and "$$2". However it seems (at least on my build environment - which is latest Kubuntu) that the include commands treat "$$" as "$" and can't find the files.

hphp crash with define statement

When defining a constant with a name computed from other constants, hphp crashes during the "inferring types" phase.

This is a minimal PHP file to reproduce the issue:

<?php
define('A', 'B');
define('A_'.A, 'B');
?>

The error:

hphp: /usr/include/boost/shared_ptr.hpp:419: T* boost::shared_ptr<  >::operator->() const [with T = HPHP::BlockScope]: Assertion `px != 0' failed.

And the stack trace:

#0  0x00007ffff3ef14b5 in raise () from /lib/libc.so.6
#1  0x00007ffff3ef4f50 in abort () from /lib/libc.so.6
#2  0x00007ffff3eea481 in __assert_fail () from /lib/libc.so.6
#3  0x000000000084007b in boost::shared_ptr::operator->() const ()
#4  0x000000000085fd11 in HPHP::SimpleFunctionCall::inferAndCheck(boost::shared_ptr, boost::shared_ptr, bool) ()
#5  0x0000000000982bf1 in HPHP::ExpStatement::inferTypes(boost::shared_ptr) ()
#6  0x000000000097fb77 in HPHP::StatementList::inferTypes(boost::shared_ptr) ()
#7  0x000000000096a6b6 in HPHP::MethodStatement::inferTypes(boost::shared_ptr) ()
#8  0x000000000098fefb in HPHP::FunctionStatement::inferTypes(boost::shared_ptr) ()
#9  0x00000000009114be in HPHP::FileScope::inferTypes(boost::shared_ptr) ()
#10 0x00000000008733ca in HPHP::AnalysisResult::inferTypes(int) ()
#11 0x000000000080fd2a in cppTarget(ProgramOptions const&, boost::shared_ptr, bool) ()
#12 0x0000000000810479 in runTargetCheck(ProgramOptions const&, boost::shared_ptr) ()
#13 0x000000000080e792 in process(ProgramOptions const&) ()
#14 0x000000000080bb09 in main ()

Build error on Fedora 12

[ 22%] Building C object src/CMakeFiles/hphp_runtime_static.dir/util/neo/neo_misc.c.o
[ 23%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/type_string.cpp.o
[ 23%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/server/http_request_handler.cpp.o
In file included from /home/hiphop/hiphop-php/src/cpp/base/server/server_stats.h:22,
from /home/hiphop/hiphop-php/src/cpp/base/server/http_request_handler.cpp:24:
/home/hiphop/hiphop-php/src/cpp/base/shared/shared_string.h:42: error: wrong number of template arguments (2, should be 4)
/usr/include/tbb/concurrent_hash_map.h:48: error: provided for ‘template<class Key, class T, class HashCompare, class A> class tbb::concurrent_hash_map’
/home/hiphop/hiphop-php/src/cpp/base/shared/shared_string.h:43: error: ‘InternMap’ is not a class or namespace
/home/hiphop/hiphop-php/src/cpp/base/shared/shared_string.h:43: error: expected ‘,’ or ‘...’ before ‘&’ token
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/cpp/base/server/http_request_handler.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

I'm using the tbb packages provided by Fedora:

tbb-devel-2.1-3.20080605.fc12.x86_64
tbb-2.1-3.20080605.fc12.x86_64

new self()

FirePHP uses "new self()" to instantiate itself from a static call. However, HPHP fails on this.

Got Segmentation fault When compiling bit larger projects

OS: Centos 5.4 64bit
compiled "hello world" successfully.

[[email protected] phpunit]# /home/webgis/exp/hiphop-php/src/hphp/hphp --log=3 -k 1 -i /home/webgis/exp/hiphop-php/src/test.php
running hphp...
creating temporary directory /tmp/hphp_iwGlgq ...
parsing inputs...
parsing /home/webgis/exp/hiphop-php/src/test.php...
parsing inputs took 0'00" (1 ms) wall time
pre-optimizing...
pre-optimizing took 0'00" (0 ms) wall time
inferring types...
inferring types took 0'00" (0 ms) wall time
post-optimizing...
post-optimizing took 0'00" (0 ms) wall time
creating CPP files...
creating CPP files took 0'00" (43 ms) wall time
compiling and linking CPP files...

compiling and linking CPP files took 0'48" (48084 ms) wall time
running executable /tmp/hphp_iwGlgq/program --file /home/webgis/exp/hiphop-php/src/test.php...
Hello world
all files saved in /tmp/hphp_iwGlgq ...
running hphp took 0'48" (48361 ms) wall time

when compiline phpunit, got msgs as following:

[[email protected] phpunit]# $HPHP_HOME/src/hphp/hphp --input-list=files.list -k 1 --log=3 --include-path="./" --include-path="/usr/local/lib/php" --force=1 --cluster-count=50 -v "AllDynamic=true" -v "AllVolatile=true"
running hphp...
creating temporary directory /tmp/hphp_uGExi0 ...
parsing inputs...
parsing ./PHPUnit/Runner/IncludePathTestCollector.php...
parsing ./PHPUnit/Runner/Version.php...
parsing ./PHPUnit/Runner/BaseTestRunner.php...
parsing ./PHPUnit/Runner/TestSuiteLoader.php...
parsing ./PHPUnit/Runner/StandardTestSuiteLoader.php...
parsing ./PHPUnit/Runner/TestCollector.php...
parsing ./PHPUnit/TextUI/TestRunner.php...
parsing ./PHPUnit/TextUI/ResultPrinter.php...
parsing ./PHPUnit/TextUI/Command.php...
parsing ./PHPUnit/Framework.php...
parsing ./PHPUnit/Extensions/RepeatedTest.php...
parsing ./PHPUnit/Extensions/Story/Step.php...
parsing ./PHPUnit/Extensions/Story/ResultPrinter/HTML.php...
parsing ./PHPUnit/Extensions/Story/ResultPrinter/Text.php...
parsing ./PHPUnit/Extensions/Story/Scenario.php...
parsing ./PHPUnit/Extensions/Story/ResultPrinter.php...
parsing ./PHPUnit/Extensions/Story/Given.php...
parsing ./PHPUnit/Extensions/Story/When.php...
parsing ./PHPUnit/Extensions/Story/Then.php...
parsing ./PHPUnit/Extensions/Story/TestCase.php...
parsing ./PHPUnit/Extensions/Story/SeleniumTestCase.php...
parsing ./PHPUnit/Extensions/OutputTestCase.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase/prepend.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase/append.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase/phpunit_coverage.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase/Driver.php...
parsing ./PHPUnit/Extensions/GroupTestSuite.php...
parsing ./PHPUnit/Extensions/PhptTestCase/Logger.php...
parsing ./PHPUnit/Extensions/TicketListener.php...
parsing ./PHPUnit/Extensions/PhptTestCase.php...
parsing ./PHPUnit/Extensions/PerformanceTestCase.php...
parsing ./PHPUnit/Extensions/PhptTestSuite.php...
parsing ./PHPUnit/Extensions/TestDecorator.php...
parsing ./PHPUnit/Extensions/TicketListener/Trac.php...
parsing ./PHPUnit/Extensions/Database/AbstractTester.php...
parsing ./PHPUnit/Extensions/Database/Constraint/TableIsEqual.php...
parsing ./PHPUnit/Extensions/Database/Constraint/DataSetIsEqual.php...
parsing ./PHPUnit/Extensions/Database/IDatabaseListConsumer.php...
parsing ./PHPUnit/Extensions/Database/DefaultTester.php...
parsing ./PHPUnit/Extensions/Database/ITester.php...
parsing ./PHPUnit/Extensions/Database/DB/DefaultDatabaseConnection.php...
parsing ./PHPUnit/Extensions/Database/DB/TableIterator.php...
parsing ./PHPUnit/Extensions/Database/DB/FilteredDataSet.php...
parsing ./PHPUnit/Extensions/Database/DB/Table.php...
parsing ./PHPUnit/Extensions/Database/DB/TableMetaData.php...
parsing ./PHPUnit/Extensions/Database/DB/DataSet.php...
parsing ./PHPUnit/Extensions/Database/DB/IDatabaseConnection.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/InformationSchema.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/MySQL.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/Sqlite.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/Oci.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/PgSQL.php...
parsing ./PHPUnit/Extensions/Database/DB/IMetaData.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData.php...
parsing ./PHPUnit/Extensions/Database/DB/ResultSetTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ReplacementTableIterator.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ITable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/XmlDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DefaultTableIterator.php...
parsing ./PHPUnit/Extensions/Database/DataSet/TableMetaDataFilter.php...
parsing ./PHPUnit/Extensions/Database/DataSet/AbstractXmlDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/AbstractTableMetaData.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ISpec.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DataSetFilter.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/FlatXml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/Xml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/Yaml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/Factory.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/Abstract.php...
parsing ./PHPUnit/Extensions/Database/DataSet/YamlDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DefaultDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/QueryDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/FlatXml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/IFactory.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/Xml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/Yaml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/Factory.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/Csv.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/DbTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/DbQuery.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ITableMetaData.php...
parsing ./PHPUnit/Extensions/Database/DataSet/QueryTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/TableFilter.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ITableIterator.php...
parsing ./PHPUnit/Extensions/Database/DataSet/CompositeDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/AbstractDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ReplacementDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ReplacementTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DefaultTableMetaData.php...
parsing ./PHPUnit/Extensions/Database/DataSet/AbstractTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/CsvDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/IPersistable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/IDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/FlatXmlDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DefaultTable.php...
parsing ./PHPUnit/Extensions/Database/UI/IMedium.php...
parsing ./PHPUnit/Extensions/Database/UI/Modes/ExportDataSet.php...
parsing ./PHPUnit/Extensions/Database/UI/Modes/ExportDataSet/Arguments.php...
parsing ./PHPUnit/Extensions/Database/UI/Mediums/Text.php...
parsing ./PHPUnit/Extensions/Database/UI/IModeFactory.php...
parsing ./PHPUnit/Extensions/Database/UI/ModeFactory.php...
parsing ./PHPUnit/Extensions/Database/UI/IMode.php...
parsing ./PHPUnit/Extensions/Database/UI/InvalidModeException.php...
parsing ./PHPUnit/Extensions/Database/UI/Context.php...
parsing ./PHPUnit/Extensions/Database/UI/Command.php...
parsing ./PHPUnit/Extensions/Database/UI/IMediumPrinter.php...
parsing ./PHPUnit/Extensions/Database/Operation/Truncate.php...
parsing ./PHPUnit/Extensions/Database/Operation/Delete.php...
parsing ./PHPUnit/Extensions/Database/Operation/RowBased.php...
parsing ./PHPUnit/Extensions/Database/Operation/Update.php...
parsing ./PHPUnit/Extensions/Database/Operation/Insert.php...
parsing ./PHPUnit/Extensions/Database/Operation/Composite.php...
parsing ./PHPUnit/Extensions/Database/Operation/Replace.php...
parsing ./PHPUnit/Extensions/Database/Operation/DeleteAll.php...
parsing ./PHPUnit/Extensions/Database/Operation/IDatabaseOperation.php...
parsing ./PHPUnit/Extensions/Database/Operation/Factory.php...
parsing ./PHPUnit/Extensions/Database/Operation/Exception.php...
parsing ./PHPUnit/Extensions/Database/Operation/Null.php...
parsing ./PHPUnit/Extensions/Database/TestCase.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase.php...
parsing ./PHPUnit/Samples/BankAccount/BankAccountTest.php...
parsing ./PHPUnit/Samples/BankAccount/BankAccount.php...
parsing ./PHPUnit/Samples/BankAccountDB/BankAccountDBTestMySQL.php...
parsing ./PHPUnit/Samples/BankAccountDB/BankAccountDBTest.php...
parsing ./PHPUnit/Samples/BankAccountDB/BankAccountCompositeTest.php...
parsing ./PHPUnit/Samples/BankAccountDB/BankAccount.php...
parsing ./PHPUnit/Samples/Money/MoneyTest.php...
parsing ./PHPUnit/Samples/Money/IMoney.php...
parsing ./PHPUnit/Samples/Money/MoneyBag.php...
parsing ./PHPUnit/Samples/Money/Money.php...
parsing ./PHPUnit/Samples/BowlingGame/BowlingGameTest.php...
parsing ./PHPUnit/Samples/BowlingGame/BowlingGame.php...
parsing ./PHPUnit/Samples/BowlingGame/BowlingGameSpec.php...
parsing ./PHPUnit/Util/Getopt.php...
parsing ./PHPUnit/Util/ErrorHandler.php...
parsing ./PHPUnit/Util/XML.php...
parsing ./PHPUnit/Util/InvalidArgumentHelper.php...
parsing ./PHPUnit/Util/Metrics/Function.php...
parsing ./PHPUnit/Util/Metrics/File.php...
parsing ./PHPUnit/Util/Metrics/Class.php...
parsing ./PHPUnit/Util/Metrics/Project.php...
parsing ./PHPUnit/Util/Printer.php...
parsing ./PHPUnit/Util/TestSuiteIterator.php...
parsing ./PHPUnit/Util/PHP.php...
parsing ./PHPUnit/Util/Configuration.php...
parsing ./PHPUnit/Util/Filter.php...
parsing ./PHPUnit/Util/Diff.php...
parsing ./PHPUnit/Util/GlobalState.php...
parsing ./PHPUnit/Util/Skeleton.php...
parsing ./PHPUnit/Util/Fileloader.php...
parsing ./PHPUnit/Util/Template.php...
parsing ./PHPUnit/Util/FilterIterator.php...
parsing ./PHPUnit/Util/Metrics.php...
parsing ./PHPUnit/Util/Report.php...
parsing ./PHPUnit/Util/Report/Node.php...
parsing ./PHPUnit/Util/Report/Node/File.php...
parsing ./PHPUnit/Util/Report/Node/Directory.php...
parsing ./PHPUnit/Util/File.php...
parsing ./PHPUnit/Util/CodeCoverage.php...
parsing ./PHPUnit/Util/PDO.php...
parsing ./PHPUnit/Util/TestDox/ResultPrinter/HTML.php...
parsing ./PHPUnit/Util/TestDox/ResultPrinter/Text.php...
parsing ./PHPUnit/Util/TestDox/ResultPrinter.php...
parsing ./PHPUnit/Util/TestDox/NamePrettifier.php...
parsing ./PHPUnit/Util/Class.php...
parsing ./PHPUnit/Util/Log/TAP.php...
parsing ./PHPUnit/Util/Log/JSON.php...
parsing ./PHPUnit/Util/Log/PMD.php...
parsing ./PHPUnit/Util/Log/Database.php...
parsing ./PHPUnit/Util/Log/Metrics.php...
parsing ./PHPUnit/Util/Log/CodeCoverage/XML/Source.php...
parsing ./PHPUnit/Util/Log/CodeCoverage/XML/Clover.php...
parsing ./PHPUnit/Util/Log/CodeCoverage/Database.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/ExcessiveMethodLength.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/CRAP.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/ExcessiveParameterList.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/NPathComplexity.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/CodeCoverage.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/CyclomaticComplexity.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/File.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Project/CRAP.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/TooManyFields.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/EfferentCoupling.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/ExcessivePublicCount.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/ExcessiveClassLength.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/DepthOfInheritanceTree.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Project.php...
parsing ./PHPUnit/Util/Log/PMD/Rule.php...
parsing ./PHPUnit/Util/Log/JUnit.php...
parsing ./PHPUnit/Util/Log/PEAR.php...
parsing ./PHPUnit/Util/Log/CPD.php...
parsing ./PHPUnit/Util/Log/GraphViz.php...
parsing ./PHPUnit/Util/Type.php...
parsing ./PHPUnit/Util/Skeleton/Class.php...
parsing ./PHPUnit/Util/Skeleton/Test.php...
parsing ./PHPUnit/Util/Timer.php...
parsing ./PHPUnit/Util/Filesystem.php...
parsing ./PHPUnit/Util/Test.php...
parsing ./PHPUnit/Framework/IncompleteTest.php...
parsing ./PHPUnit/Framework/Assert.php...
parsing ./PHPUnit/Framework/ComparisonFailure.php...
parsing ./PHPUnit/Framework/TestFailure.php...
parsing ./PHPUnit/Framework/SkippedTest.php...
parsing ./PHPUnit/Framework/Error.php...
parsing ./PHPUnit/Framework/Constraint/IsInstanceOf.php...
parsing ./PHPUnit/Framework/Constraint/ClassHasAttribute.php...
parsing ./PHPUnit/Framework/Constraint/ObjectHasAttribute.php...
parsing ./PHPUnit/Framework/Constraint/IsFalse.php...
parsing ./PHPUnit/Framework/Constraint/StringEndsWith.php...
parsing ./PHPUnit/Framework/Constraint/StringContains.php...
parsing ./PHPUnit/Framework/Constraint/StringStartsWith.php...
parsing ./PHPUnit/Framework/Constraint/TraversableContains.php...
parsing ./PHPUnit/Framework/Constraint/Or.php...
parsing ./PHPUnit/Framework/Constraint/Not.php...
parsing ./PHPUnit/Framework/Constraint/Xor.php...
parsing ./PHPUnit/Framework/Constraint/IsType.php...
parsing ./PHPUnit/Framework/Constraint/LessThan.php...
parsing ./PHPUnit/Framework/Constraint/ClassHasStaticAttribute.php...
parsing ./PHPUnit/Framework/Constraint/TraversableContainsOnly.php...
parsing ./PHPUnit/Framework/Constraint/ArrayHasKey.php...
parsing ./PHPUnit/Framework/Constraint/IsIdentical.php...
parsing ./PHPUnit/Framework/Constraint/FileExists.php...
parsing ./PHPUnit/Framework/Constraint/IsAnything.php...
parsing ./PHPUnit/Framework/Constraint/IsTrue.php...
parsing ./PHPUnit/Framework/Constraint/PCREMatch.php...
parsing ./PHPUnit/Framework/Constraint/IsEqual.php...
parsing ./PHPUnit/Framework/Constraint/GreaterThan.php...
parsing ./PHPUnit/Framework/Constraint/IsNull.php...
parsing ./PHPUnit/Framework/Constraint/Attribute.php...
parsing ./PHPUnit/Framework/Constraint/And.php...
parsing ./PHPUnit/Framework/Error/Warning.php...
parsing ./PHPUnit/Framework/Error/Notice.php...
parsing ./PHPUnit/Framework/Warning.php...
parsing ./PHPUnit/Framework/TestListener.php...
parsing ./PHPUnit/Framework/ExpectationFailedException.php...
parsing ./PHPUnit/Framework/TestSuite.php...
parsing ./PHPUnit/Framework/SelfDescribing.php...
parsing ./PHPUnit/Framework/ComparisonFailure/Object.php...
parsing ./PHPUnit/Framework/ComparisonFailure/Array.php...
parsing ./PHPUnit/Framework/ComparisonFailure/Type.php...
parsing ./PHPUnit/Framework/ComparisonFailure/String.php...
parsing ./PHPUnit/Framework/ComparisonFailure/Scalar.php...
parsing ./PHPUnit/Framework/SkippedTestError.php...
parsing ./PHPUnit/Framework/SkippedTestSuiteError.php...
parsing ./PHPUnit/Framework/TestSuite/DataProvider.php...
parsing ./PHPUnit/Framework/Constraint.php...
parsing ./PHPUnit/Framework/TestResult.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/Parameters.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/AnyInvokedCount.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/InvokedAtLeastOnce.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/Invocation.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/InvokedAtIndex.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/InvokedRecorder.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/MethodName.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/AnyParameters.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/InvokedCount.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/StatelessInvocation.php...
parsing ./PHPUnit/Framework/MockObject/MockObject.php...
parsing ./PHPUnit/Framework/MockObject/Matcher.php...
parsing ./PHPUnit/Framework/MockObject/Verifiable.php...
parsing ./PHPUnit/Framework/MockObject/Stub/ReturnCallback.php...
parsing ./PHPUnit/Framework/MockObject/Stub/MatcherCollection.php...
parsing ./PHPUnit/Framework/MockObject/Stub/ConsecutiveCalls.php...
parsing ./PHPUnit/Framework/MockObject/Stub/Return.php...
parsing ./PHPUnit/Framework/MockObject/Stub/Exception.php...
parsing ./PHPUnit/Framework/MockObject/Stub/ReturnArgument.php...
parsing ./PHPUnit/Framework/MockObject/InvocationMocker.php...
parsing ./PHPUnit/Framework/MockObject/Invocation.php...
parsing ./PHPUnit/Framework/MockObject/Generator.php...
parsing ./PHPUnit/Framework/MockObject/Builder/Identity.php...
parsing ./PHPUnit/Framework/MockObject/Builder/InvocationMocker.php...
parsing ./PHPUnit/Framework/MockObject/Builder/Stub.php...
parsing ./PHPUnit/Framework/MockObject/Builder/Namespace.php...
parsing ./PHPUnit/Framework/MockObject/Builder/MethodNameMatch.php...
parsing ./PHPUnit/Framework/MockObject/Builder/Match.php...
parsing ./PHPUnit/Framework/MockObject/Builder/ParametersMatch.php...
parsing ./PHPUnit/Framework/MockObject/Stub.php...
parsing ./PHPUnit/Framework/MockObject/Invokable.php...
parsing ./PHPUnit/Framework/IncompleteTestError.php...
parsing ./PHPUnit/Framework/TestCase.php...
parsing ./PHPUnit/Framework/AssertionFailedError.php...
parsing ./PHPUnit/Framework/Exception.php...
parsing ./PHPUnit/Framework/Test.php...
parsing ./PHPUnit/Tests/Runner/AllTests.php...
parsing ./PHPUnit/Tests/Runner/BaseTestRunnerTest.php...
parsing ./PHPUnit/Tests/Regression/783/ChildSuite.php...
parsing ./PHPUnit/Tests/Regression/783/TwoTest.php...
parsing ./PHPUnit/Tests/Regression/783/OneTest.php...
parsing ./PHPUnit/Tests/Regression/783/ParentSuite.php...
parsing ./PHPUnit/Tests/Regression/684/Issue684Test.php...
parsing ./PHPUnit/Tests/Regression/578/Issue578Test.php...
parsing ./PHPUnit/Tests/Extensions/SeleniumTestCaseTest.php...
parsing ./PHPUnit/Tests/Extensions/OutputTestCaseTest.php...
parsing ./PHPUnit/Tests/Extensions/AllTests.php...
parsing ./PHPUnit/Tests/Extensions/RepeatedTestTest.php...
parsing ./PHPUnit/Tests/Extensions/PerformanceTestCaseTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/AllTests.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/ReplacementDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/AllTests.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/QueryDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/CsvDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/CompositeDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/XmlDataSetsTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/ReplacementTableTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/FilterTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/PersistorTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/QueryTableTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/YamlDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/_files/DatabaseTestUtility.php...
parsing ./PHPUnit/Tests/Extensions/Database/Operation/OperationsMySQLTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/Operation/RowBasedTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/Operation/AllTests.php...
parsing ./PHPUnit/Tests/Extensions/Database/Operation/OperationsTest.php...
parsing ./PHPUnit/Tests/AllTests.php...
parsing ./PHPUnit/Tests/Util/XMLTest.php...
parsing ./PHPUnit/Tests/Util/TestTest.php...
parsing ./PHPUnit/Tests/Util/ConfigurationTest.php...
parsing ./PHPUnit/Tests/Util/AllTests.php...
parsing ./PHPUnit/Tests/Util/TestDox/NamePrettifierTest.php...
parsing ./PHPUnit/Tests/Util/TestDox/AllTests.php...
parsing ./PHPUnit/Tests/Util/TimerTest.php...
parsing ./PHPUnit/Tests/_files/CoveredClass.php...
parsing ./PHPUnit/Tests/_files/ClassWithNonPublicAttributes.php...
parsing ./PHPUnit/Tests/_files/OutputTestCase.php...
parsing ./PHPUnit/Tests/_files/Error.php...
parsing ./PHPUnit/Tests/_files/AnInterface.php...
parsing ./PHPUnit/Tests/_files/Success.php...
parsing ./PHPUnit/Tests/_files/EmptyTestCaseTest.php...
parsing ./PHPUnit/Tests/_files/MockRunner.php...
parsing ./PHPUnit/Tests/_files/ConcreteTest.php...
parsing ./PHPUnit/Tests/_files/CoverageNotPrivateTest.php...
parsing ./PHPUnit/Tests/_files/ExceptionInSetUpTest.php...
parsing ./PHPUnit/Tests/_files/SampleClass.php...
parsing ./PHPUnit/Tests/_files/CoveredFunction.php...
parsing ./PHPUnit/Tests/_files/Calculator.php...
parsing ./PHPUnit/Tests/_files/MethodCallback.php...
parsing ./PHPUnit/Tests/_files/AbstractMockTestClass.php...
parsing ./PHPUnit/Tests/_files/ExceptionInTearDownTest.php...
parsing ./PHPUnit/Tests/_files/StackTest.php...
parsing ./PHPUnit/Tests/_files/OneTestCase.php...
parsing ./PHPUnit/Tests/_files/Failure.php...
parsing ./PHPUnit/Tests/_files/ExceptionInTest.php...
parsing ./PHPUnit/Tests/_files/CoverageClassTest.php...
parsing ./PHPUnit/Tests/_files/TestIterator.php...
parsing ./PHPUnit/Tests/_files/Struct.php...
parsing ./PHPUnit/Tests/_files/NoTestCaseClass.php...
parsing ./PHPUnit/Tests/_files/ExceptionInAssertPreConditionsTest.php...
parsing ./PHPUnit/Tests/_files/CoverageNotPublicTest.php...
parsing ./PHPUnit/Tests/_files/DependencyTestSuite.php...
parsing ./PHPUnit/Tests/_files/CoverageClassExtendedTest.php...
parsing ./PHPUnit/Tests/_files/NonStatic.php...
parsing ./PHPUnit/Tests/_files/NoTestCases.php...
parsing ./PHPUnit/Tests/_files/Singleton.php...
parsing ./PHPUnit/Tests/_files/FunctionCallback.php...
parsing ./PHPUnit/Tests/_files/OverrideTestCase.php...
parsing ./PHPUnit/Tests/_files/CoverageMethodTest.php...
parsing ./PHPUnit/Tests/_files/ThrowExceptionTestCase.php...
parsing ./PHPUnit/Tests/_files/WasRun.php...
parsing ./PHPUnit/Tests/_files/AbstractTest.php...
parsing ./PHPUnit/Tests/_files/SleepTest.php...
parsing ./PHPUnit/Tests/_files/ExceptionInAssertPostConditionsTest.php...
parsing ./PHPUnit/Tests/_files/DoubleTestCase.php...
parsing ./PHPUnit/Tests/_files/CoverageFunctionTest.php...
parsing ./PHPUnit/Tests/_files/NoArgTestCaseTest.php...
parsing ./PHPUnit/Tests/_files/NotPublicTestCase.php...
parsing ./PHPUnit/Tests/_files/ThrowNoExceptionTestCase.php...
parsing ./PHPUnit/Tests/_files/NotVoidTestCase.php...
parsing ./PHPUnit/Tests/_files/CoverageNotProtectedTest.php...
parsing ./PHPUnit/Tests/_files/MultiDependencyTest.php...
parsing ./PHPUnit/Tests/_files/CoveragePrivateTest.php...
parsing ./PHPUnit/Tests/_files/CoveragePublicTest.php...
parsing ./PHPUnit/Tests/_files/PartialMockTestClass.php...
parsing ./PHPUnit/Tests/_files/FailureTest.php...
parsing ./PHPUnit/Tests/_files/DependencyFailureTest.php...
parsing ./PHPUnit/Tests/_files/DependencySuccessTest.php...
parsing ./PHPUnit/Tests/_files/InheritedTestCase.php...
parsing ./PHPUnit/Tests/_files/CoverageProtectedTest.php...
parsing ./PHPUnit/Tests/_files/DataProviderTest.php...
parsing ./PHPUnit/Tests/Framework/ComparisonFailureTest.php...
parsing ./PHPUnit/Tests/Framework/TestFailureTest.php...
parsing ./PHPUnit/Tests/Framework/AssertTest.php...
parsing ./PHPUnit/Tests/Framework/AllTests.php...
parsing ./PHPUnit/Tests/Framework/TestCaseTest.php...
parsing ./PHPUnit/Tests/Framework/TestImplementorTest.php...
parsing ./PHPUnit/Tests/Framework/MockObjectTest.php...
parsing ./PHPUnit/Tests/Framework/TestListenerTest.php...
parsing ./PHPUnit/Tests/Framework/SuiteTest.php...
parsing ./PHPUnit/Tests/Framework/ConstraintTest.php...
parsing ./phpunit.php...
parsing ./dbunit.php...
parsing ./make_phar.php...
parsing /usr/local/lib/php/PEAR/RunTest.php...
Unable to stat file ./PHPUnit/Extensions/TicketListener/XML/RPC2/Client.php
Unable to stat file ./PHPUnit/Extensions/Database/DataSet/Persistors/SymfonyComponents/YAML/sfYaml.php
Unable to stat file ./PHPUnit/Extensions/Database/DataSet/SymfonyComponents/YAML/sfYaml.php
Unable to stat file ./PHPUnit/Util/Metrics/Image/GraphViz.php
Unable to stat file ./PHPUnit/Util/Log/SymfonyComponents/YAML/sfYamlDumper.php
Unable to stat file ./PHPUnit/Util/Log/Log.php
Unable to stat file ./PHPUnit/Util/Log/Image/GraphViz.php
parsing /usr/local/lib/php/PEAR.php...
parsing /usr/local/lib/php/PEAR/Config.php...
parsing /usr/local/lib/php/PEAR/Common.php...
parsing /usr/local/lib/php/PEAR/FixPHP5PEARWarnings.php...
parsing /usr/local/lib/php/PEAR/Registry.php...
parsing /usr/local/lib/php/PEAR/Installer/Role.php...
parsing /usr/local/lib/php/System.php...
Unable to stat file /usr/local/lib/php/PEAR/PEAR/FTP.php
Unable to stat file /usr/local/lib/php/PEAR/PEAR/REST/' . $version . '.php
parsing /usr/local/lib/php/PEAR/Frontend.php...
parsing /usr/local/lib/php/PEAR/PackageFile/v2/Validator.php...
parsing /usr/local/lib/php/PEAR/Downloader.php...
parsing /usr/local/lib/php/PEAR/PackageFile.php...
parsing /usr/local/lib/php/PEAR/DependencyDB.php...
parsing /usr/local/lib/php/PEAR/ChannelFile.php...
parsing /usr/local/lib/php/PEAR/PackageFile/v1.php...
parsing /usr/local/lib/php/PEAR/Installer/Role/Common.php...
parsing /usr/local/lib/php/PEAR/XMLParser.php...
parsing /usr/local/lib/php/Console/Getopt.php...
parsing /usr/local/lib/php/PEAR/Downloader/Package.php...
parsing /usr/local/lib/php/PEAR/Dependency2.php...
parsing /usr/local/lib/php/PEAR/PackageFile/v2.php...
parsing /usr/local/lib/php/Structures/Graph.php...
parsing /usr/local/lib/php/Structures/Graph/Node.php...
parsing /usr/local/lib/php/Structures/Graph/Manipulator/TopologicalSorter.php...
parsing /usr/local/lib/php/PEAR/Validate.php...
Unable to stat file /usr/local/lib/php/PEAR/PEAR/PackageFile/Parser/v' . $version[0] . '.php
Unable to stat file /usr/local/lib/php/PEAR/PEAR/PackageFile/v' . $version[0] . '.php
parsing /usr/local/lib/php/PEAR/ErrorStack.php...
parsing /usr/local/lib/php/Archive/Tar.php...
parsing /usr/local/lib/php/PEAR/PackageFile/Generator/v1.php...
parsing /usr/local/lib/php/OS/Guess.php...
parsing /usr/local/lib/php/PEAR/PackageFile/v2/rw.php...
parsing /usr/local/lib/php/PEAR/PackageFile/Generator/v2.php...
Unable to stat file /usr/local/lib/php/PEAR/PackageFile/PEAR/Task/' . $taskfile . '.php
parsing /usr/local/lib/php/Structures/Graph/Manipulator/AcyclicTest.php...
parsing /usr/local/lib/php/PEAR/Validator/PECL.php...
parsing /usr/local/lib/php/XML/Util.php...
parsing inputs took 0'01" (1202 ms) wall time
pre-optimizing...
pre-optimizing took 0'00" (583 ms) wall time
inferring types...
inferring types took 0'01" (1874 ms) wall time
post-optimizing...
post-optimizing took 0'00" (239 ms) wall time
creating CPP files...
Core dumped: Segmentation fault
段错误 (core dumped)

gdb output

[[email protected] phpunit]# gdb /home/webgis/exp/hiphop-php/src/hphp/hphp core.4910
GNU gdb Fedora (6.8-27.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib/libboost_program_options-gcc41-mt-1_38.so.1.38.0...done.
Loaded symbols for /usr/lib/libboost_program_options-gcc41-mt-1_38.so.1.38.0
Reading symbols from /usr/lib/libboost_filesystem-gcc41-mt-1_38.so.1.38.0...done.
Loaded symbols for /usr/lib/libboost_filesystem-gcc41-mt-1_38.so.1.38.0
Reading symbols from /usr/lib64/libmysqlclient.so.15...done.
Loaded symbols for /usr/lib64/libmysqlclient.so.15
Reading symbols from /lib64/libpcre.so.0...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /usr/local/lib/libicuuc.so.42...done.
Loaded symbols for /usr/local/lib/libicuuc.so.42
Reading symbols from /usr/local/lib/libicui18n.so.42...done.
Loaded symbols for /usr/local/lib/libicui18n.so.42
Reading symbols from /usr/local/lib/libcurl.so.4...done.
Loaded symbols for /usr/local/lib/libcurl.so.4
Reading symbols from /lib64/libcap.so.1...done.
Loaded symbols for /lib64/libcap.so.1
Reading symbols from /lib64/libpthread.so.0...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /usr/local/lib/libtbb.so.2...done.
Loaded symbols for /usr/local/lib/libtbb.so.2
Reading symbols from /lib64/libssl.so.6...done.
Loaded symbols for /lib64/libssl.so.6
Reading symbols from /lib64/libcrypto.so.6...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /usr/lib64/libz.so.1...done.
Loaded symbols for /usr/lib64/libz.so.1
Reading symbols from /usr/local/lib/libevent-1.4.so.2...done.
Loaded symbols for /usr/local/lib/libevent-1.4.so.2
Reading symbols from /usr/lib64/libxml2.so.2...done.
Loaded symbols for /usr/lib64/libxml2.so.2
Reading symbols from /lib64/libexpat.so.0...done.
Loaded symbols for /lib64/libexpat.so.0
Reading symbols from /usr/local/lib/libonig.so.2...done.
Loaded symbols for /usr/local/lib/libonig.so.2
Reading symbols from /usr/local/lib/libmcrypt.so.4...done.
Loaded symbols for /usr/local/lib/libmcrypt.so.4
Reading symbols from /usr/lib64/libgd.so.2...done.
Loaded symbols for /usr/lib64/libgd.so.2
Reading symbols from /usr/lib64/libstdc++.so.6...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libgcc_s.so.1...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/librt.so.1...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /usr/lib/libboost_system-gcc41-mt-1_38.so.1.38.0...done.
Loaded symbols for /usr/lib/libboost_system-gcc41-mt-1_38.so.1.38.0
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /usr/local/lib/libicudata.so.42...done.
Loaded symbols for /usr/local/lib/libicudata.so.42
Reading symbols from /usr/lib64/libidn.so.11...done.
Loaded symbols for /usr/lib64/libidn.so.11
Reading symbols from /usr/lib64/libldap-2.3.so.0...done.
Loaded symbols for /usr/lib64/libldap-2.3.so.0
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libk5crypto.so.3...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /usr/lib64/libXpm.so.4...done.
Loaded symbols for /usr/lib64/libXpm.so.4
Reading symbols from /usr/lib64/libX11.so.6...done.
Loaded symbols for /usr/lib64/libX11.so.6
Reading symbols from /usr/lib64/libjpeg.so.62...done.
Loaded symbols for /usr/lib64/libjpeg.so.62
Reading symbols from /usr/lib64/libfontconfig.so.1...done.
Loaded symbols for /usr/lib64/libfontconfig.so.1
Reading symbols from /usr/lib64/libfreetype.so.6...done.
Loaded symbols for /usr/lib64/libfreetype.so.6
Reading symbols from /usr/lib64/libpng12.so.0...done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/lib64/liblber-2.3.so.0...done.
Loaded symbols for /usr/lib64/liblber-2.3.so.0
Reading symbols from /usr/lib64/libsasl2.so.2...done.
Loaded symbols for /usr/lib64/libsasl2.so.2
Reading symbols from /usr/lib64/libkrb5support.so.0...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /usr/lib64/libXau.so.6...done.
Loaded symbols for /usr/lib64/libXau.so.6
Reading symbols from /usr/lib64/libXdmcp.so.6...done.
Loaded symbols for /usr/lib64/libXdmcp.so.6
Reading symbols from /lib64/libselinux.so.1...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libsepol.so.1...done.
Loaded symbols for /lib64/libsepol.so.1
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Core was generated by `/home/webgis/exp/hiphop-php/src/hphp/hphp --input-list=files.list -k 1 --log=3'.
Program terminated with signal 11, Segmentation fault.
[New process 4910]
#0 0x00000000006357e7 in HPHP::FileScope::outputCPPForwardDeclarations ()

(gdb) bt
#0 0x00000000006357e7 in HPHP::FileScope::outputCPPForwardDeclarations ()
#1 0x0000000000636394 in HPHP::FileScope::outputCPPForwardDeclHeader ()
#2 0x00000000005d4569 in HPHP::AnalysisResult::outputAllCPP ()
#3 0x0000000000533ab8 in cppTarget ()
#4 0x00000000005344f3 in runTargetCheck ()
#5 0x0000000000536294 in process ()
#6 0x0000000000539020 in main ()

(gdb)

stacktrace
[[email protected] phpunit]# head /tmp/stacktrace.4910.log
Host: localhost
ProcessID: 4910
ThreadID: 47213583500176
Name: /home/webgis/exp/hiphop-php/src/hphp/hphp
Type: Segmentation fault
#0 HPHP::bt_handler(int) at stack_trace.cpp:0
#1 __restore_rt at sigaction.c:0
#2 HPHP::FileScope::outputCPPForwardDeclarations(HPHP::CodeGenerator&, boost::shared_ptrHPHP::AnalysisResult) at /home/webgis/exp/hiphop-php/src/hphp/hphp:0
#3 HPHP::FileScope::outputCPPForwardDeclHeader(HPHP::CodeGenerator&, boost::shared_ptrHPHP::AnalysisResult) at /home/webgis/exp/hiphop-php/src/hphp/hphp:0

many thanks.

PHPUnit example not working

Compiling PHPUnit example not working.commit: df70a23

below lines are hphp log.

#$HPHP_HOME/src/hphp/hphp --input-list=files.list -k 1 --log=3   --include-path="." --force=1 --cluster-count=50   -v "AllDynamic=true" -v "AllVolatile=true"  2>&1 > build.log
running hphp...
creating temporary directory /tmp/hphp_66MqP3 ...
parsing inputs...
parsing ./make_phar.php...
parsing ./PHPUnit/Extensions/PerformanceTestCase.php...
parsing ./PHPUnit/Extensions/GroupTestSuite.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase.php...
parsing ./PHPUnit/Extensions/TicketListener/Trac.php...
parsing ./PHPUnit/Extensions/OutputTestCase.php...
parsing ./PHPUnit/Extensions/PhptTestCase.php...
parsing ./PHPUnit/Extensions/PhptTestCase/Logger.php...
parsing ./PHPUnit/Extensions/Story/ResultPrinter.php...
parsing ./PHPUnit/Extensions/Story/When.php...
parsing ./PHPUnit/Extensions/Story/Scenario.php...
parsing ./PHPUnit/Extensions/Story/SeleniumTestCase.php...
parsing ./PHPUnit/Extensions/Story/ResultPrinter/HTML.php...
parsing ./PHPUnit/Extensions/Story/ResultPrinter/Text.php...
parsing ./PHPUnit/Extensions/Story/Given.php...
parsing ./PHPUnit/Extensions/Story/Step.php...
parsing ./PHPUnit/Extensions/Story/TestCase.php...
parsing ./PHPUnit/Extensions/Story/Then.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase/Driver.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase/prepend.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase/phpunit_coverage.php...
parsing ./PHPUnit/Extensions/SeleniumTestCase/append.php...
parsing ./PHPUnit/Extensions/Database/Constraint/DataSetIsEqual.php...
parsing ./PHPUnit/Extensions/Database/Constraint/TableIsEqual.php...
parsing ./PHPUnit/Extensions/Database/Operation/Insert.php...
parsing ./PHPUnit/Extensions/Database/Operation/Exception.php...
parsing ./PHPUnit/Extensions/Database/Operation/Factory.php...
parsing ./PHPUnit/Extensions/Database/Operation/Update.php...
parsing ./PHPUnit/Extensions/Database/Operation/Replace.php...
parsing ./PHPUnit/Extensions/Database/Operation/RowBased.php...
parsing ./PHPUnit/Extensions/Database/Operation/Null.php...
parsing ./PHPUnit/Extensions/Database/Operation/Truncate.php...
parsing ./PHPUnit/Extensions/Database/Operation/DeleteAll.php...
parsing ./PHPUnit/Extensions/Database/Operation/IDatabaseOperation.php...
parsing ./PHPUnit/Extensions/Database/Operation/Delete.php...
parsing ./PHPUnit/Extensions/Database/Operation/Composite.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/Sqlite.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/Oci.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/InformationSchema.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/MySQL.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData/PgSQL.php...
parsing ./PHPUnit/Extensions/Database/DB/IDatabaseConnection.php...
parsing ./PHPUnit/Extensions/Database/DB/FilteredDataSet.php...
parsing ./PHPUnit/Extensions/Database/DB/DataSet.php...
parsing ./PHPUnit/Extensions/Database/DB/IMetaData.php...
parsing ./PHPUnit/Extensions/Database/DB/TableMetaData.php...
parsing ./PHPUnit/Extensions/Database/DB/ResultSetTable.php...
parsing ./PHPUnit/Extensions/Database/DB/Table.php...
parsing ./PHPUnit/Extensions/Database/DB/MetaData.php...
parsing ./PHPUnit/Extensions/Database/DB/TableIterator.php...
parsing ./PHPUnit/Extensions/Database/DB/DefaultDatabaseConnection.php...
parsing ./PHPUnit/Extensions/Database/UI/IMode.php...
parsing ./PHPUnit/Extensions/Database/UI/Command.php...
parsing ./PHPUnit/Extensions/Database/UI/Mediums/Text.php...
parsing ./PHPUnit/Extensions/Database/UI/Context.php...
parsing ./PHPUnit/Extensions/Database/UI/Modes/ExportDataSet/Arguments.php...
parsing ./PHPUnit/Extensions/Database/UI/Modes/ExportDataSet.php...
parsing ./PHPUnit/Extensions/Database/UI/ModeFactory.php...
parsing ./PHPUnit/Extensions/Database/UI/IMedium.php...
parsing ./PHPUnit/Extensions/Database/UI/IModeFactory.php...
parsing ./PHPUnit/Extensions/Database/UI/IMediumPrinter.php...
parsing ./PHPUnit/Extensions/Database/UI/InvalidModeException.php...
parsing ./PHPUnit/Extensions/Database/AbstractTester.php...
parsing ./PHPUnit/Extensions/Database/DefaultTester.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ITable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/AbstractTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/CsvDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/AbstractTableMetaData.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ITableMetaData.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ReplacementTableIterator.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DefaultTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/FlatXmlDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/AbstractXmlDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/FlatXml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/Factory.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/Xml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/Abstract.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Persistors/Yaml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/AbstractDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/CompositeDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DefaultTableIterator.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DefaultTableMetaData.php...
parsing ./PHPUnit/Extensions/Database/DataSet/XmlDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ReplacementTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/TableFilter.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DefaultDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/IPersistable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/TableMetaDataFilter.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ISpec.php...
parsing ./PHPUnit/Extensions/Database/DataSet/DataSetFilter.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/FlatXml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/Factory.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/Xml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/Yaml.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/DbTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/DbQuery.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/IFactory.php...
parsing ./PHPUnit/Extensions/Database/DataSet/Specs/Csv.php...
parsing ./PHPUnit/Extensions/Database/DataSet/QueryTable.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ITableIterator.php...
parsing ./PHPUnit/Extensions/Database/DataSet/ReplacementDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/QueryDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/YamlDataSet.php...
parsing ./PHPUnit/Extensions/Database/DataSet/IDataSet.php...
parsing ./PHPUnit/Extensions/Database/IDatabaseListConsumer.php...
parsing ./PHPUnit/Extensions/Database/ITester.php...
parsing ./PHPUnit/Extensions/Database/TestCase.php...
parsing ./PHPUnit/Extensions/TicketListener.php...
parsing ./PHPUnit/Extensions/TestDecorator.php...
parsing ./PHPUnit/Extensions/RepeatedTest.php...
parsing ./PHPUnit/Extensions/PhptTestSuite.php...
parsing ./PHPUnit/Runner/StandardTestSuiteLoader.php...
parsing ./PHPUnit/Runner/Version.php...
parsing ./PHPUnit/Runner/IncludePathTestCollector.php...
parsing ./PHPUnit/Runner/TestCollector.php...
parsing ./PHPUnit/Runner/BaseTestRunner.php...
parsing ./PHPUnit/Runner/TestSuiteLoader.php...
parsing ./PHPUnit/Framework.php...
parsing ./PHPUnit/Samples/Money/MoneyTest.php...
parsing ./PHPUnit/Samples/Money/IMoney.php...
parsing ./PHPUnit/Samples/Money/MoneyBag.php...
parsing ./PHPUnit/Samples/Money/Money.php...
parsing ./PHPUnit/Samples/BankAccount/BankAccount.php...
parsing ./PHPUnit/Samples/BankAccount/BankAccountTest.php...
parsing ./PHPUnit/Samples/BankAccountDB/BankAccountCompositeTest.php...
parsing ./PHPUnit/Samples/BankAccountDB/BankAccount.php...
parsing ./PHPUnit/Samples/BankAccountDB/BankAccountDBTest.php...
parsing ./PHPUnit/Samples/BankAccountDB/BankAccountDBTestMySQL.php...
parsing ./PHPUnit/Samples/BowlingGame/BowlingGame.php...
parsing ./PHPUnit/Samples/BowlingGame/BowlingGameSpec.php...
parsing ./PHPUnit/Samples/BowlingGame/BowlingGameTest.php...
parsing ./PHPUnit/TextUI/ResultPrinter.php...
parsing ./PHPUnit/TextUI/Command.php...
parsing ./PHPUnit/TextUI/TestRunner.php...
parsing ./PHPUnit/Util/ErrorHandler.php...
parsing ./PHPUnit/Util/Getopt.php...
parsing ./PHPUnit/Util/Filesystem.php...
parsing ./PHPUnit/Util/Diff.php...
parsing ./PHPUnit/Util/Type.php...
parsing ./PHPUnit/Util/Template.php...
parsing ./PHPUnit/Util/PHP.php...
parsing ./PHPUnit/Util/Test.php...
parsing ./PHPUnit/Util/Printer.php...
parsing ./PHPUnit/Util/Skeleton.php...
parsing ./PHPUnit/Util/TestSuiteIterator.php...
parsing ./PHPUnit/Util/PDO.php...
parsing ./PHPUnit/Util/Timer.php...
parsing ./PHPUnit/Util/Filter.php...
parsing ./PHPUnit/Util/FilterIterator.php...
parsing ./PHPUnit/Util/CodeCoverage.php...
parsing ./PHPUnit/Util/GlobalState.php...
parsing ./PHPUnit/Util/XML.php...
parsing ./PHPUnit/Util/Skeleton/Test.php...
parsing ./PHPUnit/Util/Skeleton/Class.php...
parsing ./PHPUnit/Util/Metrics.php...
parsing ./PHPUnit/Util/Metrics/Function.php...
parsing ./PHPUnit/Util/Metrics/File.php...
parsing ./PHPUnit/Util/Metrics/Project.php...
parsing ./PHPUnit/Util/Metrics/Class.php...
parsing ./PHPUnit/Util/File.php...
parsing ./PHPUnit/Util/Report.php...
parsing ./PHPUnit/Util/InvalidArgumentHelper.php...
parsing ./PHPUnit/Util/Class.php...
parsing ./PHPUnit/Util/Fileloader.php...
parsing ./PHPUnit/Util/Configuration.php...
parsing ./PHPUnit/Util/Log/PEAR.php...
parsing ./PHPUnit/Util/Log/GraphViz.php...
parsing ./PHPUnit/Util/Log/JSON.php...
parsing ./PHPUnit/Util/Log/CPD.php...
parsing ./PHPUnit/Util/Log/TAP.php...
parsing ./PHPUnit/Util/Log/CodeCoverage/XML/Clover.php...
parsing ./PHPUnit/Util/Log/CodeCoverage/XML/Source.php...
parsing ./PHPUnit/Util/Log/CodeCoverage/Database.php...
parsing ./PHPUnit/Util/Log/JUnit.php...
parsing ./PHPUnit/Util/Log/Metrics.php...
parsing ./PHPUnit/Util/Log/Database.php...
parsing ./PHPUnit/Util/Log/PMD/Rule.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/ExcessiveParameterList.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/CyclomaticComplexity.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/CodeCoverage.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/NPathComplexity.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/ExcessiveMethodLength.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function/CRAP.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Project/CRAP.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Function.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/File.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Project.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/TooManyFields.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/ExcessiveClassLength.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/DepthOfInheritanceTree.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/EfferentCoupling.php...
parsing ./PHPUnit/Util/Log/PMD/Rule/Class/ExcessivePublicCount.php...
parsing ./PHPUnit/Util/Log/PMD.php...
parsing ./PHPUnit/Util/Report/Node/Directory.php...
parsing ./PHPUnit/Util/Report/Node/File.php...
parsing ./PHPUnit/Util/Report/Node.php...
parsing ./PHPUnit/Util/TestDox/NamePrettifier.php...
parsing ./PHPUnit/Util/TestDox/ResultPrinter.php...
parsing ./PHPUnit/Util/TestDox/ResultPrinter/HTML.php...
parsing ./PHPUnit/Util/TestDox/ResultPrinter/Text.php...
parsing ./PHPUnit/Framework/Error/Warning.php...
parsing ./PHPUnit/Framework/Error/Notice.php...
parsing ./PHPUnit/Framework/Constraint/IsFalse.php...
parsing ./PHPUnit/Framework/Constraint/LessThan.php...
parsing ./PHPUnit/Framework/Constraint/Attribute.php...
parsing ./PHPUnit/Framework/Constraint/ArrayHasKey.php...
parsing ./PHPUnit/Framework/Constraint/TraversableContainsOnly.php...
parsing ./PHPUnit/Framework/Constraint/StringStartsWith.php...
parsing ./PHPUnit/Framework/Constraint/TraversableContains.php...
parsing ./PHPUnit/Framework/Constraint/And.php...
parsing ./PHPUnit/Framework/Constraint/IsIdentical.php...
parsing ./PHPUnit/Framework/Constraint/ClassHasStaticAttribute.php...
parsing ./PHPUnit/Framework/Constraint/Not.php...
parsing ./PHPUnit/Framework/Constraint/IsInstanceOf.php...
parsing ./PHPUnit/Framework/Constraint/GreaterThan.php...
parsing ./PHPUnit/Framework/Constraint/Or.php...
parsing ./PHPUnit/Framework/Constraint/IsTrue.php...
parsing ./PHPUnit/Framework/Constraint/StringEndsWith.php...
parsing ./PHPUnit/Framework/Constraint/ClassHasAttribute.php...
parsing ./PHPUnit/Framework/Constraint/PCREMatch.php...
parsing ./PHPUnit/Framework/Constraint/ObjectHasAttribute.php...
parsing ./PHPUnit/Framework/Constraint/IsEqual.php...
parsing ./PHPUnit/Framework/Constraint/Xor.php...
parsing ./PHPUnit/Framework/Constraint/IsAnything.php...
parsing ./PHPUnit/Framework/Constraint/IsType.php...
parsing ./PHPUnit/Framework/Constraint/StringContains.php...
parsing ./PHPUnit/Framework/Constraint/FileExists.php...
parsing ./PHPUnit/Framework/Constraint/IsNull.php...
parsing ./PHPUnit/Framework/SkippedTestSuiteError.php...
parsing ./PHPUnit/Framework/Exception.php...
parsing ./PHPUnit/Framework/TestSuite.php...
parsing ./PHPUnit/Framework/Assert.php...
parsing ./PHPUnit/Framework/TestListener.php...
parsing ./PHPUnit/Framework/SkippedTest.php...
parsing ./PHPUnit/Framework/Error.php...
parsing ./PHPUnit/Framework/ComparisonFailure.php...
parsing ./PHPUnit/Framework/IncompleteTest.php...
parsing ./PHPUnit/Framework/Test.php...
parsing ./PHPUnit/Framework/SkippedTestError.php...
parsing ./PHPUnit/Framework/TestFailure.php...
parsing ./PHPUnit/Framework/MockObject/Stub/Exception.php...
parsing ./PHPUnit/Framework/MockObject/Stub/Return.php...
parsing ./PHPUnit/Framework/MockObject/Stub/ReturnCallback.php...
parsing ./PHPUnit/Framework/MockObject/Stub/ConsecutiveCalls.php...
parsing ./PHPUnit/Framework/MockObject/Stub/MatcherCollection.php...
parsing ./PHPUnit/Framework/MockObject/Stub/ReturnArgument.php...
parsing ./PHPUnit/Framework/MockObject/Stub.php...
parsing ./PHPUnit/Framework/MockObject/InvocationMocker.php...
parsing ./PHPUnit/Framework/MockObject/Invocation.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/Parameters.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/AnyParameters.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/InvokedRecorder.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/StatelessInvocation.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/InvokedCount.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/Invocation.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/InvokedAtLeastOnce.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/AnyInvokedCount.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/InvokedAtIndex.php...
parsing ./PHPUnit/Framework/MockObject/Matcher/MethodName.php...
parsing ./PHPUnit/Framework/MockObject/Builder/ParametersMatch.php...
parsing ./PHPUnit/Framework/MockObject/Builder/Stub.php...
parsing ./PHPUnit/Framework/MockObject/Builder/InvocationMocker.php...
parsing ./PHPUnit/Framework/MockObject/Builder/Match.php...
parsing ./PHPUnit/Framework/MockObject/Builder/Identity.php...
parsing ./PHPUnit/Framework/MockObject/Builder/MethodNameMatch.php...
parsing ./PHPUnit/Framework/MockObject/Builder/Namespace.php...
parsing ./PHPUnit/Framework/MockObject/Invokable.php...
parsing ./PHPUnit/Framework/MockObject/Verifiable.php...
parsing ./PHPUnit/Framework/MockObject/Generator.php...
parsing ./PHPUnit/Framework/MockObject/Matcher.php...
parsing ./PHPUnit/Framework/MockObject/MockObject.php...
parsing ./PHPUnit/Framework/TestSuite/DataProvider.php...
parsing ./PHPUnit/Framework/IncompleteTestError.php...
parsing ./PHPUnit/Framework/Constraint.php...
parsing ./PHPUnit/Framework/TestResult.php...
parsing ./PHPUnit/Framework/SelfDescribing.php...
parsing ./PHPUnit/Framework/TestCase.php...
parsing ./PHPUnit/Framework/Warning.php...
parsing ./PHPUnit/Framework/ComparisonFailure/Scalar.php...
parsing ./PHPUnit/Framework/ComparisonFailure/Type.php...
parsing ./PHPUnit/Framework/ComparisonFailure/Array.php...
parsing ./PHPUnit/Framework/ComparisonFailure/String.php...
parsing ./PHPUnit/Framework/ComparisonFailure/Object.php...
parsing ./PHPUnit/Framework/AssertionFailedError.php...
parsing ./PHPUnit/Framework/ExpectationFailedException.php...
parsing ./PHPUnit/Tests/Extensions/PerformanceTestCaseTest.php...
parsing ./PHPUnit/Tests/Extensions/OutputTestCaseTest.php...
parsing ./PHPUnit/Tests/Extensions/AllTests.php...
parsing ./PHPUnit/Tests/Extensions/RepeatedTestTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/Operation/OperationsMySQLTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/Operation/AllTests.php...
parsing ./PHPUnit/Tests/Extensions/Database/Operation/RowBasedTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/Operation/OperationsTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/AllTests.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/CsvDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/QueryDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/QueryTableTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/ReplacementDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/AllTests.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/XmlDataSetsTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/CompositeDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/YamlDataSetTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/FilterTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/PersistorTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/DataSet/ReplacementTableTest.php...
parsing ./PHPUnit/Tests/Extensions/Database/_files/DatabaseTestUtility.php...
parsing ./PHPUnit/Tests/Extensions/SeleniumTestCaseTest.php...
parsing ./PHPUnit/Tests/AllTests.php...
parsing ./PHPUnit/Tests/Runner/AllTests.php...
parsing ./PHPUnit/Tests/Runner/BaseTestRunnerTest.php...
parsing ./PHPUnit/Tests/Regression/578/Issue578Test.php...
parsing ./PHPUnit/Tests/Regression/684/Issue684Test.php...
parsing ./PHPUnit/Tests/Regression/783/TwoTest.php...
parsing ./PHPUnit/Tests/Regression/783/ParentSuite.php...
parsing ./PHPUnit/Tests/Regression/783/ChildSuite.php...
parsing ./PHPUnit/Tests/Regression/783/OneTest.php...
parsing ./PHPUnit/Tests/Util/TimerTest.php...
parsing ./PHPUnit/Tests/Util/XMLTest.php...
parsing ./PHPUnit/Tests/Util/AllTests.php...
parsing ./PHPUnit/Tests/Util/ConfigurationTest.php...
parsing ./PHPUnit/Tests/Util/TestTest.php...
parsing ./PHPUnit/Tests/Util/TestDox/AllTests.php...
parsing ./PHPUnit/Tests/Util/TestDox/NamePrettifierTest.php...
parsing ./PHPUnit/Tests/Framework/AllTests.php...
parsing ./PHPUnit/Tests/Framework/SuiteTest.php...
parsing ./PHPUnit/Tests/Framework/TestImplementorTest.php...
parsing ./PHPUnit/Tests/Framework/AssertTest.php...
parsing ./PHPUnit/Tests/Framework/TestListenerTest.php...
parsing ./PHPUnit/Tests/Framework/ConstraintTest.php...
parsing ./PHPUnit/Tests/Framework/MockObjectTest.php...
parsing ./PHPUnit/Tests/Framework/TestCaseTest.php...
parsing ./PHPUnit/Tests/Framework/TestFailureTest.php...
parsing ./PHPUnit/Tests/Framework/ComparisonFailureTest.php...
parsing ./PHPUnit/Tests/_files/SleepTest.php...
parsing ./PHPUnit/Tests/_files/FailureTest.php...
parsing ./PHPUnit/Tests/_files/EmptyTestCaseTest.php...
parsing ./PHPUnit/Tests/_files/NoArgTestCaseTest.php...
parsing ./PHPUnit/Tests/_files/ExceptionInTest.php...
parsing ./PHPUnit/Tests/_files/ExceptionInTearDownTest.php...
parsing ./PHPUnit/Tests/_files/CoverageNotPublicTest.php...
parsing ./PHPUnit/Tests/_files/ExceptionInAssertPreConditionsTest.php...
parsing ./PHPUnit/Tests/_files/CoveredFunction.php...
parsing ./PHPUnit/Tests/_files/CoveredClass.php...
parsing ./PHPUnit/Tests/_files/NoTestCases.php...
parsing ./PHPUnit/Tests/_files/CoverageFunctionTest.php...
parsing ./PHPUnit/Tests/_files/ThrowNoExceptionTestCase.php...
parsing ./PHPUnit/Tests/_files/CoverageClassTest.php...
parsing ./PHPUnit/Tests/_files/FunctionCallback.php...
parsing ./PHPUnit/Tests/_files/InheritedTestCase.php...
parsing ./PHPUnit/Tests/_files/ConcreteTest.php...
parsing ./PHPUnit/Tests/_files/StackTest.php...
parsing ./PHPUnit/Tests/_files/CoverageNotProtectedTest.php...
parsing ./PHPUnit/Tests/_files/Error.php...
parsing ./PHPUnit/Tests/_files/Singleton.php...
parsing ./PHPUnit/Tests/_files/ClassWithNonPublicAttributes.php...
parsing ./PHPUnit/Tests/_files/CoverageNotPrivateTest.php...
parsing ./PHPUnit/Tests/_files/MethodCallback.php...
parsing ./PHPUnit/Tests/_files/PartialMockTestClass.php...
parsing ./PHPUnit/Tests/_files/MockRunner.php...
parsing ./PHPUnit/Tests/_files/Struct.php...
parsing ./PHPUnit/Tests/_files/OverrideTestCase.php...
parsing ./PHPUnit/Tests/_files/OutputTestCase.php...
parsing ./PHPUnit/Tests/_files/TestIterator.php...
parsing ./PHPUnit/Tests/_files/AbstractMockTestClass.php...
parsing ./PHPUnit/Tests/_files/AbstractTest.php...
parsing ./PHPUnit/Tests/_files/Success.php...
parsing ./PHPUnit/Tests/_files/CoverageMethodTest.php...
parsing ./PHPUnit/Tests/_files/DependencySuccessTest.php...
parsing ./PHPUnit/Tests/_files/CoverageProtectedTest.php...
parsing ./PHPUnit/Tests/_files/ThrowExceptionTestCase.php...
parsing ./PHPUnit/Tests/_files/Calculator.php...
parsing ./PHPUnit/Tests/_files/DependencyTestSuite.php...
parsing ./PHPUnit/Tests/_files/NotPublicTestCase.php...
parsing ./PHPUnit/Tests/_files/WasRun.php...
parsing ./PHPUnit/Tests/_files/NotVoidTestCase.php...
parsing ./PHPUnit/Tests/_files/ExceptionInAssertPostConditionsTest.php...
parsing ./PHPUnit/Tests/_files/MultiDependencyTest.php...
parsing ./PHPUnit/Tests/_files/DependencyFailureTest.php...
parsing ./PHPUnit/Tests/_files/DataProviderTest.php...
parsing ./PHPUnit/Tests/_files/DoubleTestCase.php...
parsing ./PHPUnit/Tests/_files/NonStatic.php...
parsing ./PHPUnit/Tests/_files/AnInterface.php...
parsing ./PHPUnit/Tests/_files/Failure.php...
parsing ./PHPUnit/Tests/_files/NoTestCaseClass.php...
parsing ./PHPUnit/Tests/_files/CoveragePublicTest.php...
parsing ./PHPUnit/Tests/_files/OneTestCase.php...
parsing ./PHPUnit/Tests/_files/CoveragePrivateTest.php...
parsing ./PHPUnit/Tests/_files/SampleClass.php...
parsing ./PHPUnit/Tests/_files/ExceptionInSetUpTest.php...
parsing ./PHPUnit/Tests/_files/CoverageClassExtendedTest.php...
parsing ./dbunit.php...
parsing ./phpunit.php...
Unable to stat file ./PHPUnit/Extensions/TicketListener/XML/RPC2/Client.php
Unable to stat file ./PHPUnit/Extensions/PEAR/RunTest.php
Unable to stat file ./PHPUnit/Extensions/Database/DataSet/Persistors/SymfonyComponents/YAML/sfYaml.php
Unable to stat file ./PHPUnit/Extensions/Database/DataSet/SymfonyComponents/YAML/sfYaml.php
Unable to stat file ./PHPUnit/Util/Metrics/Image/GraphViz.php
Unable to stat file ./PHPUnit/Util/Log/Log.php
Unable to stat file ./PHPUnit/Util/Log/Image/GraphViz.php
Unable to stat file ./PHPUnit/Util/Log/SymfonyComponents/YAML/sfYamlDumper.php
parsing inputs took 0'01" (1830 ms) wall time
pre-optimizing...
pre-optimizing took 0'00" (520 ms) wall time
inferring types...
inferring types took 0'02" (2190 ms) wall time
post-optimizing...
post-optimizing took 0'00" (220 ms) wall time
creating CPP files...
creating CPP files took 0'03" (3990 ms) wall time
saving code errors...
compiling and linking CPP files...
CMakeFiles/program.dir/sys/dynamic_table_func.no.cpp.o: In function `HPHP::FuncTableInitializer::FuncTableInitializer()':\ndynamic_table_func.no.cpp:(.text._ZN4HPHP20FuncTableInitializerC1Ev[HPHP::FuncTableInitializer::FuncTableInitializer()]+0x42): undefined reference to `HPHP::i_functioncallback(char const*, HPHP::Array const&, long long, bool)'\ndynamic_table_func.no.cpp:(.text._ZN4HPHP20FuncTableInitializerC1Ev[HPHP::FuncTableInitializer::FuncTableInitializer()]+0x50): undefined reference to `HPHP::i_global_function(char const*, HPHP::Array const&, long long, bool)'\nCMakeFiles/program.dir/sys/dynamic_table_constant.no.cpp.o: In function `HPHP::get_constant(HPHP::String const&)':\ndynamic_table_constant.no.cpp:(.text+0xa1): undefined reference to `HPHP::k_PHPUNIT_TESTSUITE_EXTENSION_SELENIUM_PORT'\ndynamic_table_constant.no.cpp:(.text+0xea): undefined reference to `HPHP::k_PHPUnit_MAIN_METHOD'\ndynamic_table_constant.no.cpp:(.text+0x133): undefined reference to `HPHP::k_XDEBUG_CC_UNUSED'\ndynamic_table_constant.no.cpp:(.text+0x1c1): undefined reference to `HPHP::k_T_NS_SEPARATOR'\ndynamic_table_constant.no.cpp:(.text+0x20a): undefined reference to `HPHP::k_PEAR_LOG_DEBUG'\ndynamic_table_constant.no.cpp:(.text+0x253): undefined reference to `HPHP::k_XDEBUG_CC_DEAD_CODE'\ndynamic_table_constant.no.cpp:(.text+0x298): undefined reference to `HPHP::k_PHPUNIT_TESTSUITE_EXTENSION_SELENIUM_HOST'\ndynamic_table_constant.no.cpp:(.text+0x2d6): undefined reference to `HPHP::k_PHPUNIT_TESTSUITE_EXTENSION_SELENIUM_BROWSER'\nCMakeFiles/program.dir/sys/dynamic_table_class.no.cpp.o: In function `HPHP::create_object(char const*, HPHP::Array const&, bool, HPHP::ObjectData*)':\ndynamic_table_class.no.cpp:(.text+0xb0): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xfa): undefined reference to `HPHP::co_phpunit_util_codecoverage(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x144): undefined reference to `HPHP::co_phpunit_util_errorhandler(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x18e): undefined reference to `HPHP::co_extensions_database_dataset_csvdatasettest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1d8): undefined reference to `HPHP::co_phpunit_extensions_database_operation_insert(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x21a): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_function_crap(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x264): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_persistors_yaml(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2ae): undefined reference to `HPHP::co_coveredclass(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x363): undefined reference to `HPHP::co_phpunit_framework_mockobject_stub_consecutivecalls(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3ad): undefined reference to `HPHP::co_phpunit_extensions_database_db_metadata_sqlite(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3f7): undefined reference to `HPHP::co_framework_constrainttest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x441): undefined reference to `HPHP::co_framework_testfailuretest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x483): undefined reference to `HPHP::co_phpunit_framework_mockobject_matcher_invokedcount(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4cd): undefined reference to `HPHP::co_exceptioninsetuptest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x517): undefined reference to `HPHP::co_phpunit_framework_skippedtesterror(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x561): undefined reference to `HPHP::co_phpunit_framework_testsuite_dataprovider(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x5ab): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_defaulttableiterator(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x5ed): undefined reference to `HPHP::co_phpunit_framework_constraint_or(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x637): undefined reference to `HPHP::co_phpunit_util_filesystem(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x681): undefined reference to `HPHP::co_phpunit_framework_expectationfailedexception(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x6cb): undefined reference to `HPHP::co_partialmocktestclass(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x715): undefined reference to `HPHP::co_dependencytestsuite(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x75f): undefined reference to `HPHP::co_testiterator(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x7a9): undefined reference to `HPHP::co_phpunit_framework_error(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x7f3): undefined reference to `HPHP::co_phpunit_util_metrics_project(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x83d): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_class_depthofinheritancetree(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x87f): undefined reference to `HPHP::co_money(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x8c9): undefined reference to `HPHP::co_phpunit_textui_testrunner(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x913): undefined reference to `HPHP::co_phpunit_framework_constraint_objecthasattribute(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x955): undefined reference to `HPHP::co_exceptioninassertpreconditionstest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x99f): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_specs_flatxml(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x9e9): undefined reference to `HPHP::co_phpunit_util_skeleton_test(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xa33): undefined reference to `HPHP::co_extensions_database_operation_operationstest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xa7d): undefined reference to `HPHP::co_phpunit_framework_comparisonfailure_scalar(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xac7): undefined reference to `HPHP::co_extensions_database_dataset_querydatasettest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xb11): undefined reference to `HPHP::co_phpunit_framework_mockobject_stub_returncallback(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xb5b): undefined reference to `HPHP::co_phpunit_util_log_pmd(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xb9d): undefined reference to `HPHP::co_phpunit_framework_constraint(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xbe7): undefined reference to `HPHP::co_phpunit_util_configuration(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xc31): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_compositedataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xc7b): undefined reference to `HPHP::co_runner_alltests(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xcc5): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_specs_dbquery(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xd0f): undefined reference to `HPHP::co_phpunit_framework_constraint_attribute(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xd59): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_datasetfilter(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xda3): undefined reference to `HPHP::co_phpunit_extensions_database_operation_delete(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xded): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_specs_csv(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xe37): undefined reference to `HPHP::co_phpunit_extensions_outputtestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xe81): undefined reference to `HPHP::co_notpublictestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xecb): undefined reference to `HPHP::co_phpunit_extensions_story_resultprinter_text(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xf0d): undefined reference to `HPHP::co_phpunit_util_log_pear(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xf57): undefined reference to `HPHP::co_extensions_database_operation_alltests(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xfa1): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_abstracttable(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0xfeb): undefined reference to `HPHP::co_moneybag(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1035): undefined reference to `HPHP::co_onetest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1077): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_project_crap(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x10c1): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_project(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x110b): undefined reference to `HPHP::co_phpunit_util_getopt(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1155): undefined reference to `HPHP::co_extensions_database_dataset_replacementdatasettest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1197): undefined reference to `HPHP::co_sampleclass(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x11e1): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_xmldataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x122b): undefined reference to `HPHP::co_phpunit_util_fileloader(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1275): undefined reference to `HPHP::co_phpunit_framework_constraint_stringendswith(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x12bf): undefined reference to `HPHP::co_phpunit_util_skeleton(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1309): undefined reference to `HPHP::co_framework_suitetest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1353): undefined reference to `HPHP::co_extensions_database_operation_rowbasedtest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1395): undefined reference to `HPHP::co_noargtestcasetest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x13df): undefined reference to `HPHP::co_multidependencytest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1421): undefined reference to `HPHP::co_phpunit_extensions_database_db_dataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x146b): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_function(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x14b5): undefined reference to `HPHP::co_runner_basetestrunnertest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x14ff): undefined reference to `HPHP::co_phpunit_framework_warning(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1549): undefined reference to `HPHP::co_phpunit_extensions_seleniumtestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1593): undefined reference to `HPHP::co_phpunit_util_log_graphviz(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x15dd): undefined reference to `HPHP::co_extensions_database_dataset_querytabletest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1627): undefined reference to `HPHP::co_framework_testcasetest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1671): undefined reference to `HPHP::co_phpunit_framework_constraint_xor(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x16bb): undefined reference to `HPHP::co_throwexceptiontestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x16fd): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_defaultdataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1747): undefined reference to `HPHP::co_phpunit_util_log_metrics(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1789): undefined reference to `HPHP::co_notestcases(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x17d3): undefined reference to `HPHP::co_phpunit_util_timer(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x181d): undefined reference to `HPHP::co_phpunit_extensions_story_testcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1867): undefined reference to `HPHP::co_phpunit_extensions_database_operation_rowbased(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x18b1): undefined reference to `HPHP::co_phpunit_util_testdox_resultprinter_html(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x18fb): undefined reference to `HPHP::co_phpunit_extensions_database_operation_null(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1945): undefined reference to `HPHP::co_sleeptest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x198f): undefined reference to `HPHP::co_phpunit_extensions_phpttestsuite(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x19d9): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_persistors_flatxml(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1a23): undefined reference to `HPHP::co_thrownoexceptiontestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1a6d): undefined reference to `HPHP::co_parentclasswithprivateattributes(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1aaf): undefined reference to `HPHP::co_phpunit_framework_mockobject_builder_invocationmocker(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1af9): undefined reference to `HPHP::co_phpunit_extensions_database_db_tablemetadata(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1b43): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_querydataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1b85): undefined reference to `HPHP::co_phpunit_extensions_database_ui_modes_exportdataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1bcf): undefined reference to `HPHP::co_phpunit_extensions_story_resultprinter_html(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1c19): undefined reference to `HPHP::co_phpunit_framework_testfailure(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1c63): undefined reference to `HPHP::co_abstracttest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1cad): undefined reference to `HPHP::co_notestcaseclass(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1cf7): undefined reference to `HPHP::co_phpunit_framework_mockobject_matcher_invokedrecorder(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1dac): undefined reference to `HPHP::co_phpunit_framework_constraint_traversablecontains(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1df6): undefined reference to `HPHP::co_phpunit_framework_mockobject_invocationmocker(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1e38): undefined reference to `HPHP::co_parentclasswithprotectedattributes(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1e82): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_abstractdataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1ecc): undefined reference to `HPHP::co_phpunit_framework_constraint_isnull(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1f16): undefined reference to `HPHP::co_phpunit_framework_assertionfailederror(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1f58): undefined reference to `HPHP::co_phpunit_extensions_database_operation_deleteall(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1fa2): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_class_excessiveclasslength(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x1fec): undefined reference to `HPHP::co_phpunit_framework_exception(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2036): undefined reference to `HPHP::co_phpunit_extensions_database_db_filtereddataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2080): undefined reference to `HPHP::co_extensions_database_operation_operationsmysqltest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x20ca): undefined reference to `HPHP::co_coveredparentclass(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2114): undefined reference to `HPHP::co_phpunit_util_xml(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2156): undefined reference to `HPHP::co_phpunit_extensions_database_operation_update(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2203): undefined reference to `HPHP::co_phpunit_runner_includepathtestcollector(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x224d): undefined reference to `HPHP::co_phpunit_framework_comparisonfailure_object(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2297): undefined reference to `HPHP::co_phpunit_framework_mockobject_matcher_invokedatleastonce(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x22d9): undefined reference to `HPHP::co_framework_comparisonfailuretest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2323): undefined reference to `HPHP::co_doubletestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x236d): undefined reference to `HPHP::co_phpunit_util_printer(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x23b7): undefined reference to `HPHP::co_phpunit_extensions_database_db_metadata(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2401): undefined reference to `HPHP::co_phpunit_framework_constraint_isidentical(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x244b): undefined reference to `HPHP::co_phpunit_extensions_database_db_metadata_oci(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2495): undefined reference to `HPHP::co_phpunit_util_diff(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x24df): undefined reference to `HPHP::co_util_configurationtest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2529): undefined reference to `HPHP::co_framework_asserttest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x256b): undefined reference to `HPHP::co_phpunit_framework_constraint_arrayhaskey(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x25b5): undefined reference to `HPHP::co_outputtestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x25ff): undefined reference to `HPHP::co_phpunit_util_log_codecoverage_database(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2649): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_replacementtable(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2693): undefined reference to `HPHP::co_phpunit_extensions_database_db_metadata_mysql(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x26dd): undefined reference to `HPHP::co_phpunit_framework_mockobject_matcher_methodname(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2727): undefined reference to `HPHP::co_phpunit_util_metrics(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2771): undefined reference to `HPHP::co_stacktest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x27bb): undefined reference to `HPHP::co_phpunit_util_report_node_file(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2805): undefined reference to `HPHP::co_inheritedtestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x284f): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_class_efferentcoupling(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2899): undefined reference to `HPHP::co_bankaccounttest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x28e3): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_class_toomanyfields(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x292d): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_replacementdataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2977): undefined reference to `HPHP::co_phpunit_extensions_ticketlistener_trac(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x29c1): undefined reference to `HPHP::co_extensions_database_dataset_compositedatasettest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2a0b): undefined reference to `HPHP::co_phpunit_util_type(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2a55): undefined reference to `HPHP::co_phpunit_util_report_node(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2a9f): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_specs_xml(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2ae9): undefined reference to `HPHP::co_phpunit_extensions_database_db_table(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2b33): undefined reference to `HPHP::co_util_timertest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2b7d): undefined reference to `HPHP::co_phpunit_extensions_ticketlistener(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2bc7): undefined reference to `HPHP::co_util_testtest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2c11): undefined reference to `HPHP::co_exceptioninassertpostconditionstest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2c53): undefined reference to `HPHP::co_phpunit_framework_testresult(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2c9d): undefined reference to `HPHP::co_phpunit_framework_constraint_istype(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2ce7): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_persistors_abstract(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2d31): undefined reference to `HPHP::co_extensions_database_alltests(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2d73): undefined reference to `HPHP::co_phpunit_framework_constraint_traversablecontainsonly(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2dbd): undefined reference to `HPHP::co_phpunit_extensions_story_given(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2e07): undefined reference to `HPHP::co_framework_testlistenertest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2e51): undefined reference to `HPHP::co_phpunit_framework_comparisonfailure(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2e9b): undefined reference to `HPHP::co_framework_mockobjecttest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2ee5): undefined reference to `HPHP::co_util_testdox_alltests(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2f27): undefined reference to `HPHP::co_phpunit_extensions_database_abstracttester(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2f71): undefined reference to `HPHP::co_phpunit_util_report(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2fbb): undefined reference to `HPHP::co_onetestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x2ffd): undefined reference to `HPHP::co_phpunit_extensions_database_db_tableiterator(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3047): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_specs_yaml(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3091): undefined reference to `HPHP::co_phpunit_extensions_database_operation_replace(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x30db): undefined reference to `HPHP::co_phpunit_util_testdox_resultprinter_text(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3125): undefined reference to `HPHP::co_bankaccountdbtestmysql(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x316f): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_class_excessivepubliccount(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x31b9): undefined reference to `HPHP::co_phpunit_extensions_story_resultprinter(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3203): undefined reference to `HPHP::co_phpunit_util_log_cpd(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x324d): undefined reference to `HPHP::co_phpunit_util_filteriterator(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x328f): undefined reference to `HPHP::co_phpunit_framework_comparisonfailure_array(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x32d9): undefined reference to `HPHP::co_exceptionintest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x331b): undefined reference to `HPHP::co_phpunit_extensions_phpttestcase(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3365): undefined reference to `HPHP::co_struct(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x33af): undefined reference to `HPHP::co_bowlinggamespec(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x33f9): undefined reference to `HPHP::co_phpunit_util_testdox_nameprettifier(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3443): undefined reference to `HPHP::co_nonstatic(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x348d): undefined reference to `HPHP::co_phpunit_runner_basetestrunner(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x34d7): undefined reference to `HPHP::co_phpunit_framework_mockobject_stub_returnargument(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3521): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_function_codecoverage(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x356b): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_file(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x35ad): undefined reference to `HPHP::co_phpunit_extensions_database_operation_composite(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x35f7): undefined reference to `HPHP::co_phpunit_framework_constraint_lessthan(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3641): undefined reference to `HPHP::co_phpunit_framework_mockobject_matcher_anyparameters(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3683): undefined reference to `HPHP::co_concretetest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x36cd): undefined reference to `HPHP::co_dependencyfailuretest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3717): undefined reference to `HPHP::co_alltests(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3761): undefined reference to `HPHP::co_phpunit_util_invalidargumenthelper(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x37ab): undefined reference to `HPHP::co_extensions_performancetestcasetest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x37f5): undefined reference to `HPHP::co_extensions_repeatedtesttest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x383f): undefined reference to `HPHP::co_phpunit_util_skeleton_class(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3889): undefined reference to `HPHP::co_bowlinggame(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x38d3): undefined reference to `HPHP::co_phpunit_extensions_database_ui_command(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x391d): undefined reference to `HPHP::co_phpunit_extensions_story_then(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3967): undefined reference to `HPHP::co_phpunit_framework_constraint_greaterthan(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x39b1): undefined reference to `HPHP::co_phpunit_textui_resultprinter(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x39fb): undefined reference to `HPHP::co_phpunit_framework_comparisonfailure_string(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3a45): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_defaulttable(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3a8f): undefined reference to `HPHP::co_phpunit_extensions_database_db_defaultdatabaseconnection(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3ad1): undefined reference to `HPHP::co_phpunit_runner_version(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3b1b): undefined reference to `HPHP::co_phpunit_framework_testsuite(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3b65): undefined reference to `HPHP::co_phpunit_extensions_story_scenario(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3baf): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_persistors_factory(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3bf9): undefined reference to `HPHP::co_parentsuite(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3c3b): undefined reference to `HPHP::co_phpunit_util_metrics_class(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3c7d): undefined reference to `HPHP::co_phpunit_extensions_database_db_metadata_informationschema(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3cc7): undefined reference to `HPHP::co_phpunit_framework_mockobject_invocation(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3d11): undefined reference to `HPHP::co_phpunit_framework_constraint_and(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3d5b): undefined reference to `HPHP::co_phpunit_util_log_codecoverage_xml_source(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3da5): undefined reference to `HPHP::co_phpunit_framework_constraint_stringcontains(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3def): undefined reference to `HPHP::co_util_xmltest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3e31): undefined reference to `HPHP::co_phpunit_util_globalstate(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3e73): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_persistors_xml(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3ebd): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_function_excessiveparameterlist(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3f07): undefined reference to `HPHP::co_extensions_alltests(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3f49): undefined reference to `HPHP::co_phpunit_framework_constraint_classhasattribute(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3f93): undefined reference to `HPHP::co_phpunit_extensions_database_ui_mediums_text(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x3fdd): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_specs_factory(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x401f): undefined reference to `HPHP::co_phpunit_extensions_seleniumtestcase_driver(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4069): undefined reference to `HPHP::co_phpunit_extensions_phpttestcase_logger(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x40b3): undefined reference to `HPHP::co_classwithnonpublicattributes(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x40f5): undefined reference to `HPHP::co_phpunit_framework_mockobject_matcher(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x413f): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_tablefilter(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4189): undefined reference to `HPHP::co_extensions_database_dataset_alltests(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x41d3): undefined reference to `HPHP::co_phpunit_framework_error_warning(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x421d): undefined reference to `HPHP::co_phpunit_framework_constraint_classhasstaticattribute(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4267): undefined reference to `HPHP::co_phpunit_framework_constraint_isinstanceof(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x42b1): undefined reference to `HPHP::co_phpunit_util_log_junit(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x42fb): undefined reference to `HPHP::co_phpunit_util_log_tap(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4345): undefined reference to `HPHP::co_phpunit_util_testdox_resultprinter(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x438f): undefined reference to `HPHP::co_phpunit_extensions_database_constraint_datasetisequal(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x43d9): undefined reference to `HPHP::co_phpunit_runner_standardtestsuiteloader(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4423): undefined reference to `HPHP::co_mockrunner(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x446d): undefined reference to `HPHP::co_dataprovidertest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x44b7): undefined reference to `HPHP::co_bowlinggametest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4501): undefined reference to `HPHP::co_phpunit_framework_mockobject_generator(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x454b): undefined reference to `HPHP::co_phpunit_framework_constraint_istrue(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4595): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_yamldataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x45df): undefined reference to `HPHP::co_phpunit_extensions_database_ui_modefactory(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4629): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_abstractxmldataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4673): undefined reference to `HPHP::co_error(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x46bd): undefined reference to `HPHP::co_util_testdox_nameprettifiertest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4707): undefined reference to `HPHP::co_phpunit_util_class(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4751): undefined reference to `HPHP::co_phpunit_extensions_database_db_metadata_pgsql(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x479b): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_defaulttablemetadata(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x47e5): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_tablemetadatafilter(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x482f): undefined reference to `HPHP::co_phpunit_framework_mockobject_stub_return(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4879): undefined reference to `HPHP::co_phpunit_framework_error_notice(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x48c3): undefined reference to `HPHP::co_phpunit_extensions_database_operation_exception(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x490d): undefined reference to `HPHP::co_phpunit_util_php(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4957): undefined reference to `HPHP::co_wasrun(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x49a1): undefined reference to `HPHP::co_phpunit_util_metrics_function(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x49eb): undefined reference to `HPHP::co_phpunit_framework_constraint_isfalse(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4a35): undefined reference to `HPHP::co_singleton(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4a7f): undefined reference to `HPHP::co_phpunit_framework_constraint_fileexists(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4ac9): undefined reference to `HPHP::co_phpunit_framework_skippedtestsuiteerror(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4b0b): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_replacementtableiterator(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4b55): undefined reference to `HPHP::co_util_alltests(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4b9f): undefined reference to `HPHP::co_phpunit_util_test(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4be9): undefined reference to `HPHP::co_extensions_database_dataset_xmldatasetstest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4c33): undefined reference to `HPHP::co_phpunit_util_log_json(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4c7d): undefined reference to `HPHP::co_framework_alltests(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4cc7): undefined reference to `HPHP::co_phpunit_extensions_repeatedtest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4d11): undefined reference to `HPHP::co_dbunittestutility(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4d5b): undefined reference to `HPHP::co_phpunit_util_file(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4da5): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_flatxmldataset(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4def): undefined reference to `HPHP::co_phpunit_framework_incompletetesterror(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4e39): undefined reference to `HPHP::co_calculator(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4e7b): undefined reference to `HPHP::co_phpunit_framework_comparisonfailure_type(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4ec5): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_function_npathcomplexity(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4f0f): undefined reference to `HPHP::co_extensions_seleniumtestcasetest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4f59): undefined reference to `HPHP::co_phpunit_framework_assert(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4fa3): undefined reference to `HPHP::co_phpunit_extensions_database_operation_truncate(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x4fed): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_querytable(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x5037): undefined reference to `HPHP::co_childsuite(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x5081): undefined reference to `HPHP::co_phpunit_util_metrics_file(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x50cb): undefined reference to `HPHP::co_phpunit_textui_command(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x5115): undefined reference to `HPHP::co_phpunit_util_log_pmd_rule_function_excessivemethodlength(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x515f): undefined reference to `HPHP::co_phpunit_extensions_database_dataset_specs_dbtable(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x51a9): undefined reference to `HPHP::co_phpunit_util_testsuiteiterator(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x51f3): undefined reference to `HPHP::co_phpunit_util_pdo(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x523d): undefined reference to `HPHP::co_bankaccountdbtest(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x5287): undefined reference to `HPHP::co_phpunit_util_filter(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x52d1): undefined reference to `HPHP::co_phpunit_extensions_database_ui_context(HPHP::Array const&, bool)'\ndynamic_table_class.no.cpp:(.text+0x531b

mysql not connecting

mysql_connect is failing for me silently. I supress it's output, but I turned on the option to view supressed errors and nothing was shown.

This problem is made worse by issue 33 -- I may have a real error in my config (not sure what though!) but mysql_error cannot be used to show errors either.

Missing sources in generated CMakeLists.txt

When generating from php that contains classes it appears that the resulting CMakeLists.txt file is missing a couple directories needed to compile. Compiling the source from gist demonstrates the issue:

http://gist.github.com/310277

I created a fix here, although I'm not sure if I need both directories or if there are others that may show up: aec0f56

/usr/bin/flex: unknown flag '-'.

When running make I get the following error

[ 3%] [FLEX][XHPScanner] Building scanner with flex /usr/bin/flex version 2.5.4
/usr/bin/flex: unknown flag '-'. For usage, try
/usr/bin/flex --help
make[2]: *** [src/third_party/xhp/xhp/scanner.lex.cpp] Error 1
make[1]: *** [src/third_party/xhp/xhp/CMakeFiles/xhp.dir/all] Error 2
make: *** [all] Error 2

Needs a way to be able to specify the build path

From what I can tell right now every time you build it has to recompile everything, and then puts 'program' in a non-predictable path.

  1. I have had to fiddle around tweaking the .cpp files to avoid the full rebuild, as it takes a long time to rebuild on my system.
  2. It is hard to write scripts if you can't control the output paths.

I'd really like to be able to say something like "--output-dir=."

Building error with bison 2.4

Building error with bison 2.4

commit df70a23

[  3%] Building CXX object src/third_party/xhp/xhp/CMakeFiles/xhp.dir/parser.yacc.cpp.o
/usr/local/src/hiphop/hiphop-php/src/third_party/xhp/xhp/parser.y: In function 'int xhpparse(void*, code_rope*)':
/usr/local/src/hiphop/hiphop-php/src/third_party/xhp/xhp/parser.y:1722: error: expected `;' before '}' token
/usr/local/src/hiphop/hiphop-php/src/third_party/xhp/xhp/parser.y:1862: error: expected `;' before '}' token
/usr/local/src/hiphop/hiphop-php/src/third_party/xhp/xhp/parser.y:1865: error: expected `;' before '}' token
make[2]: *** [src/third_party/xhp/xhp/CMakeFiles/xhp.dir/parser.yacc.cpp.o] Error 1
make[1]: *** [src/third_party/xhp/xhp/CMakeFiles/xhp.dir/all] Error 2
make: *** [all] Error 2

Various problems building hphp

I had various problems building hphp, relating to the patched libraries. This is likely related to me building on the latest Kubuntu rather than Fedora.
The gist of all the problems was that the make system was finding includes and libraries from my main system's lib/include dirs rather than from the hiphop directory where I had compiled it all (I followed the Ubuntu instructions on the Wiki).
I ended up fudging it by copying the new ones over my system's ones.

I'm not sure if this is a problem with the Ubuntu build instructions, or a problem with how the make system is searching for dependencies.

mysql_error function

I believe this function is failing if no link parameter is given. This parameter is optional, and it needs to be because the function should be able to return errors that happened before a link was succesfully established (i.e. errors during mysql_connect).

Failing to 'unserialize'

Got this error...

Unable to unserialize: [return unserialize("a:6:{i:0;a:1:{i:0;a:5:{i:0;s:34:"string_attach_1260104136175a8e175f";i:1;a:0:{}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}i:1;a:0:{}i:2;s:7:"(mixed)";i:3;s:0:"";i:4;N;i:5;s:143:"if (!isset($TPL_FUNCS['string_attach_1260104136175a8e175f']))\n\t$TPL_FUNCS['string_attach_1260104136175a8e175f']="echo \"Get hosted by us!\";";\n";}");\n]. Expected ':' but got 'e'.

It seems either unserialize is failing, or serialize is returning something corrupt.

Extended ASCII not supported in Variables names

Very low priority

Variables names with accents are not supported:
$modalité = 'Hello World';

Using variables names with accents is stupid, I agree, but this is legal syntax:
http://www.php.net/manual/en/language.variables.basics.php

compiling and linking CPP files...
In file included from /home/m_build/build/php/footer.h:6,\n from /home/m_build/build/php/wall.cpp:2:\n/home/m_build/build/sys/global_variables.h:1878: error: stray \xE2\x80\x98\351\xE2\x80\x99 in program\nmake[2]: *** [CMakeFiles/program.dir/php/wall.cpp.o] Error 1\nmake[1]: *** [CMakeFiles/program.dir/all] Error 2\nmake: *** [all] Error 2\n
compiling and linking CPP files took 1'16" (76073 ms) wall time

ERROR: Unable to find Intel TBB install directory.

I've installed TBB from source, and used the binaries provided on the tbb website. I just can't seem to get the install location correct (I've tried various locations and methods as I find them via google and the intel website).

Can someone give me a step by step on what I should be doing to get tbb recognised by hphp?

Running CentOS 5

IDL install makefile leaves dirty src/idl directory

src/idl/Makefile

run this for a newly prepared idl file

install: $(EXT) lists
cp ext_$<.h ext_$<.cpp ../cpp/ext/
$(REPO_ADD) ../cpp/ext/ext_$&lt;.h ../cpp/ext/ext_$<.cpp
$(REPO_ADD) ../cpp/ext/profile/extprofile_$&lt;.h
cp $<.inc ../lib/system/
$(REPO_ADD) ../lib/system/$&lt;.inc
touch ../lib/system/builtin_symbols.cpp
cp test_ext_$<.h test_ext_$<.cpp ../test/
$(REPO_ADD) ../test/test_ext_$&lt;.h ../test/test_ext_$<.cpp

Recommend using move commands instead.

Example:

marcel@hiphop:~/hiphop/git/hiphop-php/src$ find . | grep -i marcel
./lib/system/marcel.inc
./idl/ext_marcel.h
./idl/ext_marcel.cpp
./idl/marcel.idl.php
./idl/test_ext_marcel.h
./idl/test_ext_marcel.cpp
./idl/marcel.inc
./test/test_ext_marcel.h
./test/test_ext_marcel.cpp
./cpp/ext/ext_marcel.h
./cpp/ext/ext_marcel.cpp
./cpp/ext/profile/extprofile_marcel.h

hiphop-php isn't compile on ubuntu 9.10

[ 16%] Building C object src/third_party/libafdt/CMakeFiles/afdt.dir/src/async.c.o
Linking C static library ../../../bin/libafdt.a
[ 16%] Built target afdt
[ 17%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/string_offset.cpp.o
In file included from /media/data/hiphop/hiphop-php/src/cpp/base/zend/zend_functions.h:22,
from /media/data/hiphop/hiphop-php/src/cpp/base/type_string.h:23,
from /media/data/hiphop/hiphop-php/src/cpp/base/string_offset.cpp:18:
/media/data/hiphop/hiphop-php/src/util/hash.h:53: warning: integer constant is too large for ‘long’ type
/media/data/hiphop/hiphop-php/src/util/hash.h:89: warning: integer constant is too large for ‘long’ type
/media/data/hiphop/hiphop-php/src/util/hash.h:93: warning: integer constant is too large for ‘long’ type
/media/data/hiphop/hiphop-php/src/util/hash.h:103: warning: integer constant is too large for ‘long’ type
/media/data/hiphop/hiphop-php/src/util/hash.h:130: warning: integer constant is too large for ‘long’ type
/media/data/hiphop/hiphop-php/src/util/hash.h:307: warning: integer constant is too large for ‘long’ type
In file included from /media/data/hiphop/hiphop-php/src/cpp/base/zend/zend_string.h:22,
from /media/data/hiphop/hiphop-php/src/cpp/base/type_string.h:24,
from /media/data/hiphop/hiphop-php/src/cpp/base/string_offset.cpp:18:
/media/data/hiphop/hiphop-php/src/cpp/base/type_variant.h:95: error: ‘HPHP::Variant::Variant(ssize_t)’ cannot be overloaded
/media/data/hiphop/hiphop-php/src/cpp/base/type_variant.h:92: error: with ‘HPHP::Variant::Variant(int)’
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/cpp/base/string_offset.cpp.o] 1 הלקת
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] 2 הלקת
make: *** [all] 2 הלקת

cmake error "You should set the HPHP_HOME environmental" even though I have set the variable

I ran export HPHP_HOME=pwd and HPHP_LIB=pwd/bin and when I run env it shows these two variables set properly: HPHP_HOME=/usr/local/hiphop-php and HPHP_LIB=/usr/local/hiphop-php/bin. However when I run cmake . I get the following output

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done

CMake Error at CMakeLists.txt:5 (message):
You should set the HPHP_HOME environmental

-- Configuring incomplete, errors occurred!

When I try again the only output is the error:
CMake Error at CMakeLists.txt:5 (message):
You should set the HPHP_HOME environmental

-- Configuring incomplete, errors occurred!

Hello world dont work

When I execute hphp no work in Ubuntu 9.10 64bits. See the message:

jrbasso@jrbasso-u64:~/hiphop/hiphop-php/src$ echo $HPHP_HOME
/home/jrbasso/hiphop/hiphop-php
jrbasso@jrbasso-u64:~/hiphop/hiphop-php/src$ echo $HPHP_LIB
/home/jrbasso/hiphop/hiphop-php/bin
jrbasso@jrbasso-u64:~/hiphop/hiphop-php/src$ uname -a
Linux jrbasso-u64 2.6.31-14-generic # 48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
jrbasso@jrbasso-u64:~/hiphop/hiphop-php/src$ cat test.php 
<?php
echo 'Hellow.';
?>
jrbasso@jrbasso-u64:~/hiphop/hiphop-php/src$ hphp/hphp test.php
sh: /tmp/hphp_sMWur6/program: not found
jrbasso@jrbasso-u64:~/hiphop/hiphop-php/src$ ls -ld /tmp
drwxrwxrwt 12 root root 4096 2010-02-22 00:33 /tmp

No problem of permissions. I tried change the output-dir, but some error.

I'm installed following wiki page for ubuntu.

Compile error in ext_openssl.cpp

I'm try to build the project on fedora 12. Configuring works (after getting recent versions of tbb and re2c), but I'm getting compile errors in ext_openssl.cpp.

full output from make is here: http://qst.me/1d48

I'm building on 64-bit fedora 12.
gcc (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)

$ uname -a
Linux localhost.localdomain 2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18 19:52:07 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

Can anyone see where I'm going wrong?

thanks,
Tom

Slow operations +,-,*,/

I noticed that the operations such as: +,-,*,/ are slower than in native php. For example, this code:


is 2x faster in php:

native PHP:

real       0m22.390s
user       0m13.020s
sys        0m0.270s

compiled:

real       0m42.287s
user       0m0.020s
sys        0m0.040s

But, the same code without this line:

$o += $x * $y * $z;
has better time for compiled code:

native php:

real       0m10.238s
user       0m9.320s
sys        0m0.170s

compiled:

real       0m6.433s
user       0m0.010s
sys        0m0.000s

Missing PDO

When I compile the Example #1 from http://fr.php.net/manual/en/pdo.construct.php, hphp tells me

[2, {
"UnknownClass":
[{"c1":["/tmp/test.php",0,0,8,42],"d":"new pdo($dsn, $user, $password)","s":0,}
,{"c1":["/tmp/test.php",0,0,14,0],"d":" catch (pdoexception $e) {\n echo 'Connection failed: ' . $e->getmessage();\n}","s":0,}
]
}]

Compile error

...
[ 22%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/hphp_ffi.cpp.o
In file included from /storage/hiphop/hiphop-php/src/cpp/base/zend/zend_functions.h:22,
from /storage/hiphop/hiphop-php/src/cpp/base/type_string.h:23,
from /storage/hiphop/hiphop-php/src/cpp/base/array/array_element.h:20,
from /storage/hiphop/hiphop-php/src/cpp/base/type_array.h:22,
from /storage/hiphop/hiphop-php/src/cpp/base/hphp_ffi.cpp:18:
/storage/hiphop/hiphop-php/src/util/hash.h:53: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:89: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:93: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:103: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:130: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:307: warning: integer constant is too large for ‘long’ type
In file included from /storage/hiphop/hiphop-php/src/cpp/base/zend/zend_string.h:22,
from /storage/hiphop/hiphop-php/src/cpp/base/type_string.h:24,
from /storage/hiphop/hiphop-php/src/cpp/base/array/array_element.h:20,
from /storage/hiphop/hiphop-php/src/cpp/base/type_array.h:22,
from /storage/hiphop/hiphop-php/src/cpp/base/hphp_ffi.cpp:18:
/storage/hiphop/hiphop-php/src/cpp/base/type_variant.h:95: error: ‘HPHP::Variant::Variant(ssize_t)’ cannot be overloaded
/storage/hiphop/hiphop-php/src/cpp/base/type_variant.h:92: error: with ‘HPHP::Variant::Variant(int)’
In file included from /storage/hiphop/hiphop-php/src/cpp/base/hphp_ffi.cpp:18:
/storage/hiphop/hiphop-php/src/cpp/base/type_array.h:314: error: ‘HPHP::Variant HPHP::Array::rvalAt(ssize_t, HPHP::int64) const’ cannot be overloaded
/storage/hiphop/hiphop-php/src/cpp/base/type_array.h:306: error: with ‘HPHP::Variant HPHP::Array::rvalAt(int, HPHP::int64) const’
/storage/hiphop/hiphop-php/src/cpp/base/type_array.h:337: error: ‘const HPHP::Variant HPHP::Array::operator const’ cannot be overloaded
/storage/hiphop/hiphop-php/src/cpp/base/type_array.h:335: error: with ‘const HPHP::Variant HPHP::Array::operator const’
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/cpp/base/hphp_ffi.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

$ gcc --version
gcc (Debian 4.4.3-2) 4.4.3

$ uname -a
Linux kerberos 2.6.32-2-686 #1 SMP Thu Feb 11 04:08:42 UTC 2010 i686 GNU/Linux

$ cat /proc/version
Linux version 2.6.32-2-686 (Debian 2.6.32-8) ([email protected]) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 SMP Thu Feb 11 04:08:42 UTC 2010

compile error HPHP::Variant::Variant(ssize_t) cannot be overloaded

I ran make and get the following error.

[ 17%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/string_data.cpp.o
In file included from /home/daniel/workspace/hiphop-php/src/cpp/base/zend/zend_string.h:22,
from /home/daniel/workspace/hiphop-php/src/cpp/base/string_data.cpp:22:
/home/daniel/workspace/hiphop-php/src/cpp/base/type_variant.h:95: error: ‘HPHP::Variant::Variant(ssize_t)’ cannot be overloaded
/home/daniel/workspace/hiphop-php/src/cpp/base/type_variant.h:92: error: with ‘HPHP::Variant::Variant(int)’
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/cpp/base/string_data.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Error 2

IDL makefile contains svn commands

src/idl/Makefile currently contains commands to add new extension files to the svn repository (see usage of REPO_ADD, etc).

I have to assume this is a leftover from internal use.

mbfl include path fix for fedora

Hi,

/home/michal/tmp/hiphop/hiphop-php/src/cpp/ext/ext_mb.cpp:28:48: error: mbfl/mbfl_convert.h: Nie ma takiego pliku ani katalogu
/home/michal/tmp/hiphop/hiphop-php/src/cpp/ext/ext_mb.cpp:29:44: error: mbfl/mbfilter.h: Nie ma takiego pliku ani katalogu

diff --git a/src/cpp/ext/ext_mb.cpp b/src/cpp/ext/ext_mb.cpp
index ec04e62..131ae0d 100644
--- a/src/cpp/ext/ext_mb.cpp
+++ b/src/cpp/ext/ext_mb.cpp
@@ -25,8 +25,8 @@
#include <cpp/base/zend/zend_string.h>

extern "C" {
-#include <mbfl/mbfl_convert.h>
-#include <mbfl/mbfilter.h>
+#include <php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h>
+#include <php/ext/mbstring/libmbfl/mbfl/mbfilter.h>
#include <oniguruma.h>
}

BFD_LIB and BINUTIL_LIB not defined

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
BFD_LIB
    linked by target "hphp_runtime_static" in directory /usr/local/src/hiphop-php/src
BINUTIL_LIB
    linked by target "hphp_runtime_static" in directory /usr/local/src/hiphop-php/src

xml_set_element_handler broken

hphpi does not listen to the object context set by xml_set_object. You need to pass in like array(&$object,'methodName') for it to work not just 'methodName' after using xml_set_object($object).

However hphp (compiled) does not work with xml_set_object AND still does not work if using array(&$object,'methodName').

I haven't tried using just a normal function, I would guess that would work.

Generated makefiles not complete

I ran into an issue when trying to follow the instructions for compiling wordpress. The parsing and generating part worked but the compile failed. After digging into the generated code I found that the CMakeLists.txt file was missing an entry for the cpp and cls directories.

After adding those two directories and re-running cmake I found that the compile then failed on any include file that had a $$ in the name. I went in and renamed all include files that had $$ in the name and this seems to have fixed all the issues. I am now able to run the compile wordpress program.

These are probably two different issues.

Segmentation fault hphp

I followed the instructions on building on Ubuntu 9.10 with no issue reported. Then followed steps for Running (although modified since hphp was still in src directory). Ran hphp test.php and got a Segmentation fault.

Bad usage re2c

hiphop wrong use re2c. When compiling it's show help info.

[ 13%] [RE2C] Building re2c scanner with re2c 001203
usage: re2c [-bdefghisvVw1] [-o file] file

-? -h --help Display this info.

-b --bit-vectors Implies -s. Use bit vectors as well in the attempt to coax better code out of the compiler. Most useful for specifications with more than a few keywords (e.g. for most programming languages).

-d --debug-output Creates a parser that dumps information during about the current position and in which state the parser is.

-e --ecb Cross-compile from an ASCII platform to an EBCDIC one.

-f --storable-state Generate a scanner that supports storable states.

-g --computed-gotos Implies -b. Generate computed goto code (only useable with gcc).

-i --no-debug-info Do not generate '#line' info (usefull for versioning).

-o --output=output Specify the output file instead of stdout This cannot be used together with -e switch.

-s --nested-ifs Generate nested ifs for some switches. Many compilers need this assist to generate better code.

-u --unicode Implies -w but supports the full Unicode character set.

-v --version Show version information.

-V --vernum Show version as one number.

-w --wide-chars Create a parser that supports wide chars (UCS-2). This implies -s and cannot be used together with -e switch.

-1 --single-pass Force single pass generation, this cannot be combined with -f and disables YYMAXFILL generation prior to last e2c block.

--no-generation-date Suppress date output in the generated output so that it only shows the re2c version.
make[2]: *** [src/third_party/xhp/xhp/fastpath.cpp] Error 2
make[1]: *** [src/third_party/xhp/xhp/CMakeFiles/xhp.dir/all] Error 2

re2c version - 0.12.3 (4.fc12)
Disr - Fedora 12 (x86_64)

Clustering not compiling right

I enabled cpp clustering on my build but it did not include references to the cpp directory in my cmake stuff, so I had to add it in manually.
I am compiling on latest Kubuntu.

Compile errors [Ubuntu 9.10]

Building hphpi
/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::XmlParser::cleanupImpl()':\next_xml.cpp:(.text+0xf23): undefined reference to `XML_ParserFree'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::php_xml_parser_create_impl(HPHP::String const&, HPHP::String const&, int)':\next_xml.cpp:(.text+0x16d4): undefined reference to `XML_ParserCreate_MM'\next_xml.cpp:(.text+0x173e): undefined reference to `XML_SetUserData'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_parse(HPHP::Object const&, HPHP::String const&, bool)':\next_xml.cpp:(.text+0x54ef): undefined reference to `XML_Parse'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_parse_into_struct(HPHP::Object const&, HPHP::String const&, HPHP::Variant, HPHP::Variant)':\next_xml.cpp:(.text+0x563e): undefined reference to `XML_SetDefaultHandler'\next_xml.cpp:(.text+0x565f): undefined reference to `XML_SetElementHandler'\next_xml.cpp:(.text+0x5679): undefined reference to `XML_SetCharacterDataHandler'\next_xml.cpp:(.text+0x56c0): undefined reference to `XML_Parse'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_character_data_handler(HPHP::Object const&, HPHP::Variant const&)':\next_xml.cpp:(.text+0x59cd): undefined reference to `XML_SetCharacterDataHandler'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_default_handler(HPHP::Object const&, HPHP::Variant const&)':\next_xml.cpp:(.text+0x5a32): undefined reference to `XML_SetDefaultHandler'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_element_handler(HPHP::Object const&, HPHP::Variant const&, HPHP::Variant const&)':\next_xml.cpp:(.text+0x5ab6): undefined reference to `XML_SetElementHandler'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_processing_instruction_handler(HPHP::Object const&, HPHP::Variant const&)':\next_xml.cpp:(.text+0x5b1b): undefined reference to `XML_SetProcessingInstructionHandler'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_start_namespace_decl_handler(HPHP::Object const&, HPHP::Variant const&)':\next_xml.cpp:(.text+0x5b80): undefined reference to `XML_SetStartNamespaceDeclHandler'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_end_namespace_decl_handler(HPHP::Object const&, HPHP::Variant const&)':\next_xml.cpp:(.text+0x5be5): undefined reference to `XML_SetEndNamespaceDeclHandler'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_unparsed_entity_decl_handler(HPHP::Object const&, HPHP::Variant const&)':\next_xml.cpp:(.text+0x5c4a): undefined reference to `XML_SetUnparsedEntityDeclHandler'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_external_entity_ref_handler(HPHP::Object const&, HPHP::Variant const&)':\next_xml.cpp:(.text+0x5caf): undefined reference to `XML_SetExternalEntityRefHandler'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_notation_decl_handler(HPHP::Object const&, HPHP::Variant const&)':\next_xml.cpp:(.text+0x5d14): undefined reference to `XML_SetNotationDeclHandler'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_get_current_byte_index(HPHP::Object const&)':\next_xml.cpp:(.text+0x5da4): undefined reference to `XML_GetCurrentByteIndex'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_get_current_column_number(HPHP::Object const&)':\next_xml.cpp:(.text+0x5ddc): undefined reference to `XML_GetCurrentColumnNumber'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_get_current_line_number(HPHP::Object const&)':\next_xml.cpp:(.text+0x5e14): undefined reference to `XML_GetCurrentLineNumber'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_get_error_code(HPHP::Object const&)':\next_xml.cpp:(.text+0x5e4c): undefined reference to `XML_GetErrorCode'\n/home/bergi/hphp/hiphop-php/bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_error_string(int)':\next_xml.cpp:(.text+0x5e67): undefined reference to `XML_ErrorString'\ncollect2: ld returned 1 exit status\nmake[5]: *** [program] Error 1\nmake[4]: *** [CMakeFiles/program.dir/all] Error 2\nmake[3]: *** [all] Error 2\n
mv: cannot stat `gen/program': No such file or directory

Linking CXX executable test
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::XmlParser::cleanupImpl()':
ext_xml.cpp:(.text+0xf23): undefined reference to `XML_ParserFree'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::php_xml_parser_create_impl(HPHP::String const&, HPHP::String const&, int)':
ext_xml.cpp:(.text+0x16d4): undefined reference to `XML_ParserCreate_MM'
ext_xml.cpp:(.text+0x173e): undefined reference to `XML_SetUserData'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_parse(HPHP::Object const&, HPHP::String const&, bool)':
ext_xml.cpp:(.text+0x54ef): undefined reference to `XML_Parse'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_parse_into_struct(HPHP::Object const&, HPHP::String const&, HPHP::Variant, HPHP::Variant)':
ext_xml.cpp:(.text+0x563e): undefined reference to `XML_SetDefaultHandler'
ext_xml.cpp:(.text+0x565f): undefined reference to `XML_SetElementHandler'
ext_xml.cpp:(.text+0x5679): undefined reference to `XML_SetCharacterDataHandler'
ext_xml.cpp:(.text+0x56c0): undefined reference to `XML_Parse'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_character_data_handler(HPHP::Object const&, HPHP::Variant const&)':
ext_xml.cpp:(.text+0x59cd): undefined reference to `XML_SetCharacterDataHandler'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_default_handler(HPHP::Object const&, HPHP::Variant const&)':
ext_xml.cpp:(.text+0x5a32): undefined reference to `XML_SetDefaultHandler'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_element_handler(HPHP::Object const&, HPHP::Variant const&, HPHP::Variant const&)':
ext_xml.cpp:(.text+0x5ab6): undefined reference to `XML_SetElementHandler'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_processing_instruction_handler(HPHP::Object const&, HPHP::Variant const&)':
ext_xml.cpp:(.text+0x5b1b): undefined reference to `XML_SetProcessingInstructionHandler'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_start_namespace_decl_handler(HPHP::Object const&, HPHP::Variant const&)':
ext_xml.cpp:(.text+0x5b80): undefined reference to `XML_SetStartNamespaceDeclHandler'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_end_namespace_decl_handler(HPHP::Object const&, HPHP::Variant const&)':
ext_xml.cpp:(.text+0x5be5): undefined reference to `XML_SetEndNamespaceDeclHandler'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_unparsed_entity_decl_handler(HPHP::Object const&, HPHP::Variant const&)':
ext_xml.cpp:(.text+0x5c4a): undefined reference to `XML_SetUnparsedEntityDeclHandler'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_external_entity_ref_handler(HPHP::Object const&, HPHP::Variant const&)':
ext_xml.cpp:(.text+0x5caf): undefined reference to `XML_SetExternalEntityRefHandler'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_set_notation_decl_handler(HPHP::Object const&, HPHP::Variant const&)':
ext_xml.cpp:(.text+0x5d14): undefined reference to `XML_SetNotationDeclHandler'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_get_current_byte_index(HPHP::Object const&)':
ext_xml.cpp:(.text+0x5da4): undefined reference to `XML_GetCurrentByteIndex'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_get_current_column_number(HPHP::Object const&)':
ext_xml.cpp:(.text+0x5ddc): undefined reference to `XML_GetCurrentColumnNumber'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_get_current_line_number(HPHP::Object const&)':
ext_xml.cpp:(.text+0x5e14): undefined reference to `XML_GetCurrentLineNumber'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_get_error_code(HPHP::Object const&)':
ext_xml.cpp:(.text+0x5e4c): undefined reference to `XML_GetErrorCode'
../../bin/libhphp_runtime.a(ext_xml.cpp.o): In function `HPHP::f_xml_error_string(int)':
ext_xml.cpp:(.text+0x5e67): undefined reference to `XML_ErrorString'
collect2: ld returned 1 exit status
make[2]: *** [src/test/test] Error 1
make[1]: *** [src/test/CMakeFiles/test.dir/all] Error 2
make: *** [all] Error 2

Used:
cmake 2.8.0
gcc 4.4.1
g++ 4.4.1
boost 1.40.0
flex 2.5.35
bison 2.4.7
re2c 0.13.5
libmysql++3 3.0.9
libxml2 2.7.5
libmcrypt 2.5.8
libicu 4.2.1
openssl 0.9.8
binutils 2.20
libcap 2.16
gd 2.0.36
zlib 1.2.3.3
tbb 2.1r017
oniguruma 5.9.1
libcurl 7.20[patched]
libevent 1.4 [patched]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.