peachpiecompiler / peachpie

PeachPie - the PHP compiler and runtime for .NET and .NET Core
https://www.peachpie.io
Apache License 2.0
2.38k stars 203 forks source link

PHP String Operator crash #167

Closed Seimann91 closed 6 years ago

Seimann91 commented 6 years ago

Hi, When I use php string operators, I get a dotnet.exe APPCRASH (Peachpie WebApp)


$a = "Hello ";
$b = $a . "World!";
// or
$a = "Hello ";
$a .= "World!";
jakubmisek commented 6 years ago

Do you have a stack trace? It is possible it happened in a previous development version, we can't get it crash with provided test case.

Seimann91 commented 6 years ago

OK I see there is another problem here, ERROR MSB3073 Command "dotnet compile-php @obj\Debug\netstandard2.0\compile-php-args.rsp" exit with code Code -532462766. Line num 154

Code Line <Exec Command="dotnet compile-php @$(TempOutputDir)compile-php-args.rsp" />

No idea how that comes about. But it is also on new peachpie-web projects. I try a new installation VS / Peachpie and then write again

Seimann91 commented 6 years ago

@jakubmisek Right! I had a faulty VS2017 installation. (For whatever reason) Thanks for looking, and thanks for the feedback! best regards

bfistein commented 6 years ago

@Seimann91 glad you were able to find the culprit and happy it wasn't us :) closing this issue.