« first day (3622 days earlier)      last day (1325 days later) » 
00:00 - 22:0022:00 - 00:00

oh right.
 
though it looks like PRs are accepted
 
Now where would I find a designer to make my horrible (but interesting!) Web publishings look polished...
 
@Wes?
 
I'm even willing to pay for it.
I do need to find myself a reasonable good designer for some things I'd be working on...
because FFS, I can't design myself out of a can of sardines
 
12:58 AM
Good morning
 
 
5 hours later…
6:22 AM
Morning, I've got a question about JIT configuration. Nikita mentioned that there's a fifth trigger option that wasn't present in the RFC: https://www.reddit.com/r/PHP/comments/hjxlh9/jit_benchmarks_on_reallife_web_applications/fwp8mco/

Is there any documentation about this option?
 
cmb
6:58 AM
@BrentRoose this "trigger=5" is now the default; if you want to be explicit, use opache.jit=tracing; there is a work in progress doc PR; help welcome
 
7:12 AM
Good morning.
 
cmb
moin
 
\o
 
8:10 AM
bore da
 
Wes
8:47 AM
@Derick i'm willing to help, been trying to give back to the community with design stuff. not that i am actually good or anything, but i know where buttons are in illustrator :B
 
This isn't really a PHP community thing though.
Let's see if I can show you though...
 
Wes
it's ok if it's programming stuff
problem is, i'm kinda busy. long term projects might be an issue
 
It's nothing long term, I just want 82.113.146.228:9444/walk.php?w=bakerloo to not look as shite as it does :-)
It's backed by php -S so... not too fast :-)
 
Wes
so basically just position the photo a little better?
 
I don't like the look at all :D
Not the font, or the black box, or... anything :-)
 
Wes
8:59 AM
is the map important?
 
yes, I'm a map geek
 
Wes
like, should be actually usable or it's ok if it's covered by the picture?
 
The idea is that I show off my walking route (right of the picture) with a story and photos
the photo should currently not cover the part of the map that's important
But you can click on the black circles to go to that place too
 
Wes
i'd make 2 horizontal panels/frames. 2/3 of width photo, 1/3 map
i am not fan of overlying the photo on the map
unless the photo can be closed or something
 
I had that at first, but it looked odd as the photos don't all have the same size.
Any recommendations for the text box though? Both styling and fonts?
 
9:18 AM
@Wes: reload ?
that's what I had at first
 
Wes
was changing the previous one a bit :P
 
that's OK, I have it in GIT :D
 
Wes
@Derick try this for a starter. the caption box must be moved somewhere else pastebin.com/pmzCUP0U
working on that
 
ah, that works, with the gradient (I can't easily update that on the URL you look at though)
 
Wes
looks better with some margin around photos
ok i can change it locally
can you revert to the one with the image on top of the map?
i don't dislike the one i see now though
 
9:34 AM
gimme a sec
done
Some captions might actually get more text than the first one
And I don't really like it covering the photo :-)
 
Wes
ofc, 1 sec
 
9:50 AM
Hello All
I am trying to upload an image to Amazon AWS S3 bucket
in laravel
But getting error
Error executing "PutObject" on "{bucket_link}/images/blogs/1d91aa30169573f89ae36af7748801e6blog.jpg"; AWS HTTP error: cURL error 60: (see curl.haxx.se/libcurl/c/libcurl-errors.html)
Can anyone help please
with

Storage::disk('s3')->put($filePath, file_get_contents($file), 'public');

this line of code
 
Did you google this? First thing that shows up for "php aws curl error 60" is laracasts.com/discuss/channels/laravel/…
 
Wes
10:13 AM
i actually don't like the polaroid much, but maybe you do
 
I don't either :-) But in any case, there is a z-index problem and the map always sits on top :-)
 
Wes
what browser are you using?
 
that was my fault, I had over written the #map in the stylesheet
But still some issues viewing
I'm on Firefox 80
sorry, 78
 
@Derick I checked but did not get an idea
 
@Wes derickrethans.nl/files/dump/walk.png — covers the text, and I have a scrollbar :-)
 
Wes
10:19 AM
#image {
margin: 10px;
max-width: 100%;
max-height: 100%;
box-sizing: border-box;
box-shadow: 5px 5px 20px #00000085, 5px 5px #0000006b;
background: transparent;
border-radius: 2px;
border: 1px black solid;
}
looks fine in chrome, lemme check
 
i can't copy and paste from this window into my code - it's on a different computer :-)
 
@Wes @Derick ftr he actually is pretty good, he doesn't like it when people say that but it's true and you should know he's much more of a person to listen to than he makes out :-P
 
Wes
didn't pay him to say that (should i?)
:P
 
@Wes Do you think it makes sense to have the text only underneath the map on the right?
 
Wes
like to leave more room for the image?
 
10:26 AM
yeah, reload the photo URL derickrethans.nl/files/dump/walk.png
need to adjust the map a little, but that's coding
did you pick the border colour according to the GPX line colour?
 
Wes
that's ok also but it's not a lot of space for the text
 
Might make a wee bit wider
Thanks Wes, I like it this way :-)
 
10:41 AM
does that replace everything ?
 
Wes
no just the respective selectors
should look like that ^
maybe use ◄ ► as arrows
the text box should also scroll now, if text doesn't fit
problem is, text is fixed width, window is getting bigger so it looks weird at large resolutions. you might use javascript to resize the text box accordingly
gotta love the fact that we still don't have a css solution for that kind of stuff
 
I mostly like this, but not the green :-) I've changed it to the same colour as the other brown. I also think they ought to be a bit bigger buttons, and I'll change my "hover over" code for it.
 
Wes
try adding font-size: calc((1vw + 1vh) * 1.1); to #description
that should make the text bigger as the resolution increases
yep that makes it much better
 
It does, but it's way too big now :-)
 
Wes
just change the 1.1 to whatever you prefer, like 0.8
 
10:50 AM
yeah, I just did that.
Now the only thing I'm not sure about is whether the text isn't too wide, which can make it hard to read
 
Wes
i can maybe cap the max width
i'm not sure
 
@Girgias Do you mind if I try to changing the ZPP of count() in the following days, as @NikiC suggested yesterday?
Or do you want to do it yourself? I'm ok either way :)
 
@MateKocsis I was planning on doing that more or less now, after I cleaned up the SNMP test
 
A bit scared about XSL and Iconv for the warning promotion PRs :p
 
Wes
11:03 AM
looks pretty good
 
@Girgias Feel free to do it then ^^ I need to calm down a little bit with the work. :)
 
And live at 82.113.146.228:9444/walk.php?w=bakerloo — I opted for the text box to get higher (and slightly overlap the photo) instead of a scrollbar)
 
@MateKocsis I feel you, I did attempt to power through a lot this weekend before RC1, and then that got pushed back :D
 
Wes
see the height: 30%; and bottom:30%; in #text and #photo? @Derick change it to calc(10vw + 10vh) so it's more dynamic, makes itself bigger according to viewport
 
Have you R11 inhabitants seen this? twitter.com/confooca/status/1305660049944195072?s=19 :D
 
11:07 AM
@Wes Yeah, I like that.
 
Pretty nice Elephp8ants! :)
@GabrielCaruso When do you plan to create the tag today? I have a PR which needs a review from Jakub Zelenka, and which would be nice to have in Thursday's release. :)
 
@MateKocsis I read this as "elephpbants" which is... I dunno, making jokes about elephpants?
 
@Wes Now I just need to write the text and walk the other 10 tube lines :D
 
Wes
lol :D
 
@DaveRandom :D Did you check the link in my previous message? :) It would make elePHP8ants more clear. :) Unfortunately, I sent these two messages separately :/
 
11:21 AM
no but I figured out it was intentional and what it meant after a couple of times reading it :-P
 
Happy Tuesday
 
ddyd mawrth da
 
Wes
i like the elephant
that reminds me i also have other graphic stuff to do, for another elephant
small poll, when i say "data structures" do you think also of classes, structs, or just arrays, maps etc?
 
11:37 AM
not classes because they contain logic as well as data
 
it's a data structure with logic, so I would include it. I would probably make it more obvious in my writing though
 
Wes
i probably should too
 
@cmb Oohhh fancy C11 and C17 in MSVC devblogs.microsoft.com/cppblog/…
 
12:06 PM
Good Morning, Ladies and Gentlemen, boys and girls, dogs, cats, and all other present company!
 
@Danack thinking it was down when the DO region was under maintenance
morning o/
 
@Ekin now you know it's used enough that people notice when it's under maintenance :P
 
heh, yeah
 
12:29 PM
@StatikStasis I am gender-less
 
@FlorianMargaine I strive for inclusion, hence "all other present company."
 
cmb
1:09 PM
@Girgias I'd rather see them implementing C99
 
@cmb I think that ship has sailed sadly as they seems to have decided VLAs are bad and don't want to implement them
 
cmb
yes, very likely
anyway, channel9.msdn.com/Shows/On-NET/Wordpress-on-NET-Core (hey, no more need for PHP 8 ;)
 
One thing I'm confused about however is their lack of Complex number support, because they do have support for complex.h
Probably missing something else which was added in C11
 
Any recommendations for a high end home office chair? Genuine leather preferred.
 
Is "zend_long" guaranteed to be 64-bit?
 
1:15 PM
Don't think so, I would expect it to be 32bit on 32bit architectures
Also @Derick I'm confused about the false return type on the Date warning to Error promotion PR
 
@Derick no
If it were, we would call it uint64_t :)
 
@Girgias On idate() ?
@NikiC OK, I thought so.
we're currently at bit 28... so running out soon :-)
 
@Derick No that one I fixed, I forgot to do it the previous rounds of fixes. Talking about date_timestamp_get()
 
link me to the right comment please?
 
And I forgot to fix the 32bit tests...
 
1:25 PM
just cut the x64 tests in half
pretty sure that's how it works
 
@Girgias I think I was confused. idate() does not have that change right, as it can still return false?
 
Yes indeed, and I reverted that change so it does return false now
Probably why all the 32bit test failures
 
WHy is this file in this PR: github.com/php/php-src/pull/5613/…
 
That's a good question
 
:-) The rest looks OK
 
1:34 PM
@PeeHaa @Ekin Watch this one mission I did last night. I was supposed to take out this ambush camp. There happened to be a horde nearby so I lured them into the camp to take care of them... then I try to blow them up... but I ended up having to run and barely got away. youtube.com/watch?v=HcjKuExxx6c&t=4m22s
 
1:45 PM
@Ekin maybe it took the apache java thingy a long time to come up. I was seeing an index page that I don't remember the actual words on, but think it said something like, 'yay, your apache server is up, even you'd deployed any war files, they would be here.'
 
@Danack oh, I see. I'll take a proper look later in the day then, thanks for letting me know :-)
 
2:03 PM
meh....it's working now. probably only worth looking if it happens again...and if I see it again, I'll make a note of how long it takes to come up.
 
2:46 PM
@NikiC I feel like your ability to throw gentle shade has improved over the years.
 
3:01 PM
Good morning everyone. I am using MPDF. Does anyone know why when using CSS "@page { margin: 7mm; }", the properties (SetHTMLHeader) and (SetHTMLFooter), disappear from the PDF?
 
@NikiC Well, int64_t, right?
 
by chance, does anyone know of a simple tutorial that gives a person a starting point for a project in PHP, like setting up composer, setting up composer.json, and an autoloader/autowiring? I know there's Patrick's no framework tutorial, but it's a bit more full-fledged than what I want to suggest to someone
 
@bwoebi I haz new and exciting use after free
<?php

function from() {
    yield 0;
    throw new Exception();
}
function gen($gen) {
    yield from $gen;
}

$gen1 = from();
$gen2 = gen($gen1);
$gen3 = gen($gen1);
try {
    $gen2->next();
} catch (Exception $e) {
    unset($gen2);
}
$gen3->next();
 
I think I have an odd generator related leak seen in Xdebug's valgrind test output too
but that could just be me
 
3:17 PM
@NikiC Found through fuzzing?
 
@LeviMorrison yeah
 
Keep up the good work!
 
3:29 PM
@beberlei Do you do hashtable lookups on function/method and class names at all? I suspect most APM products do for one reason or another. Looking for motivation to store the lowercased name of classes and functions/methods directly in those structs so we don't have to keep lowering the strings.
 
@LeviMorrison We do
 
Seems like it might make sense to store the lcname in the engine structs then.
@NikiC Any objection to that?
 
3:45 PM
@LeviMorrison it would probably be worth double-checking storing that actually gives a performance improvement on a heavily loaded system. It's not entirely obvious that doing less work in string case lowering is going to offset the extra cache misses....
 
Sure. You have to measure that once you have a proof-of-concept. I was thinking about other objections.
It already stores it lowercased somewhere, btw. It's in the oplines, I think.
 
@NikiC I just had seen the OpCache issue before you noticed it :(
 
4:10 PM
@NikiC That's a a new one, happening during initial yield from
 
4:27 PM
Could someone help me with a session issue I am having?
nevermind ill figure it out
 
4:48 PM
@JustinHarris nohello.com
3
 
@JustinHarris Maybe with some context ^^
 
5:09 PM
mysqli_query() fails for big query when compression is enabled ・ MySQLi related ・ #80107
 
@LeviMorrison which structure are you talking sbout? We Do case sensitive lookups at the moment, but lc would obviously be more stable
 
The name of the class in zend_class_entry and the function/method name in zend_function.
 
6:08 PM
@NikiC Got a few min - trivial one this time :-)
For reasons we only caught the case where it was properly terminated, but not via exception
 
@bwoebi Let's see if this holds up :)
 
@NikiC I'm waiting for the fuzz which finds a fundamental flaw in the base architecture of yield from
And hope it never comes :-D
 
6:53 PM
> #ifdef WHEN_WE_NEED_TO_CHECK_WHETHER_COMPRESSION_WORKS_CORRECTLY
@MateKocsis nice.
 
7:10 PM
Did PHP 8 get tagged yet?
 
@LeviMorrison not sure its important for me, we check case sensitive at the moment and didn't have a problem with that yet
i would like to avoid having to convert to lower case in the hot path
 
@beberlei can you give a quick glances at the recent changes I pushed to the DOM PR?
 
@beberlei Do you support CodeIgniter? I'm pretty sure case sensitivity is required for certain bits, though maybe you don't use those bits.
 
no we dont support code igniter
 
user1804599
7:26 PM
Last time I used CodeIgniter the only thing I wanted to do with the code was ignite it.
5
 
@NikiC Where are these oss-fuzz IDs from commit msgs linking to?
Also: are you basically running your fuzzer all day, apart from reviewing PRs? :-D
 
7:52 PM
Yeah, I was also curious about these questions ^^ :D
 
@StatikStasis weird, just checked the wotd plugin and apparently I wrote the implementation for it last year, but it is not loaded into @Jeeves some reason, @PeeHaa, can you clarify? github.com/async-bot/word-of-the-day-plugin
!!wotd
 
Sisyphean : of, relating to, or suggestive of the labors of Sisyphus; specifically : requiring continual and often ineffective effort
 
huh, apparently its loaded, but its not automated and doesn't pin the message.
 
8:10 PM
@Jeeves of, relating to, or suggestive of social media
although tbf at least sisyphus actually committed a crime, all we ever really did was try and talk to each other
it just turns out that humans are all throbbing members and we shouldn't talk to each other, not really the fault of the internet
 
@bwoebi It's Google's OSS Fuzzing project: github.com/google/oss-fuzz/tree/master/projects/php
I think they do a nightly run
 
@mega6382 I will say nothing other than that the version I wrote used to work properly. Take from that what you will @PeeHaa.
4
:-P x
 
lol
 
The fuzzers run on Google's cluster fuzzing infrastructure, I just fix the issues it finds.
 
8:26 PM
ah, thanks
 
Unfortunately not all issues are easy to fix. It also runs into some of the "usual suspects" that we don't really have a way to deal with
 
Is ther any MySQLnd expert here? Cause I don't think any of the warnings can be promoted but I really don't understand any of it so just want to double check :)
 
Like the usual problem of user code running in some annoying place and destroying a structure being currently modified
 
@NikiC like with error handlers and such mostly?
 
@bwoebi yeah. error handlers, __toString, destructors, you know the drill
 
8:28 PM
and destructors maybe
okay
 
@Girgias iirc @cmb has experience with mysqlnd, I might dreamed that though
 
@Girgias From a very quick glance, yeah, those don't look promotable
 
@mega6382 \o/
 
@NikiC Right, I also did a quick glance through main/ but there too it seems unpromotable so maybe another scan through Zend/ and then I think we're mostly done with Warning promotions
 
@DaveRandom Considering nobody could be bothered updating it to new amp it "worked" :P
 
8:31 PM
sssshhhh
nothing is happening
 
@PeeHaa where is the code for this @Jeeves? I can't seem to find it in async-bot
 
thanks
 
why do we not have a persistent pin any more btw @PeeHaa?
is it intentional or just "not implemented yet"?
 
8:37 PM
The latter :)
 
@mega6382 if you wanna do that it would be sweet :-P
I might get to it this wkend but given that I'm behind on 2 project probably not :-/
 
@DaveRandom sure, was just looking into that
 
Pinning should be part of the specific driver
 
@PeeHaa Playing too much SMB
 
iirc it's a pita, you have to poll the HTML of the pins list
 
8:38 PM
I guess
 
or SMW
 
Been doing contra and SMB3 :D
 
@PeeHaa is there a way to schedule a "cron" to get the wotd daily? or does that need to be implemented too?
 
there's no nice clean API way to do it, although it might have changed by now
 
@mega6382 You can set up a timer
 
8:39 PM
@PeeHaa shouldn't it exist in the core? or as a separate "plugin" in itself?
 
By the way I am going to be working on some intro theme music for the stream here soon. We'll shoot it your way when it is ready. @PeeHaa
 
@mega6382 The drivers are separated as the new jeeves also talks to slack
 
hmm, cool, got it
 
just fyi in my head "SMB" means either "Server Message Block" or "Suck My Balls", I'm guessing it's neither of those things
 
@StatikStasis I was thinking of doing that for you too a while back when I had some spare time :)
 
8:40 PM
@DaveRandom The latter =P
 
@DaveRandom super mario bruvs \o/
 
ah yeh also that, fair
 
@DaveRandom its always the latter :p
 
Sexy Martian Beastiality
 
@PeeHaa Oh great! I'll wait then! =D
 
8:41 PM
@StatikStasis Time of spare time is gone again :D
I do want the source though when you did it @StatikStasis
 
I've noticed you've been busy as of late.
 
story of literally everyone's life, yo
 
@StatikStasis yeah adulting sucks
adultery on the other hand...
 
I feel like I haven't written a line of FOSS code for 3+yrs
 
btw @mega6382 in case you are looking github.com/async-bot/stackoverflow-chat-driver
 
8:43 PM
@PeeHaa /cc @Ekin
 
@PeeHaa why was there adultery before????
 
@DaveRandom Pretty much the same for me
@mega6382 wink wink nudge nudge
/me licks lips
 
@PeeHaa I really had to check which message you had replied to then
 
:D
 
@PeeHaa /me joins in
 
8:45 PM
@Derick, can you do a final review of the PR, I needed to split some of the tests into 32/64 bit variants due to the new Warnings introduced: github.com/php/php-src/pull/5613
 
rubs nipples
 
Have to married for adultery to occur. You guys have not tied the knot yet unless I missed that... fornication on the other hand with others...
 
@StatikStasis since when you became my mom :-P
 
rubs lips while licking nipples
 
@PeeHaa the js builtin date library sucks, moment.js was comparatively decent.
 
8:46 PM
@mega6382 It's the only way I can do dates in JS
It's like what bootstrap is for me for "design" :P
 
@Ekin LOL! Not sure if referencing marriage or the fornicating part. =D
 
heheheheh
 
you lost me at tying the knot sooooo
:D
 
the was a pretty decent (<1K) JS implementation of most of the useful bits of date() floating around a few years ago, I assumed that was a solved problem by now
 
@Ekin Oh ok, everything is all good then... because it looks like @PeeHaa and @DaveRandom were working each other up.
 
8:48 PM
@Ekin depends what you tie the knot around and how tightly.
 
And whether you look into my eyes when doing it
 
and by eyes he means arse
 
@DaveRandom Did it do i18n too?
 
probably not
 
@Ekin I think he is technically correct, as adultery can only occur out of wedlock
 
8:49 PM
is i02.5n a thing?
 
It is if you want it
 
i was basically english, dutch, and some sort of drunk mumbling in between the two
does that count?
 
@StatikStasis I think it doesn't count if you say "no homo" afterwards
 
@StatikStasis I can't potentially compete with his knickers :-P
 
8:50 PM
@DaveRandom That's my MO only with the addition of Turkish
 
(ftr @PeeHaa's "turkish" is him saying "durka durka" like 20 times until they give him a beer to make him go away)
 
lol
 
Pretty much yeah
 
@Ekin just fyi, earlier today I was designing some boxer shorts on a website with elephpants on, which I was panning to call elephppants
 
genius!
 
8:55 PM
inorite
which btw if I even get to name a newly discovered mineral, that's what it will be called
or maybe amirite
 
amirite sounds so much like a mineral name.
 
the thing about that is as well... so many things like that are named after people, and there are a shitload of ppl on earth called Amir... how is there not already an amirite
 
yes, you are right
 
@DaveRandom also btw there's a pretty high chance I will never be bothered to finish it, if someone can be bothered I will totally buy some though
/cc @Wes
 
@Wes how is your teespring store doing? do you have any new designs? the shirt I bought is getting pretty worn out, I could use a new one.
 
9:05 PM
...and yeh, if someone wants to start pantspring, I'm in
 
lol
Ninja pants with the PHP elephant
 
there aren't all that many people in the world who show their pants to the world enough to worry about other people reading what's written on them
I'm glad to know that's I'm in good some company
companty
 
user1804599
@StatikStasis So does SQLite.
 
Nice I was thinking that they were going to prank him that he made the shoot.
 
9:22 PM
@rightfold Yeh it's like this really verbose mineral where you have destroy an entire mountain for a gram, and even when you've retrieved it it's already useless, but it's really easy to destroy a mountain because all you need is a hammer so you keep coming across mountains that have been destroyed in a half-assed way and all of them have been destroyed using instructions that look like they were written by a 5 year old and no-one know hows SQL works so they all write it really badly and I'm sad.
ugh, sorry, what's happening?
 
lol
 
@StatikStasis youarite
which I now realise may have been the joke you were making at the time
 
Why does this echo 'uu' and not just 'u'?
echo preg_replace('/[μ]/i', 'u', 'μ');
 
I was totally expecting to post this 3v4l.org/3IZ1Nb saying "no it doesn't" but it actually does
 
Set the unicode flag
Or upgrade? I think
 
9:36 PM
@LeoGalleguillos you're missing /u
 
yeh but surely before that it's ascii
 
@LeoGalleguillos 3v4l.org/ZDGKB
 
@LeoGalleguillos probably due to multibyte or something
 
oh is it a diacritic?
surely not
 
It's just multibyte
 
9:37 PM
yeh but without /u it's just ascii (right?)
 
How do I pop the last value off a HashTable?
 
@DaveRandom it finds 2 bytes and replaces them both, simplest explanation
 
so in order to produce uu that ascii byte sequence would have to be in there
right?
 
It's a character class
 
@mega6382 no it finds a sequence of 2 bytes and replaces it once
@PeeHaa ah
 
9:39 PM
Hmm, we'll look into the u flag, thank you!
 
but does that change the meaning to characters rather than bytes?
 
@DaveRandom Writing it out makes it more obvious: echo preg_replace('/[\xce\xbc]/i', 'u', "\xce\xbc");
 
I can do [\x00-\xff] and it makes sense, and afaik without /u it means byte values?
@NikiC ahhhhhhh
thanks
 
That does help clear things up
 
omg lol so many weird unicode regex issues I have had in the past suddenly make sense :-P
 
cmb
9:41 PM
@DaveRandom not quite; PCRE is supposed to regard locale (for e.g. case-insensitive matches, and character classes)
 
thanks @NikiC <3 :-P
 
ZEND_HASH_REVERSE_FOREACH(…) {
    // use value
    break;
} ZEND_HASH_FOREACH_END_DEL();
 
@cmb is there a way to enforce "pure binary" mode? e.g. ignore /i and any other text-oriented flags?
 
Does that delete just the last value?
 
(just out of interest)
 
cmb
9:43 PM
I don't know (guess not)
 
^ doesn't sound right, foreach doesn't mutate things
probably _DEL refers to deleting the foreach value var?
at a guess
 
There's so many macros and optimization around hash tables that the code becomes a little hard to read.
 
$undersideOfRock->receive($dave);
 
@NikiC is this specific to php or pcre in general?
 
@Trowski As written, that would bail out before deleting anything, I think
 
9:47 PM
@mega6382 it's unicode vs ascii, it turns it into the equivalent of preg_replace('/[ab]/i', 'c', "ab");
it doesn't recognise the multibyte sequence in or out, so it ends up replacing both elements of the character class as individual elements of the subject
 
@NikiC Oh yep, I see it now.
 
@DaveRandom interesting
 
@NikiC Is there a way to just grab the last index of a hash table?
 
cmb
@Trowski I guess not, see heap.space/xref/php-src/ext/standard/array.c?r=c37a1cd6#4043 (i.e. move internal pointer to end)
 
either whatever array_key_last() does or just the length, depending what you want, surely?
 
9:57 PM
@cmb That at least gives me a way to do it, thanks.
 
00:00 - 22:0022:00 - 00:00

« first day (3622 days earlier)      last day (1325 days later) »