Create test.txt

test travis
Merge branch 'master' of https://github.com/nareshv/hhvm
Merge remote-tracking branch 'upstream/master'
Delete test.txt
configure script & fedora/ubuntu
Merge branch 'master' into generic_configure_script
Add Kohana to test runner

Closes #1895

Reviewed By: @fredemmott

Differential Revision: D1210785
Add XMLReader::expand()

Fixes #1976

Reviewed By: @ptarjan

Differential Revision: D1206514

Pulled By: @fredemmott
Allow resetting the default statement class to PDOStatement

Currently HHVM strictly enforces that the statement class be a descendent of PDOStatement. While the PHP Documentation states that it has to be a subclass, I believe this is subclass in the sense implied by Liskov's OO substitution principle. Thus, the PDOStatement class should be accepted.

Zend does accept the PDOStatement class without warning or notice.

Closes #1951
Closes #1954

Reviewed By: @fredemmott

Differential Revision: D1210794
Fix DateTime->format() flags 'e' and 'T' for offset time zones.

Closes #1962
Closes #1731

Reviewed By: @fredemmott

Differential Revision: D1210795
Make escapeshellarg(<empty>) return "''" in non-HH mode.

Closes #1979
Github Author: Ioan Negulescu <idn2104columbia.edu>

Reviewed By: @fredemmott

Differential Revision: D1210842
ini settings: Accept empty strings where integers are expected

Closes #1950
Closes #1953

Reviewed By: @fredemmott

Differential Revision: D1210791
add DOMNameSpaceNode

Fixed DOMXPath->query for namespaces by adding DOMNameSpaceNode class.

Closes #1958
Closes #1872

Reviewed By: @fredemmott

Differential Revision: D1210822
Fixed ini_set on session.serializer_handler

Added tests and fix so that session.serialize_handler returns last set value after ini_set is called with an invalid serialize handler.

Closes #1990

Reviewed By: @fredemmott

Differential Revision: D1210800
Clean up immediate-handling in LdRaw/StRaw

This fixes several potential problems with LdRaw/StRaw.

First, their signatures are SUnk, which means completely
unchecked.  I added a checkCustom() lambda in assertOperandTypes()
so we can implement custom checking for the SUnk opcodes.

Second, StRaw should only get int32 immediates for its value.
Bigger than that should get a register.

Third, LdRaw had unused support for a runtime-valued field,
which it used as a byte-offset (and got the store size from
the destination type!).  Removed the logic.

Last, added LdRaw operand 1 (kind) to the mustUseConst predicate.

Reviewed By: @alexmalyshev

Differential Revision: D1207057
Don't handle LHS constants in emitCompare[Int].

All we would do is use a scratch register, so handle this
via constraints.  Also rename stuff to match src positions,
and loosen constraints for more fused compare+branch operators.

Reviewed By: @alexmalyshev

Differential Revision: D1208726
Clean up immediates in StringIsset and CheckPackedArrayBounds

Reviewed By: @alexmalyshev

Differential Revision: D1208770
Fix a bug in passPredictedAndInferredTypes

isCounted() should've been !maybeCounted().

Reviewed By: @swtaarrs

Differential Revision: D1211022
Remove type-object.h's dependence on type-string.h

Reviewed By: @ptarjan

Differential Revision: D1211222
change get PHP gethostname() to just call gethostname() syscall - Zend compat

change PHP gethostname() to just call gethostname() - Zend compat

Reviewed By: @ptarjan

Differential Revision: D1209136