« first day (3835 days earlier)      last day (1103 days later) » 
00:00 - 23:0023:00 - 00:00

11:01 PM
@JoeWatkins Oh… I thought that was only to be valid as a return type, at least for now.
 
<?php
class Foo {
    public noreturn $int;
}

$foo = new Foo();
?>
from an actual failing test
what where they thinking when they wrote that ... none of this makes any sense
 
@JoeWatkins Are you on the correct, current branch? I'm seeing public never $int on the PR.
 
commit 38b42314a4d932bead01a79cf47d9f52e2c5d9e2 (HEAD -> master, origin/master, origin/HEAD)
Merge: f1ad9199ef d918c1443e
Author: Christoph M. Becker <cmbecker69@gmx.de>
Date:   Fri Apr 16 17:56:44 2021 +0200
no matter the word, making that work requires strange things in the parser and I don't see them ...
oh my bad, it's not in git
yeah, it doesn't exist anymore
<?php
class Foo {
    public never $int;
}

$foo = new Foo();

var_dump($foo, $foo->int);
Fatal error: Uncaught Error: Typed property Foo::$int must not be accessed before initialization in /opt/src/php-src/never.php:8
Stack trace:
#0 {main}
  thrown in /opt/src/php-src/never.php on line 8
 
11:16 PM
That's what I would expect on master, yes.
Never types have not been merged yet.
 
oh haven't they
hahaha
that makes more sense ... I saw the tests ...
 
Yes, I was wondering how you were so confused. Now it all makes sense :)
 
@CraigFrancis this, maybe ...
 
I have Azure picking the wrong assembly file for the i386 build. Anyone have a suggestion as to how to fix that?
Query CFLAGS for -m32? Is there another pre-set variable I can test?
Here is how I'm currently determining which assembly file to compile.
$target_cpu instead of $host_cpu maybe?
 
look for other people setting ASFLAGS in their pipelines
possibly march
I'm not sure, never done it ...
@Trowski that would be for a cross compile I think, like what autotools considers host/target
 
11:33 PM
Yeah, which in this case is going to be the same anyway.
Ruby uses $target_cpu in their configure.ac, so it's worth a shot.
 
Mar 11 '19 at 9:57, by NikiC
@JoeWatkins any experience with php m32 builds?
apparently, I have done it ...
I was looking for -march ... I'm sure I've had a conversation about that one before, in the same sort of context (autotools/build) ...
 
yeah why not, press all the buttons and see what happens ...
 
Ruby has this for linux on x*64, maybe this is why.
And here I thought Windows was going to be the pain…
 
11:49 PM
well that didn't work
 
@JoeWatkins Thanks, I’ll have a proper look in the morning, must admit I hadn’t thought of a providing a printf() function as well, but you’ve got the right idea (only the 4th one being allowed, where it will only combine the programmer provided strings, nothing from a function or outside source). Thanks again.
 
00:00 - 23:0023:00 - 00:00

« first day (3835 days earlier)      last day (1103 days later) »