Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

PeachPie Compiler

PeachPie - the PHP compiler and runtime for .NET and .NET Core
Collective - Host: opensource - https://opencollective.com/peachpiecompiler - Code: https://github.com/peachpiecompiler/peachpie

PhpValue.FromStruct<T>() helper

ref https://github.com/peachpiecompiler/peachpie/issues/912
also unifies Nullable`1 behavior - t...

github.com/peachpiecompiler/peachpie - ee913dc998f0654829e6cac3b22b612e52fdb3f5 authored almost 4 years ago by Jakub Míšek <[email protected]>
CLR structs are treated as PHP objects

allows methods and properties to be called on them
ref https://github.com/peachpiecompiler/peach...

github.com/peachpiecompiler/peachpie - c195cd98597f1cdb31a7282485e373c8b091ad2a authored almost 4 years ago by Jakub Míšek <[email protected]>
boxing value types to PhpValue

ref https://github.com/peachpiecompiler/peachpie/issues/912
allows for `new MyStruct()`

github.com/peachpiecompiler/peachpie - cbb148172024ba8a10a11e79b87bad4e6ef42c14 authored almost 4 years ago by Jakub Míšek <[email protected]>
dynamic conversion Nullable`1 -> PhpValue

github.com/peachpiecompiler/peachpie - 455670d76df60e99021f0c1f226c6bde4640ae8c authored almost 4 years ago by Jakub Míšek <[email protected]>
dynamic conversion to System.Delegate

ref https://github.com/peachpiecompiler/peachpie/issues/913

github.com/peachpiecompiler/peachpie - d79235e9c5ab79797880dfd218e2e8c7d06bfa31 authored almost 4 years ago by Jakub Míšek <[email protected]>
compile-time conversion to System.Delegate

- ref https://github.com/peachpiecompiler/peachpie/issues/913
- stub only, supports Action and F...

github.com/peachpiecompiler/peachpie - 0d1a15f768df2ef2255617202c0db7074bcd1b6a authored almost 4 years ago by Jakub Míšek <[email protected]>
PhpCallableToDelegate helper stub

ref https://github.com/peachpiecompiler/peachpie/issues/913

github.com/peachpiecompiler/peachpie - 4cb1a59aad7f284ab628c7d6a9eec2a9010555a2 authored almost 4 years ago by Jakub Míšek <[email protected]>
socket_set_blocking() build fix

github.com/peachpiecompiler/peachpie - c7621ef4599d2a8beec498777a9872d9ea7c1331 authored almost 4 years ago by Jakub Míšek <[email protected]>
stream_set_blocking() for sockets

- signature updated to match PHP manual
- implemented for socket streams
- fixes https://github....

github.com/peachpiecompiler/peachpie - 2a703511d1acc8b4d7cf1f545858faac57f45007 authored almost 4 years ago by Jakub Míšek <[email protected]>
PDO: bound parameters respects null, int, bool types

fixes https://github.com/peachpiecompiler/peachpie/issues/914

github.com/peachpiecompiler/peachpie - b05e5e3f8e11799240b89d8bbe72d377bddf5d44 authored almost 4 years ago by Jakub Míšek <[email protected]>
PhpValue.FromClr(decimal) treated as double

consistent with the rest of numeric operations in PHP context

github.com/peachpiecompiler/peachpie - 4422e605aba99e40a1dfb6bcdfaf24af3fa243a9 authored almost 4 years ago by Jakub Míšek <[email protected]>
emit: more detailed exception

github.com/peachpiecompiler/peachpie - 79b918000c9a7f0cab500a8cb69b72bb494c562a authored almost 4 years ago by Jakub Míšek <[email protected]>
console app exit code set from the startup method

ref https://github.com/peachpiecompiler/peachpie/issues/917

github.com/peachpiecompiler/peachpie - d37edbe3a0b7e29dc2343cff90ed95eaeb2b011d authored almost 4 years ago by Jakub Míšek <[email protected]>
stream_socket_accept(), timeout support

- fixes https://github.com/peachpiecompiler/peachpie/issues/916
- timeout is used and function r...

github.com/peachpiecompiler/peachpie - 9bd1452c6a35eea122f5862e29d216123e147bc7 authored almost 4 years ago by Jakub Míšek <[email protected]>
emit: numeric conversions between decimals

github.com/peachpiecompiler/peachpie - 506dfb98f54fea05304a66761849f4dec36cc0c7 authored almost 4 years ago by Jakub Míšek <[email protected]>
System.Decimal -> PhpValue

github.com/peachpiecompiler/peachpie - 96747e02ee67533157e4f14085a88ba1c930b57e authored almost 4 years ago by Jakub Míšek <[email protected]>
comparison operators reviewed, cleanup, fixes

- corect comparison of object with other values
- comparison to System.Decimal implemented
- swi...

github.com/peachpiecompiler/peachpie - b9516a73733c2a025ab083fb9664b139a9eb0cbf authored almost 4 years ago by Jakub Míšek <[email protected]>
comparison error messages cleanup

- correct php-like type name in the warning message
- provides more information, cleanup
- smaller

github.com/peachpiecompiler/peachpie - b7855137c8bc80129e3beb4ed40049457fa21eb1 authored almost 4 years ago by Jakub Míšek <[email protected]>
PhpNumber.Default

github.com/peachpiecompiler/peachpie - af1c68767599d79245f59236e87b2670da92b278 authored almost 4 years ago by Jakub Míšek <[email protected]>
fix type of unpack function

github.com/peachpiecompiler/peachpie - 7283ede74de08b285449c54fa8b9853ce7f64ad4 authored almost 4 years ago by Aaurizon <[email protected]>
string to number conversion

provides information it was a string

github.com/peachpiecompiler/peachpie - 7a6a99c47106f70e087ca168525d5c66575105ad authored almost 4 years ago by Jakub Míšek <[email protected]>
str_split() signature to match

github.com/peachpiecompiler/peachpie - 1a9fb72a0202afe640fd14bae3f060d7f9ea0a52 authored almost 4 years ago by Jakub Míšek <[email protected]>
str_split() does not corrupt single byte strings

ref https://github.com/peachpiecompiler/peachpie/issues/909

github.com/peachpiecompiler/peachpie - 87a17976b6de4b5c291c007f9e522d4d3da49cb6 authored almost 4 years ago by Jakub Míšek <[email protected]>
simpler comparison impl.

github.com/peachpiecompiler/peachpie - 18c84d482fe0b2f10f8a2bab50c9b2aff94ece60 authored almost 4 years ago by Jakub Míšek <[email protected]>
readme: appveyor feed

github.com/peachpiecompiler/peachpie - 7c49d94c3dd85566d35b4a0bf236488a48042ecf authored almost 4 years ago by Jakub Míšek <[email protected]>
stream_socket_accept

ref https://github.com/peachpiecompiler/peachpie/issues/909

github.com/peachpiecompiler/peachpie - 1622242c25b44f4351cfb2872bfb943e9cd9451e authored almost 4 years ago by Jakub Míšek <[email protected]>
stream_socket_server()

- bind the local address and prepare for listen
- default err is { 0, "" }

github.com/peachpiecompiler/peachpie - e756772658178c8da009a434e30e5ba3f7a17855 authored almost 4 years ago by Jakub Míšek <[email protected]>
stream_socket: cleanup, protocol "tcp"

ref https://github.com/peachpiecompiler/peachpie/issues/909

github.com/peachpiecompiler/peachpie - 3199607a9036659b4c38c3547ae0a941e7a32c99 authored almost 4 years ago by Jakub Míšek <[email protected]>
stream_socket_* cleanup

github.com/peachpiecompiler/peachpie - 1508b8b3e2da73b54ccc05a4650e1ba07d85282a authored almost 4 years ago by Jakub Míšek <[email protected]>
use StringBuilder Pool

github.com/peachpiecompiler/peachpie - 8c1093252daa3545ff86c6799e3311ebad7e9dd7 authored almost 4 years ago by Jakub Míšek <[email protected]>
PhpString.ToString() uses pooled StringBuilder instance

github.com/peachpiecompiler/peachpie - f14e32f2f31f8bd8f31d8e8eb5348511c39925c5 authored almost 4 years ago by Jakub Míšek <[email protected]>
StringBuilderUtilities moved to Runtime

github.com/peachpiecompiler/peachpie - 8744700fb0abf2ece072c9892d5b5ce374471de5 authored almost 4 years ago by Jakub Míšek <[email protected]>
trait types autloaded when a user class is autoloaded

fixes https://github.com/peachpiecompiler/peachpie/issues/903

github.com/peachpiecompiler/peachpie - fc7204be741c3d131a0531a1bc3bf43277c6abee authored almost 4 years ago by Jakub Míšek <[email protected]>
PHP 8 WeakMap

github.com/peachpiecompiler/peachpie - 444ccaf4292196122d9a1376dcf1383dc3b7f573 authored almost 4 years ago by Jakub Míšek <[email protected]>
PHP 8 Attribute class

ref https://github.com/peachpiecompiler/peachpie/issues/765

github.com/peachpiecompiler/peachpie - a7e5ae325221276dfe99f71facb12d79e81cc8e0 authored almost 4 years ago by Jakub Míšek <[email protected]>
Add CTR mode of AES cipher

Fixes #904

github.com/peachpiecompiler/peachpie - 887f0b1d8bb586b23763d628c724b8532f7df202 authored almost 4 years ago by Robert Husák <[email protected]>
pcre - character class subtraction, named subroutine calls, subpattern definition

fixes https://github.com/peachpiecompiler/peachpie/issues/901

github.com/peachpiecompiler/peachpie - 655ce5c387fd46db836475e0172ec4c6a7471c18 authored almost 4 years ago by Jakub Míšek <[email protected]>
decimal treated as number

although with respect to PHP arithmetic operators, converted to double

github.com/peachpiecompiler/peachpie - c2c82cc2ae2547ec1ae5144934f693c392e9ace5 authored almost 4 years ago by Jakub Míšek <[email protected]>
dynamic conversion sbyte -> phpvalue

github.com/peachpiecompiler/peachpie - d411d747300ea00177a266c348c86e437808949a authored almost 4 years ago by Jakub Míšek <[email protected]>
dynamic conversion decimal -> bool

github.com/peachpiecompiler/peachpie - b6ecae46388695ec7cd361fd5f84a894393730a8 authored almost 4 years ago by Jakub Míšek <[email protected]>
Dictionary<,> item isset() test

github.com/peachpiecompiler/peachpie - 5fb165ae53b96c5fb07371d327a1fb6dfe0ba112 authored almost 4 years ago by Jakub Míšek <[email protected]>
PHP4002 (ERR_BinaryFile) error message

ref https://github.com/peachpiecompiler/peachpie/issues/907

github.com/peachpiecompiler/peachpie - 87ace1b79943672834351be398e1610a2f91b0af authored almost 4 years ago by Jakub Míšek <[email protected]>
callsite - explicitly System.DateTime can be boxed into PhpValue

- when passed from C#, the value needs to be stored in PHP scope
- TODO: enable for all ValueTyp...

github.com/peachpiecompiler/peachpie - d4619c522dcce8a3598e4aea5dfb9f2beb4d4fe4 authored almost 4 years ago by Jakub Míšek <[email protected]>
IndirectLocal only emited in debug and small amount of locals

- otherwise might cause Stack Overflow Exception, especially in global code

github.com/peachpiecompiler/peachpie - df2266aa88ef0f0ef0a235fc97e55a00df34c975 authored almost 4 years ago by Jakub Míšek <[email protected]>
smaller IndirectLocal

github.com/peachpiecompiler/peachpie - 4552dbc38a623ea7076fe70572d1bf3d7ac07513 authored almost 4 years ago by Jakub Míšek <[email protected]>
aspnet: avoids unserialization of dummy session item

github.com/peachpiecompiler/peachpie - 6af312d5185a7e7bfd448389092bb2a37961ebba authored almost 4 years ago by Jakub Míšek <[email protected]>
fixes wrong IL when byref argument is not provided

github.com/peachpiecompiler/peachpie - 09732a42c0ed3345a01e6cfef82bb310810bbbc3 authored almost 4 years ago by Jakub Míšek <[email protected]>
proc_open: "file" output gets flushed, clenaup

github.com/peachpiecompiler/peachpie - b97d156f8e0dad7904edfbe1f325ea4b71255872 authored almost 4 years ago by Jakub Míšek <[email protected]>
proc_open $env

github.com/peachpiecompiler/peachpie - 2235dbea0b6acd69a85d87b86bc18422a444b60b authored almost 4 years ago by Jakub Míšek <[email protected]>
reenabled proc_open() "file" and "resource" descriptors

ref https://github.com/iolevel/peachpie-vs/issues/2

github.com/peachpiecompiler/peachpie - 456f78dc26134ae8a1497e77d8acea59b9fdb854 authored almost 4 years ago by Jakub Míšek <[email protected]>
offsetExists() and isset() for System.Collections.IDictionary

github.com/peachpiecompiler/peachpie - 1251cb1bbd52bf4d8da24508bd07de90e7c1983e authored almost 4 years ago by Jakub Míšek <[email protected]>
typos in code comments and minor cleanup

github.com/peachpiecompiler/peachpie - 48d938414082cddae64653a8be7e463d65263271 authored almost 4 years ago by Jakub Míšek <[email protected]>
type loading declares depending traits as well

fixes https://github.com/peachpiecompiler/peachpie/issues/903

github.com/peachpiecompiler/peachpie - 51e491ba5913156a6a9b1f086518637e8ec4a4d3 authored almost 4 years ago by Jakub Míšek <[email protected]>
Implement resolving references between XML Schemas

Fixes #771

github.com/peachpiecompiler/peachpie - 8629bbb68946968a122631dba686520a0d45340b authored almost 4 years ago by Robert Husák <[email protected]>
dateinterval understands relative date/time strings

fixes https://github.com/peachpiecompiler/peachpie/issues/897

github.com/peachpiecompiler/peachpie - 734eb4934327d4749f1d6325f5f82fddd47274a5 authored almost 4 years ago by Jakub Míšek <[email protected]>
Clean up tempnam

Fixes #892

Use Context.WorkingDirectory for relative paths, return FALSE if not successful, pre...

github.com/peachpiecompiler/peachpie - bb5ee39245e5ae7f839112d87edcc326c05f1c2c authored almost 4 years ago by Robert Husák <[email protected]>
DateInterval::createFromDateString() returns FALSE on error

fixes https://github.com/peachpiecompiler/peachpie/issues/897

github.com/peachpiecompiler/peachpie - 69999a07773d5d3be30b077ac6a8480d11e51d7f authored almost 4 years ago by Jakub Míšek <[email protected]>
Add UTF-8 check to json_encode

Ref #892

github.com/peachpiecompiler/peachpie - aee1e2b3c4f9eca492ffbdad7fe0b34187ee337e authored almost 4 years ago by Robert Husák <[email protected]>
Fix returning FALSE from json_encode

Ref #892

github.com/peachpiecompiler/peachpie - e39e86eaac7e136f7cb95a43cf4355236d5e0dcc authored almost 4 years ago by Robert Husák <[email protected]>
setcookie, setrawcookie: $options, $samesite

- implements https://github.com/peachpiecompiler/peachpie/issues/898
- setcookie, setrawcookie a...

github.com/peachpiecompiler/peachpie - a87c67cf39fd500591430aeaeb6ab1b14aaa8bd2 authored almost 4 years ago by Jakub Míšek <[email protected]>
Merge branch 'master' of https://github.com/peachpiecompiler/peachpie

github.com/peachpiecompiler/peachpie - 805897ffe95ead182fc5d6d0d695887eb61f971e authored almost 4 years ago by Jakub Míšek <[email protected]>
mysql: MySqlExtensions

helper mysql extension methods

github.com/peachpiecompiler/peachpie - f70a740e890e5b993493b21e3a123ab32456a44d authored almost 4 years ago by Jakub Míšek <[email protected]>
(aspnet) fixes $_SESSION infinite recursion

github.com/peachpiecompiler/peachpie - 4eec53a348397c0b764b2b7f0ed8f8f8287709ef authored almost 4 years ago by Jakub Míšek <[email protected]>
comparison of non-unicode string values avoids a few allocations

- allows to fix #775
- avoids encoding when comparing to NULL,bool,array
- helps with ref https:...

github.com/peachpiecompiler/peachpie - ba220de7d647732dc54d8cc6c71346aa9b90d191 authored almost 4 years ago by Jakub Míšek <[email protected]>
runtime can't get reference to local variable when file_get_contents() called dynamically

- throws notice
- gets null

github.com/peachpiecompiler/peachpie - 348abd5c166ef0b9a176565baa4a8d8f33c42f04 authored almost 4 years ago by Jakub Míšek <[email protected]>
update pcre

fixes https://github.com/peachpiecompiler/peachpie/issues/896

github.com/peachpiecompiler/peachpie - b738173245ca11e03b471d9331e782c98708199c authored almost 4 years ago by Jakub Míšek <[email protected]>
fopen, file_get_contents updates $http_response_header

- keeps local variables optimized!
- fixes https://github.com/peachpiecompiler/peachpie/issues/895

github.com/peachpiecompiler/peachpie - 6cf4948bd90796d0bbaf3dfd74c2d9de0b68ef81 authored almost 4 years ago by Jakub Míšek <[email protected]>
bcl functions can access a local variable from calling scope

ref https://github.com/peachpiecompiler/peachpie/issues/895

github.com/peachpiecompiler/peachpie - 6cb03d07c1ed3c1eac82f398cac249f50f98c0b6 authored almost 4 years ago by Jakub Míšek <[email protected]>
binder fix for PhpAlias (abstract PhpAlias)

github.com/peachpiecompiler/peachpie - 0055ef7d56e13c3053f6f6af256c536d6af54f65 authored almost 4 years ago by Jakub Míšek <[email protected]>
docs update

github.com/peachpiecompiler/peachpie - 8601f8bd0a6343b62ed18753e7b17203058445a8 authored almost 4 years ago by Jakub Míšek <[email protected]>
session_set_cookie_params() with options array

fixes https://github.com/peachpiecompiler/peachpie/issues/893
although; the functionality is sti...

github.com/peachpiecompiler/peachpie - c766f8be8a516c843a00f826d3bdecda47b68f7e authored almost 4 years ago by Jakub Míšek <[email protected]>
sdk: ProduceReferenceAssembly=false

github.com/peachpiecompiler/peachpie - 23b7430151dbb4f355ebb16e9790f6ea30f743f0 authored almost 4 years ago by Jakub Míšek <[email protected]>
mysql: cleanup

github.com/peachpiecompiler/peachpie - e2d2c3847cae2e0a881c5ca44d2c5bc44375da1d authored almost 4 years ago by Jakub Míšek <[email protected]>
mysql: mysql_connect() overload that wraps an existing IDbConnection

github.com/peachpiecompiler/peachpie - 2a0b0e0efc2277e0dd48422e20c8fd0389eb9bb6 authored almost 4 years ago by Jakub Míšek <[email protected]>
(asp.net) helper GetSessionItemsName

github.com/peachpiecompiler/peachpie - 72585f6e6ddc48a9a1843c7a006feb11945769f6 authored almost 4 years ago by Jakub Míšek <[email protected]>
test fix for PHP 7.4 vs. 8.0

github.com/peachpiecompiler/peachpie - 6aad46eb86da700040dd1a396840e73911afedaa authored almost 4 years ago by Jakub Míšek <[email protected]>
(asp.net) shared session fetches values lazily

ref https://github.com/peachpiecompiler/peachpie/issues/766

github.com/peachpiecompiler/peachpie - 4502d19af4215034610aeee554de3db4367bef76 authored almost 4 years ago by Jakub Míšek <[email protected]>
explode() parameter name to match PHP

- removes overload
- updates parameter name

github.com/peachpiecompiler/peachpie - e7dd801b9960db7719e20bc1a814babea0ee8899 authored almost 4 years ago by Jakub Míšek <[email protected]>
PhpAlias is abstract; virt call of its operators

github.com/peachpiecompiler/peachpie - 30df79b2f1848beb7dba65cb0efae2633cb91358 authored almost 4 years ago by Jakub Míšek <[email protected]>
PhpAlias is abstract, fixes emit and reflection cache

github.com/peachpiecompiler/peachpie - c0b053b7529a48e74d9ffc444c4e8fd96683ab38 authored almost 4 years ago by Jakub Míšek <[email protected]>
PhpAlias is abstract

github.com/peachpiecompiler/peachpie - a482952b3c28ad544d05d8d597f8fffa95063815 authored almost 4 years ago by Jakub Míšek <[email protected]>
PhpAlias is abstract

- PhpAlias provides virtual methods instead of fields
- removed some deprecated internal API
- r...

github.com/peachpiecompiler/peachpie - 49980faff5cc2d14d22056b45255602cd44ddaae authored almost 4 years ago by Jakub Míšek <[email protected]>
removed <PackageTargetFallback>

github.com/peachpiecompiler/peachpie - 7661648de903e0bc725eda9f0033863aff87d6ea authored almost 4 years ago by Jakub Míšek <[email protected]>
updating packages

fixes https://github.com/peachpiecompiler/peachpie/issues/891

github.com/peachpiecompiler/peachpie - 0760f84b09bda388bd194a9bd85fcd6df9ed0e81 authored almost 4 years ago by Jakub Míšek <[email protected]>
sdk: default items

EnableDefaultItems = true
EnableDefaultNoneItems = true
EnableDefaultCompileItems = false
Defaul...

github.com/peachpiecompiler/peachpie - f5285ff02c152f37efa6d92cfc9b8cb9563a132f authored almost 4 years ago by Jakub Míšek <[email protected]>
sdk: rename ProjectItemsSchema.xaml

github.com/peachpiecompiler/peachpie - 94459b4d6986025b0e7bba54981c6349b88d43c3 authored almost 4 years ago by Jakub Míšek <[email protected]>
more mysqli functions

github.com/peachpiecompiler/peachpie - 28352cf39db41ef56829a46aa083789c7cb0be16 authored about 4 years ago by Jakub Míšek <[email protected]>
PhpToken, token_name()

github.com/peachpiecompiler/peachpie - f67d24cebf87d4f49f3227251e765885a6a50f31 authored about 4 years ago by Jakub Míšek <[email protected]>
password_algos()

github.com/peachpiecompiler/peachpie - e81c587e9b6bcfd417fc2ad13e925cba0eaa9159 authored about 4 years ago by Jakub Míšek <[email protected]>
fscanf(), vfprintf()

github.com/peachpiecompiler/peachpie - 77244adb9b75f68c00c7da8552cf00b6fb32fdb0 authored about 4 years ago by Jakub Míšek <[email protected]>
vsprintf() cleanup

github.com/peachpiecompiler/peachpie - 930998f76ab26d6d4cd073bee73a30e23c436ceb authored about 4 years ago by Jakub Míšek <[email protected]>