Fix OS X compilation

Fix compilaton on OS X due to undefined symbols

Reviewed By: @markw65

Differential Revision: D1067049
Merge pull request #1288 from bzikarsky/master

Updated configure_ubuntu_12.04.sh to work on a "clean" ubuntu installation
Add ICU NumberFormatter class (and functions)

Implement to match Zend

Reviewed By: @ptarjan

Differential Revision: D1065096
add zlib_encode and zlib_decode

Composer needs these functions all of a sudden. I couldn't figure out what they should do from the docs, and looking at the code they look to be identical to the gz versions except they don't force Gzip. Our versions of the gz fucntions don't force GZ anyways so I'll just proxy.

Reviewed By: @alexmalyshev

Differential Revision: D1067316
make the test runner print more

this was useful while debugging the compser thing

Reviewed By: @JoelMarcey

Differential Revision: D1067489
clownlist a yii test

this one needs memcache

Reviewed By: @JoelMarcey

Differential Revision: D1067702
exclude 'Broken' group for MW

aparantly instead of disabling them they put them in a Broken group
clowntown

Reviewed By: @alexmalyshev

Differential Revision: D1067762
clownlist some joomla tests

zend won't pass these without some more setup which I can't figure out how to do

Reviewed By: @JoelMarcey

Differential Revision: D1067754
Ignore test litter
Add magic methods to the collections IDL.

The magic methods for Pair were missing from the IDL, and so were
not visible from PHP-land.

Add them to the IDL.

Reviewed By: @elgenie

Differential Revision: D1066776
String::String(char) = delete; fix exposed lolbugs

While working on something else, I got bitten by this: if you construct
a String from a char, the char gets promoted to int and that constructor
won't do what you want (it stringifies the int).

To my great joy, this exposed some actual latent bugs, so I fixed them.
E.g. the things that thought they were appending a slash were actually
appending the string "47".

Reviewed By: @swtaarrs

Differential Revision: D1067258
Fix Reflection to support ordering properties like Zend

Zend orders their properties with child first then parent. We were doing the opposite. Fix that by rearranging the array in php land in reflection.php

Reviewed By: @ptarjan

Differential Revision: D1064961
Disable flaky test/zend/good/ext/standard/tests/file/copy_variation16.php

Reviewed By: @jdelong

Differential Revision: D1068500
Allow rewrite rules to apply to files that exist

Adds a CheckExistenceBeforeRewrite option to allow rewrite rules to take effect even on files that exist on the default path. This option is off by default.

Closes #1283
Closes #1286

Reviewed By: @ptarjan

Differential Revision: D1065548

Pulled By: @scannell
warn on null file to fopen

Without this we hapilly put the `cwd` infront and open a directory. mediawiki has a test failing because of it. This felt like the best place to put it.

Reviewed By: @alexmalyshev

Differential Revision: D1067777
Split HHProf into compile plus runtime options

This splits HHProf (heap profiling) into two different knobs --
one is compile time, because of the overhead in the memory-manager smart
malloc functions, and the other is a runtime option that controls actual
tracking of data. This gets us the ability to have no impact when
compiling without the flag and minimal impact (within 1%) of impact when
compiling with the flag but with the runtime option turned off.

Reviewed By: @mikemag

Differential Revision: D1068213
Add phpunit config file support to script test command

Add -c support to the test command for running phpunit from our script.

Reviewed By: @ptarjan

Differential Revision: D1068614
add pull request

Slim isn't being responsive

Reviewed By: @JoelMarcey

Differential Revision: D1068996
stream_resolve_include_path needs to return false on failure, not null

stream_resolve_include_path() was returning null for invalidity instead of false. Make it so.

Reviewed By: @ptarjan

Differential Revision: D1068148
Don't let debug_backtrace read a freed ExtraArgs during unwinding

thats it

Reviewed By: @jdelong

Differential Revision: D1068339