more reflections work
Import Zend reflection tests

php-src/ext/reflection/tests in PHP-5.4.21
Use more consistent naming in reflection extension

Specifically, use W_<PHP class name> and k_<PHP class name> everywhere
it applies.
Start implementing ReflectionProperty::__toString
Move __toString() implementation to W_ReflectionProperty
Implement ReflectionProperty::export()
this test passes
Fix ReflectionProperty::getValue() on static properties
Add stub for ReflectionProperty::isDefault()
add ReflectionProperty::getModifiers()
Use the same access flag values as in Zend PHP
Fix skipping of unsupported locales on OpenBSD.

has_locale() checks whether it can set LC_CTYPE, assuming that if this
succeeds, the locale is supported.

The problem is, on OpenBSD, setting LC_CTYPE for (e.g.) "fr_FR.ISO8859-1"
succeeds for LC_CTYPE, but *not* for LC_COLLATE (presumably incomplete
locale support on OpenBSD). This means that the tests which use LC_COLLATE
will fail, when they should be skipped.
Fix a regex test on OpenBSD.
Fix test_is_executable() on OpenBSD.

The path being checked was platform specific. Let's instead lookup
a binary pretty much guaranteed to exist and using ${PATH}.
Check for PHP binary early on.

This avoids obscure error messages later.
Create ReflectionProperty::getDeclaringClass
Fix getDeclaringClass()
Merge branch 'master' into reflections
Fix error message for missing property
fix setValue on static property