Phalanger
Phalanger copied to clipboard
PHP 5.4 compiler for .NET/Mono frameworks. Predecessor to the opensource PeachPie project (www.peachpie.io).
serializing a multibyte character and then unserializing it again in Phalanger causes character to change when echoed as shown in the testcase below. Phalanger behaves differently to PHP in this...
$val1 = 'é'; $val2 = unserialize(serialize($val1)); ``` $EOL = "\n"; echo ($val1 === $val2 ? 'Equal' : 'Not Equal') . $EOL; // Returns 'Equal', because $val1 === $val2 === 'é'...
This allows to build Phalanger on mono (at least mono/xbuild on Debian/sid) with Release configuration. Building with Debug doesn't seem to be possible, as it includes some VS specific assemblies...
Hi there, Trying to use file_get_contents() for an https:// url however I'm getting ``` Notice: file_get_contents(): Unable to find the wrapper 'https' - did you forget to enable it when...
There is a plan to support more PDO's fetch methods? I've seen [here](https://github.com/DEVSENSE/Phalanger/blob/30c5c37ba26e72edc82e362162f36a0bb9da64f3/Source/Extensions/PDO/PDOStatement.cs#L75-L83) that the only supported fetch methods by Phalanger are `PDO_FETCH_ASSOC`, `PDO_FETCH_NUM` and `PDO_FETCH_BOTH`. PHP Documentation: http://php.net/manual/pt_BR/pdostatement.fetch.php It...
Code example: [Doctrine/DBAL using errorInfo setter](https://github.com/doctrine/dbal/blob/89d4f06fb4ff6e7b8f3c29a7307bf66203e09922/lib/Doctrine/DBAL/Driver/PDOException.php#L55)
I have a problem with following regular expression: \G(((int(eger)?|bool(ean)?|float|double|real|string|binary|array|object))\s*) This regular expression gives me different result in phalagner, I assume that the problem is in converting pattern to .net. Pattern...
``` [ImplementsFunction("tieArrayValue")] public static object tieArrayValue([PhpRw] ref PhpArray arr, object key, object value) { ... } [ImplementsFunction("tieArrayValue")] public static object tieArrayValue([PhpRw] ref PhpArray arr, object key) { ... } ```...