« first day (3708 days earlier)      last day (1244 days later) » 
00:00 - 15:0015:00 - 00:00

3:02 PM
btw.... is "Union Types" really correct in English ?
shouldn't this be "Types Union"
 
no
In English the adjective goes before the word, unlike in French :-)
 
what is the adjective there ?
 
"union" ... not quite an adjective, but it's a descriptor
 
Is it a "union of Types" or a "type of unions"
 
union of types
 
3:04 PM
So "Union de types" for french
 
oui, that's what I would have picked. Certainly not the other way around
 
that was the original discussion = "Types d'union" (in php.net/releases/8.0/fr.php) is really wrong
 
@RemiCollet well, it depends what you mean, "type d'union" would be emphasis on the type which is an union of types, "union de types" would be just an union of types
if we had an type foo = A | B, foo would be un type d'union (de types), no?
 
If you then removed 'B' would it be bexit? (runs)
 
type d'union = weeding, cohabitation, civil union, ...
 
3:17 PM
haha
 
... we need to add type info to ArrayAccess... only being able to put mixed as a type declaration is annoying :(
 
Goooooooooood Morning, Room 11!
 
Well it is a morning instead
o/
 
\o
@PeeHaa Sus
 
:P
 
4:08 PM
This is interesting
81
Q: "Hello, World!" in zero lines of code

SisyphusNPM's sloc is a moderately popular tool for counting source lines of code in a file. The tool will attempt to strip out both single and multiline comments and count the remaining lines in order to get an estimate of the 'true' number of lines of code. However, the parser used is based on regular ...

There's even a PHP answer and it's ugly
 
I am both impressed and horrified.
 
cmb
//Hello, World!
 
They were too preoccupied with if it could be done, to think about if it should be done..
 
5
A: "Hello, World!" in zero lines of code

Dewi MorganPHP, with various commandline shenanigans, 0-33 Depending how I read Command-line flags on front ends, various of these answers may apply. I feel none do, so downvotes are fine and expected on this one :) I'm posting it more as an exploration of the problem-space, perhaps towards an eventual argu...

@MarkR I think that's the MO of code golf
 
4:40 PM
@StatikStasis Good Morning, Morioh Cho!
 
\o
did you get the reference?
 
@Dharman Ok. Thank you once again!
 
@NikiC (et all) Is there a API call somewhere that calls a "zend_function*" in a simple way. I don't need arguments (it's __toString) with of course an object scope
 
@Derick Zend_call_known_method or so
 
4:52 PM
there is a zend_call_method_with_0_params - that it?
 
@Derick zend_call_known_instance_method_with_0_params
 
not in 7.4...
 
@Derick In that case zend_call_method ^^
 
@Derick heap.space/xref/php-src/Zend/zend_execute_API.c?r=904c1b65#963 it's pretty simple, I think you can just copy it as is with an ifdef
(without named_params)
 
5:21 PM
cheers - I ende dup not calling anything (because it was in an exception handler)
 
5:40 PM
@Tiffany PHP is the uncontested winner of 'Hello, World!' in minimal lines of code as it's hello world program is the words: "Hello, World!". That's 13 bytes (the string itself), you literally cannot go shorter than that.
 
@Sara How's things. Juliette has asked me to ask you whether you got an email from her wrt to WordPress? :-)
 
If you MUST do it as a CLI string, then fine: php -r "?>Hello, World!" gets you up to 24, still probably shorter than anything other than Shell scripting. :p
/me checks email...
 
It's from some time ago
 
So... wait... some vendor wants to get two open source orgs into a closed room to... talk through feelings?
 
:D
 
5:44 PM
Sorry, my initial response to this is: "Why not just open a thread in one or the other project's public forum and start talkin'" ?
 
I mentioned that I also don't quite understand what the goal is... but I'm happy to talk to the people from Yoast.
 
You and I don't represent PHP though.
((I mean, we do a bit, but not really))
 
nobody does
 
That ^
 
RFC: Add "X" as a predefined constant for "Hello World"
 
5:45 PM
Which is why it should be in a public venue.
 
But OTOH, you know how effective it is to do a long email thread than a athree person phone call
sorry, that GIF i smaking me dizzy - can you please remove it?
 
Sure, and I suppose a few exchanges as a pre-conversation aren't unreasonable to meter expectations, but the part that squicks me is the call. This doen't need to be a call and the suggestion smacks of something gross.
But yeah, I'll reply/
 
cmb
@Derick the PHP Group does :p
 
Who?
 
The Who
 
5:51 PM
He's on first.
 
:-)
 
@cmb Actually, no. They don't.
"The PHP Group" is an entity which exists solely for holding trademark.
The only "thing" that represents PHP is the consensus built on internals@
 
6:20 PM
So what you're saying is... supreme executive power is derived from a mandate of the masses?
 
6:41 PM
@MarkR got a problem with it? Take it up with internals :P (sorry, I couldn't resist)
 
@MarkR I don't think so, I believe its "those who wish to put effort into it" or something like that :)
 
7:07 PM
github dark theme is sexy af
moin :-P
 
yeah, baby :P
 
coool!
 
I kind of want to see it on a cinema screen tbh, seems a shame to waste a full cinematic trailer like that
 
@MarkR If you scour the archives, you'll find me making that EXACT statement some many years ago, funnily enough.
@DaveRandom So, I'm guessing they weren't willing to pay for the music rights to "Hello, Darkness".
 
7:16 PM
Seems like some overlord kind of stuff
 
@Sara inorite
though also it kind of seems like the wrong vibe :-P
 
Yeah, that would have made it sad
 
ac/dc back in black maybe?
 
@DaveRandom Finishing the server setup with 8.0.0 in it now. Will secure it tomorrow and test out the cert again.
 
I think any good heavy metal would have suited well
 
7:22 PM
@JukEboX cool - although I'm not expecting that to make any difference, it might
 
@DaveRandom I know but its a clean server now and I will put the cert in the COmmon Files location and try and get my code to work to at least get it working again
 
it should deffo work like that
 
 
2 hours later…
9:01 PM
Were there any other comments on these Doc PRs? github.com/php/doc-en/pulls/@me - I don't want to commit my own stuff prematurely.
 
@Crell URL is using @me and @me is not @you
 
9:55 PM
hi guys,

this code

char *p = zend_string_dup(zend_string_r, 0);
// zend_string_release(p);

run with
- watch -n 3 sapi/cli/php prog.php
- output
Zend/zend_string.h(141) : Freeing 0x0000000102601e10

run with
- watch -n 3 USE_ZEND_ALLOC=0 sapi/cli/php prog.php
- output
ok

PHP compiled with
./configure --disable-all --enable-debug
make -j6

Why ?
Wasn't I supposed to be the other way around?
 
10:09 PM
because you didn't use the zend allocator so it doesn't know when free() is called
or, more accurately, that output you see is from the zend allocator impl of efree(), if you disable the zend allocator it becomes an alias for free()
 
Ok but I don't disable zenaAL with the env = 0 ?
 
USE_ZEND_ALLOC=0
USE_ZEND_ALLOC=false <-- says that
 
ahhhh ok only USE_ZEND_ALLOC=0 without valngrind it's no sense right ?
 
i.e. "don't use the zend allocator"
@BruceStackOverFlow always use USE_ZEND_ALLOC=0 if you are using valngrind
 
10:14 PM
and probably don't ever use it unless you are using valgrind
the main purpose of the option is for debugging memory issues :-P
 
exact @DaveRandom
 
cmb
or other memory checkers
 
yes indeed ^
 
I miss the memory checker
fuck :-) thanks
 
@Jeeves poke
@PeeHaa fixitfixitfixitfixitfixit
 
10:34 PM
checking
 
cmb
It's alive! :)
 
...
 
it was hitting the same service start-limit issue as I had on gitamp, it seems connecting to SO for authentication failed for a while there
 
There are no RFCs in voting. We can't have nice things
5
 
cmb
@Jeeves has taken over @PeeHaa's account o_O
 
10:37 PM
"not RFCs", smh
 
@AndrasDeak ?
 
:P
@cmb The bad thing is I am sure it's a 5 minute fix at most :P
 
17 hours later
 
Also that yeah :D
 
10:40 PM
feature request: allow listing other rfc statuses :-P
 
The problem is that list is potentially yuuuuge
 
eh, right
well, last 5 maybe
 
Last five maybe
Like that?
 
:-P damn PeeHaa on keyboard
 
whoops :P
I like that response even better without context
 
10:42 PM
:-)
 
11:11 PM
I have an Spl\Optional datatype in an extension that I've written here and there over time. It implements Countable, ArrayAccess, and IteratorAggreate and acts like a collection with a maximum size of 1. It uses IS_UNDEF as a tag to use only a single zval for storage instead of two.
I think we should add it to core for 8.1 and make the extension available for 8.0 and 7.X. Anyone willing to do a review on it? I haven't published it yet or I'd link it already.
 
00:00 - 15:0015:00 - 00:00

« first day (3708 days earlier)      last day (1244 days later) »