Post AmRBs1iqOLDAveQytk by [email protected] | |
More posts by [email protected] | |
Post #AmRAYMR3ZTdZQKAmki by [email protected] | |
0 likes, 0 repeats | |
Having to deal with a PHP issue in WooCommerce *shudders*If I'm reading and… | |
Post #AmRAYMYr6TsLoVp0uO by [email protected] | |
0 likes, 0 repeats | |
So:* Constructor existed and was called* Code was updated to delete class and c… | |
Post #AmRAYMfahRGO9OyOPI by [email protected] | |
0 likes, 0 repeats | |
Oh, FFS. The irony!There's a statement at the top of the file that says `de… | |
Post #AmRAYMmgH4w0VOI3SS by [email protected] | |
0 likes, 0 repeats | |
Yep. Seven year old comment in the PHP docs saying exactly what I've just f… | |
Post #AmRAYMuTo5AmtZwHc8 by [email protected] | |
0 likes, 1 repeats | |
@ibboard I much prefer an use that is a noop, than forcing you to remove the us… | |
Post #AmRBeV4oSLGVupGB9s by [email protected] | |
0 likes, 1 repeats | |
@ibboard strict_types only applies to parameter/return/property types, and whet… | |
Post #AmRBjxzuM9ln3mZY4u by [email protected] | |
0 likes, 0 repeats | |
@kassner If you comment out a call and leave the `use` behind then yeah, that&#… | |
Post #AmRBjy5vzkafMTOMTI by [email protected] | |
0 likes, 1 repeats | |
@ibboard it makes a bit more sense when you consider how dynamic PHP can be. PH… | |
Post #AmRBs1iqOLDAveQytk by [email protected] | |
0 likes, 0 repeats | |
@ibboard https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ | |
Post #AmRBs1qHwfANIjuvVA by [email protected] | |
0 likes, 1 repeats | |
@haliphax @ibboard More than a decade out of date, inflammatory nonsense at the… | |
Post #AmRBuZicxqv2wjY2Uq by [email protected] | |
0 likes, 1 repeats | |
@ibboard I agree this doesnât make good language ergonomics, but thankfully w… | |
Post #AmRCOhGBUU6H1SbhVQ by [email protected] | |
0 likes, 0 repeats | |
@Crell Yeah, I read up on the declare. It's fine that that's what it do… | |
Post #AmRCOhNH47ltNRvMYa by [email protected] | |
0 likes, 1 repeats | |
@ibboard You're not the first to say the declare is poorly named. đ Havi… | |
Post #AmRCRr4bShIQKIhDfM by [email protected] | |
0 likes, 1 repeats | |
@ibboard Though, both namespaces and composer date to PHP 5.3, so it's not … | |
Post #AmRFgeqZV7e0c5soHw by [email protected] | |
0 likes, 1 repeats | |
@ibboard Use statements arenât imports. They just create aliased identifiers.… | |
Post #AmRFtR1yBFM1WnJ60m by [email protected] | |
0 likes, 0 repeats | |
@ibboard What do you think strict_types does? 'cause I don't think it h… | |
Post #AmRFtR7zoqAtpU7uPA by [email protected] | |
0 likes, 1 repeats | |
@EndlessMason @ibboard PHP doesnât have the concept of âmodulesâ and `use… | |
Post #AmRGyDVXzAvezOzAtE by [email protected] | |
0 likes, 0 repeats | |
I haven't done php since php3 was new and fancy... I just assumed they impl… | |
Post #AmRGyDcHa8JhKI8YO8 by [email protected] | |
0 likes, 1 repeats | |
@EndlessMason @ibboard `use` in PHP does the aliasing like in Perl but doesnâ… | |
Post #AmRImFW4tMXreUeg40 by [email protected] | |
0 likes, 0 repeats | |
@ramsey @EndlessMason Aliasing a nonexistent thing still makes zero sense to me… | |
Post #AmRImFcSVdeJyHdm0e by [email protected] | |
0 likes, 1 repeats | |
@ibboard @EndlessMason This functionality has existed in PHP since 2009 (PHP 5.… | |
Post #AmRKLisho0I2ociZoO by [email protected] | |
0 likes, 0 repeats | |
@ramsey @EndlessMason Just because it's been there for ages, it doesn't… | |
Post #AmRKLiyjRb6v7JXOCm by [email protected] | |
0 likes, 1 repeats | |
@ibboard @EndlessMason Sure. I was just responding to your âI'll just sti… |