« first day (2632 days earlier)      last day (2541 days later) » 

00:35
@Wes damn, that is beautiful
00:54
empty string is (wrongly) accepted as valid json – #75746
01:23
^ tested his script: 3v4l.org/9QM7s fails in 7.0-7.2, but not in 5.x, he has it listed as a bug for 7.2
@Tiffany yarp.
@Danack not sure if I rubbed off on you, or Hot Fuzz reference... or both...
Dec 8 at 22:21, by Tiffany
!!urban yarp
01:39
How's your job hunting going @Tiffany ?
What happened to the old job?
Tiff deserves a better one.
Ahh :B
02:09
haven't done much looking lately
Wes
Wes
03:01
@FélixGagnon-Grenier eh, not really :B
there's something wrong but not sure what
makes me think of a Bob Ross painting
Wes
Wes
not by chance, i'm a big bob ross fan :B
do you know they are uploading his "joy of painting" videos on youtube for free? @Tiffany
:D
I know they streamed them on twitch for free a while back
03:12
hello everyone
any PHP pro's here? could help me solve my problem? im using laravel 5.5
Wes
Wes
hi, there is no such thing as php pro that knows laravel :P
Hello Wes maybe u could help me out!
Wes
Wes
i have no idea about laravel sorry
how bout vue.js?
Wes
Wes
js needs to stop
03:19
outch hehe okay then
Wes
Wes
03:40
nice jumper
04:38
good morning
2 days for new year.
user9059272
Hi all
user9059272
Someone please remove the Duplicate Mark on my question as I'm asking one thing and the question for which my question is marked as duplicate doesn't answer my question at all.
user9059272
Thank you.
user9059272
Here is the link to my question : stackoverflow.com/questions/48030816/…
05:06
@SerialKisser The wording in the docs is a bit weird but what changed in 7.1 is when you have an empty string and then access it that way: 3v4l.org/V5YJa
user9059272
@pmmaga : Do you mean to say that the change is applicable only when an empty index operator is applied on string type variable which contains an empty string and not on a string type variable that contains a non-empty string?
ohayou o/
\o morning
05:36
@Andrea @bwoebi I remember someone thinking about proposing extension methods for PHP. Was it one of you? Extension methods are a way to add methods after the class definition.
Wes
Wes
i wanted them too
@Leigh I took a look at the job listings and it doesn't look like there are many things that are fit for me/I am fit for for but I am going to check back occasionally over the next couple months.
Thanks for the tip!
@Wes you should totally buy that
Wes
Wes
@LeviMorrison what's your use case?
mine was adding equals() and hashCode() on core classes
06:27
morning
07:13
\o
@SerialKisser docs updated
Wes
Wes
\o
@JoeWatkins docs of php?
do you have access to edit it?
07:17
and can anybody else do that too?
you can edit anonymously, but need karma to commit
ahoy hoy
07:28
\o
Anonymous
07:57
o/
Anonymous
@SaitamaSama guess what I am doing early in the morning :p
@samayo Overwatch? :B
Anonymous
I forgot the mouse at work and now I'm very pissed off.
Anonymous
I can't play with the touchpad :(
08:09
lol... you'd really need a mouse to play
@Wes ahahha
https://www.youtube.com/watch?v=f5d8pVg3Qtg LOL
Wes
Wes
damn that was funny af
Wes
Wes
you damn spoiler
:B
08:52
when we're talking abut "auto backup in the server", does it mean "getting backup of everything including even server software (like php) or just document root?"
neither
one usually backups only the data
what data? website codes?
database,user uploads, stuff like that
ah, got it
website's code itself tends to be in a git repository, which already acts as a backup
08:57
true
I'm trying to buy a server from vultr and it wants 1$ per month for auto backup
now I'm doubt is buying it a good thing or I can do that manually
if it's a hosting, that's providing the service, then they maybe be backuing up the image of your VPS
(image as in "iso" and not as in "jpg")
an .iso file of all my data?
anyway, I guess no need to enable that option .. I myself can get a backup of important things on my server
guys, is "virtual card" a known thing for you?
Wes
Wes
yeah watched that too :B
:P
dat Photoshop edit tho
Wes
Wes
09:16
:B
@Shafizadeh I know of two such concepts: "virtual credit/debit cards" and "virtualized PCIe cards"
@tereško ok good, "virtual credit cards" .. can I buy a server from vultr (or digitalocean or ovh) by that card? do you know that?
yes, you should be able to
There is a new service in Iran that makes me able to have a virtual credit card. Now I want to know can I buy a VPS by that?
@tereško ah ... I hope so
emm ... that's a service that I was linking you to ... like a week ago
:P
09:20
@tereško yes you suggest it already .. but it doesn't support Iran ... and I found a similar service which supports Iran too
just be careful
about that service?
that's safe .. I'm sure (confident) about it
(btw, at least in the landing page they have Iranian phone numbers as an option)
09:22
@tereško are you talking about revolut ?
oh really? well I wasn't noticed of that
Is this sentence correct?
I wasn't noticed of that
I didn't notice that
ah ok thx
just to be sure, this virtual card I'm talking about isn't even physical ... it's just some numbers .. did you know that?
 
1 hour later…
Wes
Wes
upgraded the router's firmware. i can finally access the ui from chrome
it still sux
Wes
Wes
surprisingly the firmware upgrade went nicely
i didn't even lose the configuration
11:41
The ending of amazon.com/dp/B0765NVW1L was just too perfect
9/10
Wes
Wes
12:15
bitcoin is going down again
136 hundreds now
i bought at about 140
12:28
/me jumps in room.
user9059272
Hi all
user9059272
Can someone please help me in my issue?
user9059272
1
Q: How does the "Array dereferencing" work on a scalar value of type boolean/integer/float/string as of PHP version 7.2.0?

SerialKisserI am using PHP 7.2.0 I come across the following Note from the Arrays chapter of PHP Manual Note: Array dereferencing a scalar value which is not a string silently yields NULL, i.e. without issuing an error message. I understood how to dereference an array literal but I'm not able ...

Wes
Wes
12:50
answered @SerialKisser
user9059272
@Wes : Thanks for answering but I don't think your answer is correct. It's just accessing the index which is out of range which is like accessing an undefined variable. It's not at all doing the task of dereferencing a scalar value(i.e. value of type boolean/integer/float/string) returned from some function.
Wes
Wes
my answer is correct. the comment is about non complex types, your example is with an array, which is a complex type @SerialKisser but i am improving the answer hoping to be more clear
hold on
@SerialKisser check again stackoverflow.com/questions/48032002
got it? @SerialKisser
user9059272
13:14
@Wes : Nope, you are still accessing the undefined variables.
user9059272
@Wes : How the dereferencing a scalar value of type boolean/integer/float is different than dereferencing the value of type string?
Wes
Wes
one is complex (string, array) the others aren't (int, float, bool, null)
¯\_(ツ)_/¯ i'm fairly sure that's the correct answer. i doubt you will get a better one
Types have missing properties on SoapClient::__getTypes – #75747
Wes
Wes
this is what i get when for once i decide to answer a question. "you are wrong - i'm right" :B
Wes
Wes
13:22
yo felice. felice is italian for felix. it's an actual name other than a mood "felice" means happy :B
@SerialKisser You completely miss the point. Your first example, $secondElement = getArray()[1]; is not dereferencing an integer, it's dereferencing an array that contains integers.
of course it will not silently return an null values.
@Wes yes, that has been a nice perk of my name all my life :)
I'm always happy now :P
Wes
Wes
:B
$a[555] = 123;
$a[666] = 456;

$a[555] /* 123 */ ["anything here"] /* null */ ["anything here"] /* null */;
$a[555] = 123;
$a[666] = 456;

$a[555]["anything here"] === (123)["anything here"]
wonder if that works
!!> var_dump((123)["anything here"]);
[ 5.6.0 - 5.6.30 ] Parse error: syntax error, unexpected '[' in /in/IvW07 on line 1 <br/><i>Process exited with code <b title="Generic Error">255</b>.</i>
[ 5.6.0 - 5.6.30 ] Parse error: syntax error, unexpected '[' in /in/ONe8r on line 1 <br/><i>Process exited with code <b title="Generic Error">255</b>.</i>
Wes
Wes
eheh
[ 5.6.0 - 5.6.30 ] Parse error: syntax error, unexpected '[' in /in/t8vBa on line 1 <br/><i>Process exited with code <b title="Generic Error">255</b>.</i>
13:27
meh don't bother, our gigolo does not really seem to process that.
... yeah, let's close that, it's really just pebkac. it shouldn't be deleted so your points are safe @Wes ;)
Wes
Wes
?
it was actually a documenting question. the comment on php net is a bit misleading
i wish we stopped using "scalar" as term
since it's so subjective in php
not really...
they think that getArray()[] should return null.
because they don't understand that it's dereferencing the array returned by the function, not its elements
//According to the manual I expected it to be NULL as it's not of type string
evenings lads
Wes
Wes
@FélixGagnon-Grenier yes
they need two pairs of brackets in order to see the issue
boo
13:43
2 messages moved to Trash
5 messages moved to Trash
Wes
Wes
@FélixGagnon-Grenier i am unable to read game of thrones
so many names
the only reason i could get through the first 20 chapters is that because i have watched the show
heh
yes, it gets overwhelming quite rapidly
Wes
Wes
tell me something... is it just me or the same name is used for different people?
like myrcella
btw, @Wes you might enjoy Konosuba
Wes
Wes
sure :B
anyway i need to start over again
13:54
@Wes hmmm... I don't remember being stricken by that. it's possible, but I don't think so
like it's the best comedy show ever done
Wes
Wes
dude, i'm 32...
well... many of the grown ups enjoy it as well... youtu.be/-KQBCsDSNr8
This show is a 10, and I don't give a 10 to many anime shows. It is a comedy and after the first 3 episodes you'll be hooked however what makes the show great is that it is totally self-aware. The main trio of supporting characters are ridiculous caricatures, which is what the main protagonist realizes and has to cope with.
Source: http://www.imdb.com/title/tt5370118/
Wes
Wes
i'm willing to pay for not to get asked every moment if i like anime
:B k
$100 it is
mmmm hot chocolate
Wes
Wes
i believe in miracles
... hey did I just dream of an global strict declare rfc that did pass or is that somewhere?
14:13
I think I had a case of Friday yesterday, didn't want to work at all yesterday, woke up today feeling like "I wanna get shit done..."
aren't you like, in holidays?
Anonymous
!!wotd
whoop-de-do Informal. lively and noisy festivities; merrymaking: New Year's Eve whoop-de-do.
Anonymous
whoop-de-do everyone
14:44
Evening all, how do you query json data in mysql?
omgs. I just thought. why not just use templating, as a localization engine?
each templates is duplicated in its language subdirectory, appended to the path when creating the engine
such duplication tho....
... and yeah, each time you want to modify a template, you do it n times for each language. lol nvm.
the Asus Zenith motherboard looks really dope
15:10
@FélixGagnon-Grenier personal projects
15:33
seems like the question encourages bad practice?
Wes
Wes
kill it with fire, both the question and the answer
there, i reviewed :B
@Tiffany it's nonsense
@Wes had to google what was being discussed, but after reading a bit of the php manual, realized the question was just bad
okay, this scares me... "medicalHistory"? Is this guy writing software for medical industry? O_O then again, I come from a country where medical history is confidential and failure to keep confidentiality is against law, so attitude may be different elsewhere
Wes
Wes
with wordpress. we are all going to die
15:51
so, I just put together a PC on pcpartpicker which costs around $8819
/me looks in awe
eight 4K monitors?
i.sstatic.net/Y5eld.png <- this, a threadripper, titan xp, asus xenit, and a 34 inch 8k monitor
16:07
Does Generator::send(...) return the next yielded value?
will titan support an 8K monitor, with reasonable graphics, and good frame rate?
16:29
not sure, actually
an sli would make cut for sure
@MadaraUchiha I headshot a Tracer with Widow today \o/
@SaitamaSama Huzzah! :D
I'm actually free for another game, interested?
sure!
wait, gotta change the region... just a sec
@MadaraUchiha yeah, I'm on!
rebooting out of ubuntu :D
:P alright
Anonymous
@SaitamaSama add me
16:44
add, as in?
Anonymous
ow
yeah, you're already in my friend list
I'm in your group rn as well
Anonymous
ah ok
@samayo QP!
Anonymous
QP?
16:54
Theft of my phone – #75748
wat
evenings room
!!dad
Why did the coffee file a police report? It got mugged
That's spam.
@Jeeves close as spam.
@Linus Oh.
17:07
evenin
17:20
that's a new one
does the stylesheets for php.net load for anyone else? seems to be fixed now
actually, seems to be just a problem with my Chrome. Page won't load in Chrome, loads fine in Firefox, and I can curl it from my linux box. Weird.
chrome sux
18:53
Nite all.
Have a great Sunday.
19:37
Question for everyone. I would like to begin building my own custom, small MVC framework from scratch. It wouldn't be used for production, but rather just a learning experience. The first framework I learned was CodeIgniter a while back, but I know that Laravel/Symfony is much more secure/popular. I'd like to dig into one of the existing frameworks to learn about how they're set up, where should I start? Something that is not too overwhelming.
Anonymous
Check out slim.
Anonymous
Check maybe the very first version
Anonymous
if the current version is a bit too much for you
Anonymous
but it's really simple.
@TimothyFisher I'd suggest starting with slimframework.com
It's a lot simpler than laravel/Symfony, and doesn't insist on it's own way of doing things as those frameworks do.
Ok great! Thanks everyone
 
3 hours later…
22:19
posted on December 30, 2017

New Cyanide and Happiness Comic

22:49
PHP 7.2.0RC3 (cli) (built: Sep 28 2017 16:28:14) ( NTS ) – #75750
pcntl_fork does not duplicate stream_sockets – #75749
23:06
good luck with that one ^

« first day (2632 days earlier)      last day (2541 days later) »