« first day (1600 days earlier)      last day (3352 days later) » 

7:05 PM
Can anybody help me out in the following error when starting memcached.
Memcached Error - Starting memcached: Item max size cannot be less than 1024 bytes
 
@VinitChouhan you have an error in your config file. probably.
 
user895378
> Yasuo, please stop. This isn't going to happen. Changing strlen() to
> str_len() is just ridiculous.
 
user895378
lol
 
@rdlowrey why is it str_pad?
 
user895378
@MjrKusanagi Who the hell knows? My statement implied neither endorsement nor rejection of the status quo. I only laughed at the situation.
 
user895378
7:20 PM
You can hear Rasmus's annoyance with Yasuo coming through the email :)
 
require 'function_aliases.php'. End of discussion.
3
 
user895378
thank you
 
user895378
Short of a time-machine that's the best solution.
 
@rdlowrey agree there
 
holy php drama
 
7:24 PM
ya
 
oh, has there been a kerfuffle recently? >.<
 
I can't be fucked to read all 60 messages, has nobody suggested that yet? (honestly? I'd have a hard time believing nobody did)
 
php is the thuglife language of the web
 
more BDFLs shouting at people for their feedback it seems. at least we're consistent
 
:-P
@PhilSturgeon what started it all? what was the original message?
 
7:31 PM
@PhilSturgeon for reference - number of emails sent by people to internals in the first 60 days of this year:
...
...
 
then i made a tweet (cant get to it, blocked twitter) about how purely listening to numbers of voices instead of weighing the experience of those asking for the feature.
 
@PhilSturgeon I saw that
 
@PhilSturgeon It's already been linked. I just hope his code is better than his language skills.
 
when considering feature requests, 20 juniors should not outweigh a few seniors, right?
 
Each request should be judged on it's own merits
 
7:33 PM
my way of saying what ive said before, having a SHITLOAD of fanboys nodding and smiling to everything you say does not mean you can ignore feedback of a few people who have other ideas, or constructive feedback you dont like the sound of
 
@PhilSturgeon how do you decide who's junior or not?
 
Considering how much of the internet is made up of asshattery, it's only appropriate that so much is also powered by PHP.
 
@ircmaxell you dont always know, but when you do, that should come into play
 
I've seen plenty of great ideas from fresh "juniors" that fly in the face of old dinosaur "seniors" who resist change
 
@PhilSturgeon how? How do you do that in a fair and unbiased manner without a clear leadership hiearchy?
 
7:35 PM
when somebody who speaks regularly on podcasts says "im not sure its a good idea" and the response is just WHATEVER LOADS OF PEOPLE LIKE IT then thats not idea
@leigh: absolutely, but juniors often want lazier features, which dont make for good framework features. Automatic CRUD and all sorts of other shit
 
@PhilSturgeon But... but... those seniors are totally stuck in the past, man!
 
haha, not all seniors are stuck in the past and not all juniors are idiots. obviously
 
if enough people support it, maybe the existing features are too complex or badly designed
 
ok, example. CodeIgniter didnt have an ORM
loads of people were screaming WE NEED AN ORM
we ignored that forever, because you can install things like Doctrine.
 
and plenty of ORMs already exist, so dismissing that one is perfectly sane
 
7:37 PM
seniors know they can just go use existing solutions. the ones wanting a CodeIgniter branded everything were a little less experienced
yep, so, pure numbers do not dictate wether something is a good idea
 
my laptop has been revived
 
So, then, we can agree that part of the role of being senior is to offer education and sound reasoning of why something is not a good fit. Not just "no, because I said so"
 
The problem is in most OSS projects, the only ability you have to fairly judge junior vs senior is as a doocracy (those who do have power, those who haven't done don't). It's not a meritocracy. And even if it tried to be, it's extremely hard (I'd say impossible) to fairly and accurately determine merit (who has the best ability)..
 
user895378
I swear I just heard a phantom ping sound.
 
@leigh oh absolutely.
 
@PhilSturgeon that's about the only thing that was done right in CI
 
the call was to weigh these things into consideration, not just say IM SENIOR YOURE JUNIOR SHUT UP
:)
@tereško trust me i stopped a lot of other travesties from happening once i wangled my way onto the core team
@ircmaxell yeah, i feel like that isnt really the point im making.
let me unblock twitter a sec
When your feedback loops gets too circular, it's very easy to cut off those who don't just nod and smile. Don't do that. Seek criticism.
Especially if you have a product with a HUGE beginner user base. 100 utter beginners do not outweigh a small number of senior developers.
Those giving feedback to your face should be considered friends. It saves hunting out feedback from aggressors & dealing with their cuntery.
so - especially if you know the person - shouting them down because "whatever the community has a fuckload of people going WHOOOO to an idea" doesnt mean it should be thrown in and discussion on the topic totally ignored
 
> The Stake Pattern is evident in problem ridden software written by designers who have since chosen the management ladder. Although fraught with problems, the manager's stake in this software is too high to allow anyone to rewrite it, as it represents the pinnacle of the manager's technical achievement.
 
^ and that's part of why I quit my last job :)
 
beauty fades, stupid is forever
 
7:44 PM
@PhilSturgeon why are you even continuing that discussion? it's clear neither of you will change your stance
 
@CarrieKendall it was not being continued. @ircmaxell asked me about it and i explained what happened.
 
no no, not in chat, i just meant the long tweet fight
 
with taylor its never two sides of an argument. its what he thinks i said, which is usually dumb and offensive, then what I was actually saying and me desperately trying to explain myself
 
7:46 PM
then he lols it off or freaks out, then 6 months later does what i was talking about in the first place
 
you choose to be in that light. it might be time to spend your time where your contributions and opinions are valued
 
hi
 
@CarrieKendall like, php internals!
 
@CarrieKendall yeah :p
internals is a happy place where the "BDFLs" listen to feedback fairly
 
except there's no "B" or "D" and the "FLs" are really just people who've hung around at the party for an awkwardly long time
2
 
7:49 PM
its just hard to see such a prominent figure in the PHP community consistently trying to make things worse, while everyone else is fighting to make it better.
 
they list rasmus as an example in the wiki of BDFL
 
but i dont use Laravel any more, so they can be as toxic as they want to each other consistently and whatever. not my problem
 
@CarrieKendall on wikipedia?
 
There were over 4,000 mails to internals in Jan/Feb, I've no idea how you're supposed to keep up, never mind absorb, reflect and communicate back! (Props to those of you who do, however!)
 
@ircmaxell yeah
 
7:51 PM
@CarrieKendall ROTFL
 
Benevolent dictator for life (BDFL) is a title given to a small number of open-source software development leaders, typically project founders who retain the final say in disputes or arguments within the community. The phrase originated in 1995 with reference to Guido van Rossum, creator of the Python programming language. Shortly after van Rossum joined the Corporation for National Research Initiatives (CNRI), the term appeared in a follow-up mail by Ken Manheimer to a meeting trying to create a semi-formal group that would oversee Python development and workshops. BDFL should not be confused...
rather fitting
 
he's not though
he's actively said he isn't
and has turned away the responsibility
 
(i wasnt trying bring up the rasmus BDFL thing, i said it in quotes)
 
I know
 
I just stick to topics i care about. dont gotta read it all right?
 
7:54 PM
oh, i wasn't trying to start that conversation, that was mainly in reply to
5 mins ago, by Paul Crovella
except there's no "B" or "D" and the "FLs" are really just people who've hung around at the party for an awkwardly long time
 
@PhilSturgeon I need to care less!
 
user895378
@PeeHaa laters
 
user895378
@PhilSturgeon His prominence is only due to beginner devs who don't actually know what they're doing ... so I'm not sure why it matters. No serious dev takes twat-well seriously.
 
@rdlowrey and that's not how we build bridges, that's how we build walls.
 
user895378
I could care less about building a bridge to laravel. I'm not involved in the conversation :)
 
7:59 PM
@rdlowrey they do though. in HORDES. It's tribialism at its best. he's a great developer but god damn he should not be leading the community
 
@ircmaxell Yeah, but the wall is just a facade.
 
@rdlowrey and that, IMHO is the embodyment of the problem
 
@PhilSturgeon let me give a piece of wisdom for you, when it comes to dealing with assholes on the internet
fuck 'em
it's not worth even bothering
 
user895378
@ircmaxell I'm not allowed to think he's an idiot quietly? :)
 
8:01 PM
^ troll dodge
@rdlowrey that was far from quiet
 
yo, Carrie, long time no see
 
hi hi @tereško :)
 
@rdlowrey no, more that we're OK with not caring
 
@tereško i've learned. last year was a whole year of this shit and i dont want 2015 being the same. Paul Jones, Brandon and Taylor were just swinging their dicks around and I kept trying to break it up. I just ended up getting dickslapped all year and im over it
 
user895378
I don't know ... I'm just completely detached from the framework world. It's just not important to my life. At all.
 
8:03 PM
thats kinda the thing. i want the framework world to fall into line with the rest of the community, and thats hard to do when they cant even get on the same damn page
 
It's totally okay to not care. Or even to care while realizing that the entire PHP world isn't destined to be one big happy circlejerk family.
 
@PhilSturgeon Paul though is the only one who actually can be pragmatic when you talk to him though
 
like the comments about me ive seen on here being a frameworker. f**k that I make sure everything is agnostic these days. components and packages over frameworks.
 
^ that's what we have been evangeliing here for 3+ years
 
@PhilSturgeon Oh, so you're one of those component-and-package-ers... *looks down nose*
 
8:05 PM
@PaulCrovella i dont want circlejerks, i want people to contribute to each others code instead of pissing contents and ego fights. just gonna stick to fighting that cause with helping the league make good stuff and laravel can do what it likes
@tereško me too, for the last 3 years at least.
thats why i got behind laravel because it was component based, then it never really worked unless you used the whole thing. i complained about that many times and got called all sorts of names. now i can just actually use components. yay for that
 
@tereško Really? I never got that message!
 
@salathe well ... maybe not composer but "asseble libraries instead of using a framework"
composer still has various issues
ATM it's more of the lazy fix than a complete solution
also, this is my second beer today (and this year)
 
sounds like a crappy year so far :P
 
@SebastianBergmann Pong
 
wisdom teeth issues .. it's kinda annoying, I will be getting rid of the last 2 soon
on a different note: buyhing pc hardware in Latvia is annoying
 
8:14 PM
hey
i am facing a problem with chinese, russian chars and maybe all chars that are not english ones
你在这张照片 this is displayed as ä½ å�¨è¿�å¼ ç�§ç��
i have the same script and the same db structure
 
same RDBMS ?
 
with another version to mamp pro
 
320
Q: UTF-8 all the way through

mercutioI'm setting up a new server, and want to support UTF-8 fully in my web application. I have tried in the past on existing servers and always seem to end up having to fall back to ISO-8859-1. Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL and...

 
@tereško sorry did not understand you
 
What do I need to do to make this work:
include_once"../other/functions.php?functionName=validator&amp;language=php";
 
8:19 PM
@tereško i am using mysql database
 
version matter, and DB configuration matters
 
functions.php grabs the function storred in the mysql database
 
also, the "I am using MAMP Pro" statement meant taht you paid monty for somthign that one should be setting up on his/her own
 
i have not paid money for anything
i got it free
from their website
 
@eyeLoveFiddle not.. sure.. if... serious
 
8:20 PM
download mamp and then mamp pro, and you get the last one for free
 
@leigh sserious
 
from their website
 
@eyeLoveFiddle yea ok, my advice, don't do that.
 
it's for a code for america group
 
@Leigh since it's a tiny-avatar person, I am pretty sure he is
 
8:21 PM
what would you do then?
 
@eyeLoveFiddle Since I have no idea what you're actually trying to do, who knows
But trying to pull functions out of a db is just ridiculous
 
a function keeper
how so?
 
Ever heard of a filesystem, it's like this database, for storing files on. Put your functions in some files instead
 
doing a code review on the functions will also be required
code for america - army of volunteer coders for nonprofits
 
so what?
 
8:25 PM
people would always be able to review existing functions, and propose changes to them
or propose new ones
 
Go sign up for github
and put your functions in files
 
why is a file system better than a dadatabase system?
 
Please stop coding for us - signed an American who has worked for nonprofits.
 
@paul why?
 
Oh man, the transcripts don't honor tiny avatars. I was too curious. I had to look. I shouldn't have. I shouldn't have.
 
8:27 PM
@eyeLoveFiddle because you have no freaking clue what you're doing
 
I'm just going to go away and do something else now, I can feel my braincells dying one at a time
 
i do too
github doesn't seem to work very well
i don't understand how to use it, because they have no how to use video TMK
 
what
 
help, I've been cringing for the last 2 minutes and I think I'm stuck...
 
@eyeLoveFiddle that's because you have no idea what you are doing. go educate yourself. use google.
 
8:29 PM
k @leigh
i do use google
i found out about eval through stack overflow
on google
 
this is going to end well...
 
Whoever is running this puppet account, OK, you had your fun, you got us, you can stop trolling now
 
What puppet account?
 
j'accuse!
 
jacuzzi?
 
8:34 PM
oh god that sounds good right now
 
Oh, the guy who wants to run code from a database. Yeah, not sure if trolling or not.
 
Hey guys, should I be able to use an object that implements both ArrayAccess, and IteratorAggregate in array_walk? Or is it only for primitive arrays?
 
user895378
Room11 is fun because you get really knowledgeable senior devs mixed in with people who are total beginners. It's like a giant PHP soup at an awkward holiday dinner with the all the in-laws and family who just don't understand that my sister is married to a woman.
 
^ Ha, good timing.
 
@WilliamGeorge only for actual arrays
 
8:38 PM
@WilliamGeorge Might look into iterator_apply instead?
 
Cheers, I noticed that in the docs. Will check it out :)
 
@rdlowrey You know, Stacey's roommate could probably find herself a nice man if she just prettied herself up a bit.
 
user895378
^ lol, this exactly
 
is this some reference I'm just not getting?
 
@Leigh Per @rdlowrey's comment "...and family who just don't understand that my sister is married to a woman."
I have no idea what @rdlowrey's sister's name is, if he even has one, I was just taking the line to the next step
 
user895378
8:46 PM
I was just referencing the interesting interactions that happen when you mix together people who have wide variations in experience. And yes, my sister is married to a woman and it's one of the most awesome sources of unintended humor and scandal at any type of family gathering.
 
apropos of nothing, my sister would probably be a lot happier marrying a woman, even if she didn't get anything out of it sexually
 
Yea that was pretty innocuous, then after what you said, I wondered if it was some famous lines from a sitcom or something :p
 
:-X
 
@Leigh Heard lines like that in both sitcoms and real life. :p
My sister has not had good luck with husbands
@ircmaxell Howdy, pardner
 
@Sara how are you doing?
 
8:49 PM
Cold. Boston is a cold cold place.
I kinda wanna be on my couch playing Grand Theft Auto V in my PJs atm
 
hehehe :-)
I want to be somewhere warmer so I can play with my new camera outside
 
gaaah, racking brains. @rdlowrey was it Jessica?
 
@ircmaxell take a visit to the mv campus - in the upper 60s right now
 
user895378
@Leigh yes sir.
 
@PaulCrovella I need a reason to go out there. I don't have one right now :-P
 
8:51 PM
fuck yea. I have no idea where I know that from, I just knew I knew it from somewhere
Don't worry, I'm not really a creepy internet stalker, I just have the brain of one :P
 
@PaulCrovella Man, and I was just happy we got above freezing this morning =\
 
user895378
Is it just me or does it look like someone merged things into the master branch NEWS file that shouldn't be there?
 
user895378
i.e. ...
 
user895378
<<<<<<< HEAD
- CLI server:
  . Refactor MIME type handling to use a hash table instead of linear search.
    (Adam)
  . Update the MIME type list from the one shipped by Apache HTTPD. (Adam)
=======
 
user895378
^ Looks like a merge conflict gone wrong
 
9:00 PM
blame says dmitry has merge conflicts
 
user895378
@Tyrael ^^ I'm just going to leave that there for you :)
 
WHY you don't let the "consistent function names" thread die? Let it go people, don't feed it.
 
user895378
Merges Gone Wild: A Git Exposé
 
// moves 67 emails to trash can
 
$ git log --oneline some.random-branch
39d23f47 Just messing about
$ git log --oneline poorly-named.failed-project
aec27b19 Meh, I dunno

I need to start naming my branches better and/or using more descriptive commit messages.
 
user895378
9:15 PM
It's a constant struggle for me to use git branches effectively. I'm really bad about starting up some new attempt right in the middle of a branch intended for something else.
 
Yay for cherry-pick and rebase -i
or reset HEAD^, as your preferences apply
Then there's deliberately abandoned but preserved branches like: hni.pmc-fuckThatNoise
 
I have a very inadequate relationship with git stash :3 my stashes are practically side projects and I never know if they can be safely popped.
 
I don't like git stash, it's not structured enough
Hence my overabundance of rando branches
Which is also unstructured, but it COULD BE structured
 
Jay
hey guys
how can this be done:
 
With an enter key.
 
Jay
9:22 PM
I have a query. if one of the columns are blank I want to make it put a @ sign in its place
haha
 
Which DB backend?
 
for @tereško this did it htmlentities($text, ENT_COMPAT, "UTF-8"); i added utf-8 and worked. i though that was default since it was to mamp pro but it was not in my server. i am da big bo$$ :p
 
Jay
mysql
 
21
Q: How to implement ternary conditional operator in MySQL

user1086355I want to implement ternary conditional operator in MySQL. I have a table in which one field id exist. Its value may be null. I want to display id in ternary conditional format like this: select id = id == null ? 0 : id; Is it possible in MySQL?

Took me 10 seconds to google that
 
show off
 
Jay
9:24 PM
bloody hell, took me longer to post my question haha
thanks so much @Sara
 
Helped to know what a "ternary" is though. :p
 
Jay
thanks alot
 
9:40 PM
:D
 
9:55 PM
mornings
 
Goood morning
So deciding to update PHP on my production server (finally) has, ah, led to some broken things...
 
what version to what version?
 
I can't recall the previous version
5.1 I think
to PHP 5.4.38 (remi)
 
wow
 
If you're going from pre-5.3, might as well go all the way up to 5.6 and deal with everything
 
10:08 PM
How?
I added remi to get the newest version, but it's now clear that that was not the repo of choice
 
why not?
 
I felt like playing it safe and letting yum handle the upgrade.

I found,ah, conflicting information on the internet.
It is the production server.
First off:
 
@marcio You're going to have a better patch in time a few days before vote ends?
 
@AustinBurk Remi split his 5.5 and 5.6 versions into their own repos. Update your remi-release, then try yum update php --enablerepo=remi --enablerepo=remi-php56
 
well what did you do on your dev servers, you know, before you upgraded production? :)
 
10:12 PM
@Leigh Used the latest version that installed by default, 5.5 there.
 
@AustinBurk You might consider doing a complete removal of all PHP packages. Do a rpm -qa | grep php first to make sure you know what you installed.
 
Amazon EC2 on one.
Woo.
[root@node1 ~]# php
Failed loading /usr/lib64/php/modules/xdebug.so: /usr/lib64/php/modules/xdebug.so: undefined symbol: php_body_write
And anyone care to point out, ah, a certain function that's not working on the main page? sudomemo.net
 
@bwoebi we already have the working patch from the first discarded solution, I just have to find a way to update the ext tokenizer in 11 days :)
 
@marcio First discarded solution? You mean parser <-> lexer patch?
 
yup
 
10:15 PM
"70.92999999999999"
 
@bwoebi it had no drawbacks, but would require additional work on ext tokenizer so we abandoned it and I started this new solution that seemed to be a good idea at the time
(you can't see the src anymore because I forced push the branch)
 
MySQL itself is returning that long value, what
 
@marcio "no drawbacks"
 
@marcio IMO it's not about ext/tokenizer, but about lexer being standalone…
 
hahahahaha
 
10:18 PM
If I can choose, I prefer current impl. over something which messes up parser with lexer helpers.
 
@ircmaxell in comparison with the other attempt that is on voting it's n times cleaner and has no regression risks
 
1 message moved to Orphan GIFs
@marcio I'm messing with you
 
:P
 
#ipdx15 @CurtRees http://t.co/edj1ayiFjL
 
http://webapps.stackexchange.com/questions/74523/how-can-i-prevent-youtube-comments-from-showing-as-my-video-description-in-googl
Google's broken
2
Q: How can I prevent YouTube comments from showing as my video description in Google Search results?

Austin BurkI was Googling my own site and saw this in the search results: I was rather annoyed to see that somebody's comment was being used for the video description, instead of the actual description ("Quick runthrough of what we have so far."): How can I fix this problem? It's rather annoyi...

 
10:21 PM
@bwoebi yea, the current one could be approved for 7.0 and something better could come for 7.1, but ya know, it's a delicate part of the stack and many people fear possible future issues.
 
@marcio That's what I currently hope for.
 
@bwoebi And it's not pointless concerns, it has concrete motives, but IMMO not for PHP 7, the concern belongs to 7.1 and ahead. I don't feel comfortable to ask "vote on this and I'll give something better later", I prefer to try to pass the better solution now.
 
I can just close old bugs that don't make any sense right?
 
@marcio or just hold off, there's no bc concern
 
@ircmaxell you mean withdraw and propose later?
 
10:26 PM
or just don't commit if it's accepted
 
@PeeHaa Yes. If anyone gives you shit tell them it's on my authority. Which is a totally a thing.
 
:-)
 
Doing that update seems to have broken mysql-server's floating points or something
 
thank god for testing prior to upgrading production... oh. wait.
 
9 hours ago, by NikiC
@marcio Honestly, if ext/tokenizer were the only issue with parser feedback we could probably just perfom a parse when getting the tokens ... creating the ast is iirc much faster than creating the array with all the tokens ^^ I'm more concerned about the issues this causes for external tooling. It will make PHP more like C++, a lanuage where you can't really perform any kind of analysis without implementing a whole compiler...
 
10:29 PM
@marcio yeah… It's just about a vote now. You always can commit later in alpha phase. If you can significantly improve your patch, then you can push then :-)
 
The dev and prod environments are completely different, but that's partially a money problem, actually...

It started as a personal project, not a big web service.

Next time I make something I'll have everything set up properly, and identical dev/prod environments.
 
Hrm... what happens to the other STH RFCs if this one passes?
 
@DaveyShafik then this one passes
 
@Leigh but if Zeevs one goes to vote on Friday... seems weird.
 
if it does, then the vote on this one closes when they both close
 
10:31 PM
OK
 
although we might be lucky, and Zeev and friends might just give up
 
@marcio Accepted just means feel free to add an implementation (or something better)… You still can withdraw at a later stage.
 
@bwoebi ah, ok. I though that after voted and accepted it was already a commitment ^^ this buys some time. I opened the ext tokenizer source a few minutes ago, still don't know what to do. But at least the test suite and regression tests are all passing already \o/
 
no, not at all
after all, what if some critical detail is found after vote? It can always be retracted
 
@ircmaxell who are you replying to? … ah okay. fine.
 
10:35 PM
ya
 
yeah, makes sense. Glad I didn't just fired the withdraw email yesterday before asking.
 
Because I quite like Zeevs, with the addition of nullable types, and defaulting internal functions to nullably typed (which we can explicitly document then), and then add strict on top. I like the way his coerces when not in strict mode.
 
Jay
hey @Sara r u there?
 
also, didn't we have an RFC on nullable types? or was that just a ML discussion?
 
Jay
does this if have an or because some fields are blank and some are NULL
@Sara
 
10:39 PM
3v4l.org/NJJjO LOLOLOLOL
@DaveyShafik reddit.com/r/PHP/comments/2x8jsz/… <-- the best writeup I've seen yet
 
10:58 PM
Does anybody know how I can get DOMDocument to understand HTML5 tags - Do I just have to suppress the errors?
 
@WilliamGeorge if the html is an xml serialization, treat it as xml; otherwise you can use github.com/Masterminds/html5-php
 
Aha thanks for the link - I found html5lib but its was seemingly abandoned, looks like this takes its place.
Are there any plans to update DOMDocument or is that not its intended purpose?
 
@WilliamGeorge all of that stuff comes from libxml2, I don't know what their plans are
 
@PaulCrovella OH okay cool. Cheers for the clarification.
 
11:26 PM
morning
 
@ircmaxell IMO that comment is misleading for two reasons. 1) it's not made clear it only affects passing of arguments, and 2) only when there is no ability to coerce in a reasonable way, which is probably a bug.
@ircmaxell with your RFC, if I'm not mistaken, (float) 1.5 without strict types, would be (int) 1, with no warning about data loss?
@ircmaxell also, nullable types would solve the issue with null :)
 
11:42 PM
yeah… without strict we just retain the same zpp shit.
@DaveyShafik (sum_types………)
 
@bwoebi hrm?
 
@DaveyShafik 1) Variables are mostly used as arguments, so it affects most of there usage 2) I disagree - people allow strings (as opposed to null) as indicating true a lot of the time. Whether people using floats where the function wants an int is arguable about whether it's probably a bug or not. But that's not the issue - it's the fact that it's a pretty big BC break that they're trying to hand wave away by saying that it will be allowed for a while.
 
@ircmaxell Absolutely, would love to meet! Nights of 18th, 19th, 20th work best for me, does one of those work? If not I can try to swing something else, LMK what works.
@ircmaxell this might not be the best forum to coord? feel free to email me jwatzman@fb.com
 
@bwoebi hate the syntax, I'd rather have numeric and iterable pre-defined, for example
 
11:48 PM
@DaveyShafik yeah, it's just a draft… there actually also was the idea of introducing typedefs.
But why do you hate the syntax?
 
@bwoebi I would love to see opaque types, and type aliases from hack make it's way into PHP
@bwoebi because it's ugly? and long. I just find it hard to read. :/
 
I think that union types would need to allow people to define their own union types, rather than actually having int|float everywhere, otherwise it would be horrible
 
it's just a union...
 
@DaveyShafik you find it all the times in phpdocs.
 
@bwoebi yeah? o.O
 
11:51 PM
@bwoebi And it's horrible there as well....
 
Absolutely agree.
@DaveyShafik opaque types would be nice for static analysis… but not so much for runtime. If we need to carry that information in the zvals, that would mean some considerable overhead…
 
If someone said "Nikita’s RFC for removing E_STRICT " which RFC are they referring to?
 
Thanks.
 

« first day (1600 days earlier)      last day (3352 days later) »