« first day (1126 days earlier)      last day (1368 days later) » 

2:39 AM
@Night2 I didn't pay attention and installed PHP 8. Does that work too or does it have to be 7.4?
 
 
2 hours later…
4:13 AM
@Dennis I don't think that PHP 8 is a good option for now, it is in early development stages and there can be years left until its release. And I believe there will be many deprecations in it in the future, breaking existing TIO PHP codes.
Actually existing codes are already broken :P Sample
 
 
8 hours later…
12:13 PM
@Night2 Oof. Reverted the changes for now. I'll build the right version later.
I wish there was a way to choose it automatically. api.github.com/repos/php/php-src/tags is out of order (php-7.4.0beta4 is newer than php-7.4.0RC2), they don't bother with releases, and php.net/downloads only has stable versions...
 
12:56 PM
@Dennis Yeah that is a problem, I think easiest ways are waiting for final release or what Pavel has posted here: chat.stackexchange.com/transcript/message/51754977#51754977 Interesting that they have binaries for Windows version here: windows.php.net/snapshots but nothing for the Linux family!
 
The remi repos sort of have the same problem. I'd install the php74 package, so I'd still have to pick the version manually.
The build is also unoptimized and noticeably slower than building from source...
 
I'd say wait for final release then, at least you won't need to build from the source again.
 
@Night2 PHP 7.4 isn't much better. You only get deprecation warnings, but they're printed to STDOUT for some reason, so the output is unintelligeble.
It probably ignores /etc/php.ini. I'm not sure where in /opt/php it would search for one though...
 
1:13 PM
@Dennis I think the default .ini file is not there or it is using the default development ini file instead of production.
 
In default production ini this should show show stderr instead of 1: tio.run/##S0oszvj/P8AxxMNWP7@gRL8go0A/…
 
-c /etc does the trick.
 
@Dennis Nice
 
OK, I'll set it to build from the PHP-7.4 branch then, since I can't get releases automatically. If that works too, I'll go with that.
 
1:17 PM
I think it should work, unless they commit something which isn't ready for a release in that branch shouldn't cause any issues.
@Dennis php.net/manual/en/migration74.new-features.php Arrow functions, Unpacking inside arrays, Null coalescing assignment operator these 3 features can actually be good in a case to case basis, specially the arrow functions. Any PHP solution so far with a function can probably be shortened now and any solutions which avoided functions due to large bytes count for function x(...){return ...;} can also be re-designed with arrow functions in mind.
 
1:39 PM
 
1:58 PM
@Dennis Thank you!!!
 
 
2 hours later…
4:03 PM
New language: tio.run/#caboose
@Jono2906 The Hello World prints !dlroW ,olleH. Is that an error in the docs, a bug in the interpreter, or something on my end?
 
@Dennis Here you say that NARS2000 doesn't work with Mono (via Wine, I assume), but have you tried with .NET Core? (Sorry if this is a stupid question, but NARS2000's main developer just approached me about getting it on TIO.)
 
I don't think I can execute WIndows binaries with .NET Core.
 
@Dennis Isn't that Wine's job? I didn't really understand what Mono had to do with it.
 
Wine uses Mono to run Windows executables.
 
@Dennis Ah, I see. Thank you for explaining.
 
4:18 PM
I'm a little fuzzy on the details myself, but afaik there's no way to separate Wine from Mono.
@Adám The website says NARS2000 is GPLv3, unless I misunderstood something. Where do I get the source code?
 
@Dennis Browse Code leads to something that looks like source code to me.
 
Not sure how I missed that. -.-
 
 
6 hours later…
10:04 PM
@Dennis Error in the docs. Program fixed on GH.
 

« first day (1126 days earlier)      last day (1368 days later) »