« first day (3826 days earlier)      last day (1136 days later) » 
00:00 - 20:0020:00 - 00:00

12:37 AM
and miss a perfectly good opportunity to go "Don't you know who I am!?" With a pic sitting on a throne surrounded by elephpants?
 
@Sara They want to kill your joyful spirit! DONT-LET-THEM
 
@Dharman I dunno. Maybe they report it... What's the report gonna say? "She used the 'W' word"?
 
What's the W word tho
Warcraft ?
Ah yeah Whoopsie
 
Whoopsie comes from wop my Italian descent feels angry, now it all makes sense
Anyways time to disconnect for today o/
@Sara Next time use the F word, they will love you <3
lol bye
 
12:55 AM
@MarkR @kelunik @Trowski github.com/cspray/annotated-injector Still have more work to do on the implementation but I believe I have a decent foundation in place and have the basic "happy path" use cases covered. Wrote up some documentation on how everything is working. Let me know what you think!
 
Where I have control over the interfaces, I use #[DefaultConcreteClass(ActualClass::class)] as that effectively let's the interface decide its default implementation.

I find the label of DefineXxx a bit odd, I'd think something like UseService or something would make more sense than define, which has write connotations, when it feels more like a read. Personal PoV I guess.
 
@MarkR Yea, I'm not really happy with the Define names either. Was trying to mimic the verbiage used in the Injector.
I also think there should be some mechanism to provide a default implementation for an interface like you're describing
I was thinking that maybe add a isDefault to the concrete Service... but maybe it should be defined on the interface
 
If it's on the implementation then you've opened yourself up to many things all claiming to be the default again. Easily detectable with a precompile step but imo better to not allow it in the first place
Although I certainly see the benefits to interfaces that can't directly be modified, say adding a default PSR logger
 
Yea
And it could also interact with the defined environments... have multiple production services and define per environment which is default
Not sure yet haven't gotten that far. Next up is supporting factory methods I think
 
For those I use a #[HasDefaultFactory] which always hits up the DefaultFactory static function, with autowiring, but I'd expect you to want something more flexible.
 
1:08 AM
I was thinking it would work similar to #[ServicePrepare]... assign it to a class method and the injector would execute it
Define which type it is a factory for
Throw error during compilation if we find duplicates
 
Something that really bugs me, and part of why I use my own service wrapper, is where I need to pass a ton of services to a constructor... and like, one defined parameter. Writing a factory for it is an atrocious amount of repetition (unless I'm missing something).
Having to repeat the entire service list in both the class constructor, and the factory method, then pass every service from the argument list to the constructor, and throw in one more.
 
I'm not sure I'm following you.
 
Lots of repetition, I'm thinking I might write some code that auto generates a factory class.
 
Ah, I see
 
I'd suggest a GetScalarFromService perhaps.
 
1:18 AM
Yea, what I tend to do in this situation is pass the Injector into the constructor of the Factory. It's probably not ideal because you could potentially use the container as a service locator but I find it acceptable since the Factory is responsible for making objects. It also helps prevent the need for the repetition you're describing.
@MarkR How would that work? You'd have a service that has a method that generates the value?
 
aye I end up using service locator style more than i'd like
 
Ah, yes I'm planning on having something like that
#[DefineScalarFromParamStore] a new ParamStore interface would be introduced that would be responsible for providing the values
I think before we get too far though should get a better name than Define* I think though
 
where the first arg to it had to be a service with a get() function. I have to go through factories to initialize a whole bunch of services because they need to read configuration data from my SiteConfig service, and passing in the SiteConfig itself would wreck inversion of control
 
I didn't think about it having write connotations
 
Use or Want seems pretty descriptive.
 
1:22 AM
Yea
 
1:42 AM
I can't login into wiki.php.net :(
 
Did you reset your password?
 
@MarkR First I tried with the old password, didn't work. Then I rested it, still can't
 
lemme go try mine
Yeah no problem here. You might have borked your reset maybe.
 
Shit, let me figure it out if I have lost access to other stuff as well
Still got access to main.php.net, uf
Okay, looks like I'm back, probably a delay somewhere updating stuff :D
 
main.php.net is redirecting to www for me.
Ugh. Seriously, that's just unprofessional...
 
1:58 AM
I found it from people.php.net, ¯\_(ツ)_/¯
 
yeah the root redirects but the login pages and profile editing are active
 
@Crell I believe that's a feature, sir
 
Security through obscurity is not a feature.
2
 
Wise words, I like it
 
Well it's not really obscurity when it's linked on the top of any page of people.php.net
 
2:02 AM
Hm. OK, Wiki access works but I don't seem to be able to login on php.net to delete comments on docs.
I can see them in the Notes pages on main.php.net, but not in the docs on the site.
 
2:46 AM
Anyone still awake.
 
3:44 AM
@NikiC Darn. MSVC updated their C11 support recently but didn't add support for atomics. Bummer, bummer, bummer.
Although, we could shim it with C++ since they do support C++ atomics...
 
 
3 hours later…
6:48 AM
Regarding livewire is it posible to emit from another emitted function ?
eg. I emits and listen it in Component A's test() function and again in test() I emits and listen in Component B
 
I've reset my password using wiki.php.net/start?do=resendpwd and after confirming the email link got a new one which doesn't work, what do I do about it?
NVM managed it via link to main.php.net forgot found on people.php.net
 
 
1 hour later…
8:26 AM
Is "co-erced" a real English word? php.net/manual/en/function.printf.php
Does the PHP manual need to adhere to PSR-12 guidelines in its snippets? stackoverflow.com/a/63914758/2943403
 
@mickmackusa with that hyphen, I don't think so...
 
@mickmackusa No. PSRs are an unofficial standard not from the PHP core devs and most of the examples in the manual were written long before even PSR-1/2 existed. In this case I'd say the manual should probably not adhere because =& is, anecdotally, probably more commonly found "in the wild" than = & . In modern PHP code you generally avoid references.
 
@NikiC @mickmackusa the hyphen is superfluous but not invalid, people sometimes write e.g. co-incidence as well. I don't think it's particularly useful for plain English in the manual, though.
 
8:45 AM
Hello, anyone familiar with the symfony API issue of Access to XMLHttpRequest at 'http://127.0.0.1:3001/socket.io/?EIO=4&transport=polling&t=NYhEUZ6' from origin 'https://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. I'm using Symfony with Ratchet and on the frontend Vue with vue-socket.io-extended. I've tried installing cors bundle on symfony, I've tried adding headers in the index.php, any suggestions?
 
@mickmackusa regardless of PSR-12 or any other standard. treating =& as a single operator gives a far better mental model of what is happening
there is no separate "make a reference" operator in PHP
there is "assign by reference", "pass by reference", and "return by reference" (I may have missed one)
and, crucially, assigning by reference affects both sides of the operator; they become a "reference set", where modifying either name affects the other
 
@nikic
just wanna double check if you neeed anything
never received an answer via mail from you or rasmus
about github org
 
@somnium We're good on that front
 
k
ah right your an owner now too, totally forgot abotu that one
i guess i made rasmus an owner in the past
 
9:17 AM
does anyone know if you can write a webservice response to a file, without loading the entire response into memory? Webservice is returning a base64 string which is stored in memory, decoded and written to a file, but files are getting larger and larger..
 
9:33 AM
good mornings
@Naruto: What kind of webservice? you can stream into a tmp stream which first uses memory and then disk. also a string filter on the stream might be useful to decode the base64 string on the fly.
 
Wdym by kind of webservice? We are (unfortunatly) using SOAP, but I'm trying to get rid of the memory part as much as possible
 
9:52 AM
@hakre does this skip / reduce memory usage? fwrite($fp, $this->result($login, $remotefilepath));
 
@Naruto you need to go deeper than that: by the time you're getting the data as a string from $this->result() it's already in memory
you need to look at where the actual network (HTTP?) call to the API is happening, and get that code to write directly out to a file
 
\o
 
that might look like opening a file stream, and passing the handle to the HTTP client; or you might just tell the HTTP client the file name you want to write to
ah, just saw you're using SOAP; you have my sympathies ;)
I'm not sure if SoapClient has a way to redirect the output; if it's just one call that has this requirement, it might be worth crafting the XML directly so you can control the HTTP request with something like Guzzle
assuming that's what you're using
 
I am not sure if the webservice (not made by us) will allow us to get the result directly, I might have to ask them if that's possible, but I'm going to have a look at Guzzle and how I might handle that, seems like a very nice plugin if it can work with that
 
10:07 AM
co-operation from the owners of the web service might make things easier, but isn't necessary for what I just suggested
 
@NikiC I'm OK on the mirrors hard coding
proably should have done that earlier tbh
 
SOAP is just XML over HTTP with some over-engineering on top; the SoapClient class just generates the XML and HTTP requests for you, but it's not too hard to craft them yourself
and at that point, you have control over where the HTTP response goes, and could stream it into a file
 
not too hard until you hit one of the 2¹⁰ edge cases
and broken interoperability
 
well, yeah, but that's true of using a "proper" SOAP library as well
easier when you're writing a client for one specific server, because you can mostly bash it until it works
brb, just having trauma flashbacks to getting a PHP 4 SOAP server to meet the requirements of someone using point-and-click to create a client in early ASP.net ;)
 
@MarkR why force once per request mapping, and lower case names ?
lc names are an implementation detail, it's very strange to require a case for anything in php, class names are case insensitive ...
the once per request mapping prohibits implementing the things jordi would want, I assume he's the main sort of target for the thing ...
also, this 5% figure ... was that obtained in a proper production environment, with no debug symbols, with opcache loaded and with jit enabled ?
 
10:26 AM
@JoeWatkins I think it's mostly because multiple maps might negate the performance benefits, as you'll need n hashmap lookups in the worst case.
 
why do you need multiple maps ?
hmm
 
@JoeWatkins Maybe I misunderstood. Weren't you asking why you can't register multiple maps?
 
I was only actually referring to this
(you can only call set once)
but I think the prepend stuff would require multiple maps anyway
 
@JoeWatkins Oh I see. Not sure if there's a reason for that.
Although I suspect if you'll have to start merging maps in userland the performance benefits might also be negated.
(In case you could set it multiple times, but only with one map)
 
yeah jordi is requesting a different kind of api that allows prepend
but my brain is a bit fuzzy right now and I can't brain if that will need more than one map, or we can just merge on set as he seems to want ...
 
10:34 AM
@JoeWatkins I guess not necessarily, but merging maps will also be expensive (although that could probably be cached). Also, removing maps individually would be impossible as merging maps would lead to data loss (in case a file is registered in both maps, we'd pick the former or latter for the final map).
 
yeah, and in the end, we'll have built a super complex API around what is essentially a super global ...
if it was 15 years ago, we could have just had the superglobal ...
I dunno that there's really anything to win here ...
 
10:59 AM
@IMSoP thx for the help so far!
 
Morning
 
11:30 AM
you were 6 minutes too late for that to be the right greeting in my timezone :)
 
You should probably report that as a bug. Derick will fix it.
 
pfft!
 
Morning (UTC-6)
(I took a nap)
 
greetings from UTC+1
 
:P
Oh, I guess I'm technically UTC-5 currently
Time math is hard
 
11:48 AM
that's why we leave it to Derick :P
 
Not hard, rather confusing
plus knowing a bunch of localization stuff
 
I always get it wrong the first time attempt
 
my boy is doing maths homework ... I think they added some new numbers ... at least "BOOM", and "FUUUUCKERRRR" ...
 
Typical math solving
Math is awesome, is just taught wrong mostly
people who teach it lack the pedagogical approach
 
12:08 PM
Does anyone have experience in implementing HTTP2 and having trouble downloading files on an IOS device?
 
cmb
12:18 PM
@Derick, please see see 3v4l.org/8cKhi. Why does this report an error?
 
@cmb There is no month number 14, maybe?
 
yes, and check what year/month/days are returned
 
cmb
ah, thanks!
 
hoorah for inside-out date formats :(
 
12:41 PM
@P2GR do you have a specific question? you're unlikely to garner a response with general questions
that is, if you have an error, state or explain the error provided with a code sample; if you're encountering a problem, explain the problem and what you're expecting; so on and so on
 
1:09 PM
@Naruto Are you using SoapClient for Soap? OTTOMH it is based on DomDocument which is in memory. It is memory optimized thought, so a couple of megabytes are normally not a problem at all. It must not stop there though, you can rip out the implementation by extending it and replace for example the transport part and with that also how to handle responses. E.g. using curl, you can stream the HTTP response body to a file handle and return it.
 
@hakre yes we are using soap, it was the only way we could find that would work with their webservice
tbh, I'm doubting if I use the word webservice right in this context
 
@Naruto yes, webservice is very much in context of Soap
Are you running into actual memory issues while operating? or do you want to prevent potential ones?
 
little bit of both
 
so you here it knocking. what is the size of the responses?
 
the largest I've seen come in so far was +- 2GB
the code we have is just a mess tbh, they load the entire xml in memory and use simplexml to loop over it and process it, I'm basicly rewriting that aswell to just read node per node from xml file
 
1:23 PM
2GB is kind of a landmark. If you read node per node you could try to iterate over those with XMLReader and then expand each of them into simplexml so it could appear as current just w/ a slightly different iteration strategy.
and if the nodes are simple or their textContents is a large base64 chunk, instead of expanding the node, string processing might be even more straight forward.
 
I've rewritten that code to xmlreader with simplexml this morning, that works fine now
the only thing that is bothering me to this point is the time it takes to get the data and then write it to a file, which occasionally crashes if the file is too big
 
@Naruto this might be something worth writing in a different language, that is better able to process that much data. The push the results into whatever storage you're using.
 
have you looked into using SoapClient only to build the request and then fire it with curl and stream the response? Or are you hitting limits with XMLReader::open()?
 
2GB of xml is a quite a lot...
 
With XMLReader 2GB should not be an issue. I've streamed compressed XML in larger sizes with it and it was straight forward.
 
1:30 PM
the thing that feels really intuitive about this webservice is that we have to send them an xml file with what we want to do and they they gerenrate theirs based on what we asked
@hakre do you mean use soapclient to do what we normally do and then use curl to download the resultfile?
 
@Naruto exactly.
The PHP test-suite may contain an example for that as in testing SoapClient they put the network out of the equation for better testing.
And I remember an example on SO on how to add curl in the middle but I couldn't look it up quickly until now.
 
I'm going to try and set something like that up, see what I can come up with, thx already, I guess I can use danacks curlopt_writefunction with that probably
 
> last message 933d ago
welcome back azjezz...
 
been a while :p
 
Hasn't the interface and capabilities of this chat room changed so much in that time?
 
1:37 PM
@Danack This is satirical, yes?
 
italics == /s
Jan 20 '17 at 19:13, by Danack
@PeeHaa this chat system is better than slack (imho). If they'd monetised it and forget the stupid question and answer rubbish, they'd have way more revenue.
 
looks like a website from 2006, that the owner forgot about.
 
lol
 
@azjezz I'd rather say it's timeless
Simply no fancy shit nobody needs
 
that's what IRC is for
Yet you are here like the rest of us for the "fancier shit"
 
1:41 PM
@ln-s IRC lacks one central capability: being able to be pinged / read on an interesting conversation up afterwards
 
Which is a personal preference to call that fancier shit or not
 
Some other dude could say, hey, irc logs
 
@ln-s which you need to make available and doesn't integrate
 
But you are missing the point, this chat clearly lacks some features, you called those features "no fancy shit nobody needs", another person could easily state the same about IRC vs this
It is subjective to the user
 
1:44 PM
@ln-s i prefer fancier shit, this chatroom is not considered "fancy" in my book.
 
I would tweak a thing or two, specially this awful resizable text area
 
a friend of mine had a remote server running a text-based IRC client continuously in a screen session so he could log in any time and scroll back, see pings, etc
 
I used to do that
 
Anyway @azjezz cool that you're playing with Fibers :-D
 
irssi + screen or tmux
 
1:45 PM
@ln-s i have to zoom to be able to read anything lol
 
lol
 
@azjezz I do 110% but I feel ya.
 
@bwoebi fancy generators!
 
@azjezz Microsoft Comic Chat fancy enough for you? ;)
 
@azjezz heh, but yes
 
1:48 PM
@IMSoP wow, didn't know that was a thing
 
MS comic chat was funny
 
@Trowski eih, what is github.com/amphp/amp/blob/v3-revolt/composer.json#L51 by chance? Looks like a private repo?
 
@azjezz ah okay, but why isn't that part of amphp?
 
Last time i spoke with Niklas, i think it was a collaboration between Amp and React, to have 1 event loop package, so both Amp and React packages can be used together. ( also planning to switch github.com/azjezz/psl/pull/161 to it once it's public, but i think they are still experimenting with it )
 
2:00 PM
Makes sense, though I'd loved to also be able to see what's going on there :-D
 
@bwoebi Yep, what @azjezz said. Separate event-loop and promise/future libraries.
Private to keep the noise down for now.
 
@Trowski okay thanks - where are you even communicating? At least not in the amphp IRC
 
@bwoebi Private room on gitter.im.
Added.
 
2:26 PM
@Trowski ty, everything now makes some actual sense to me :-)
 
@kelunik came up with a future design without callbacks that is quite nice. :D
 
@Trowski well, it's just deferring the callbacks into state class, but yeah I like that
 
Yeah, callback-less from a public API perspective.
 
Morning
 
2:53 PM
o/
 
you still not got access back to your account? :-/
 
Didn't put a lot of effort in yet tbh
 
Did @Jeeves become sentient?
 
I have just pinged @Machavity in a room where he is pingable
 
\o/
 
2:59 PM
Apr 1 at 0:09, by Ekin
@StatikStasis ^ he doesn't remember his SO login email :-P and he's on a new laptop, soooo ping Jeeves or me if you want to tell PeeHaa something
 
Ha!
 
@NikiC it's @PeeHaa, he locked himself out of his account by being unreasonably lazy/cheap, not sure which
 
Probably all of the above
 
Isn't there a "Forgot password" option?
 
3:03 PM
yeh but not "forgot email" :-P
 
3:15 PM
I dunno. It's kinda nice to talk about Peehaa when he's not around :P
 
:D
 
So... you forgot the email tied to the account?
 
Yeah I did. Can I come back to you in a few. Got sucked into a work meeting ATM :(
 
3:36 PM
@NikiC What's the flow for upgrading the wiki? Should I create a PR or be part of the organization or be an external collaborator for that repo?
 
@kelunik I sent you an invite
 
@NikiC Thanks, accepted.
 
3:53 PM
@Dharman (facepalm) the ol' "you can lead a horse to water but can't make them drink"
 
@hppycoder Are you referring to the recent question?
 
Yup
 
This must be some troll
I flagged it for moderator attention
 
Aren't you a moderator? haha
 
lol, not yet
 
3:56 PM
lol, i'm clearly not either
 
@Machavity can you see email accounts of users?
Or is that only employees?
 
Mods can see all, except votes
 
@Jeeves I can... but I'm not allowed to disclose it in general. What I can do is send you a mod message and that would email your account
 
You can tell me, I'm a doctor
 
@Machavity That might work
Let's try that
 
4:01 PM
Ok, mod message sent
 
@cmb Anything else on WeakMaps? I don't want to nudge, but I also don't want us staring at each other waiting for the other. :-)
(And since you had comments before, self-merging seems unwise.)
 
@Machavity thanks
 
4:26 PM
irked that this comment links to an external source... tempted to delete: php.net/manual/en/function.dba-insert.php#68107
...after I reset my password that is
 
@Tiffany Did you hear that the "dad" from Friday Night Dinner died?
 
@Derick yes! :( :( :(
brain tumor :(
 
RIP Paul Ritter
 
I didn't realize he was in his 50s
 
cmb
@Tiffany killed. Thanks!
 
4:52 PM
@Jeeves o/ had to drop in and give you grief for getting locked out of your account :-P
 
:D <3
 
5:11 PM
@cmb @nikic the full response for 80931 is gist.github.com/Danack/348b1817cdd4d667c47acaeaf9f78d07 ....the content length appears to be incorrect....right?
content-length: 464
The actual string length of the body is 419
 
5:27 PM
morns
 
5:42 PM
.....I misscopied the string....
 
@Danack How many hours did you lose to it?
 
5:57 PM
none. not my bug.
 
Even after all those dots :P
 
6:11 PM
@Derick 2692 files changed, 35365 insertions(+), 102210 deletions(-) :o
 
a good patch level upgrade :p
 
@NikiC I suppose this is a question for you.

internally, is the triple comparison operator mor eperformant somehow rather than just if($a) ?

function test(bool $a){ if(true === $a){ echo "yes\n";}}
 
It might be slower than even just ==
 
wow really
 
@ln-s I would assume it depends
 
6:19 PM
Because prior to PHP 8.0 doing === null was slower then is_null()
Well "slower"
Worse opcode
 
Yes I'm looking for what is better "worse" (heavy quotation)
Thanks @Girgias
 
But you really shouldn't care about that, as it's micro micro benchmarks, and even then it should be a PHP thing to fix
 
I know, Im just finding valid technical points for coding styles rather than "Matt likes it this way"
 
That's far from a valid point tbh
 
Just a small cherry the heavy points are mostly readability relevant rather than that
I just want to cover all angles
Thanks again
 
6:23 PM
Well if you want peak performance you shouldn't be using == when you know both operands are of the same time because prior to PHP 8.0 it was doing some extra round trips, and I'm pretty sure no one is going to agree that's a great idea to do because you lose the security of ===
 
however if the parameter of the function is explicitly set to a type tho
function a(bool $test){}
 
6:40 PM
@beberlei dokuwiki changed a lot of things, auth plugin and probably also the vote plugin needs an upgrade.
 
@ln-s Hard to say
This would be a TYPE_CHECK with smart branch vs a JMPZ
At a guess I'd think just if() would be more efficient
(I would consider === true bad style myself.)
 
@Jeeves Still no luck on the account?
 
7:00 PM
async function addFromString work incorrect ・ Zip Related ・ #80940
 
cmb
7:14 PM
@Danack the content-length is likely irrelevant here anyway.
 
7:30 PM
@cmb do you know what it's likely to be? i.e. can I stop thinking about it?
the difference does seem to be from the remote server. Php8:
poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 60000
strace: Process 1055 detached i.e. has no more events.
php 7:
poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 60000) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "", 8192, MSG_DONTWAIT, NULL, NULL) = 0
close(3)                                = 0
 
@NikiC yep
Thank you
 
cmb
@Danack that's an IIS; maybe it doesn't support PHP 8 any longer ;)
I think that something with the PHP streams implementation must have changed, but I have no clue where to look.
@Crell I'm having a look; that totally clashes with the ext Weakmap class; if I visit the core class, the menu shows the WeakRef extension. Likely poor PhD can't handle duplicate class names. I'm considering to remove the ext/WeakRef docs. The extension is likely unusable as of PHP 7.3.0 anyway.
 
7:45 PM
is it possible to do throw new \Exception('<element> not found'); without it trying to turn the <element> tag into HTML?
 
Don't render exceptions as is on an html page
 
this will be ran on command-line
I don't want rendering at all, I just want to be as specific as possible in the exception message
 
How would cli turn anything into an HTML element?
 
it wouldn't
I don't want rendering
I just want to specify <element> in the message
 
yeah...where/what does it look like "rendered"?
 
7:47 PM
I am too confused in just three replies :P
 
I'm traversing a DOM, if it doesn't find an element, I want to say "<element> wasn't found" ... there's a chance a null can be returned
trying to capture the null
 
@Machavity Still locked out. Might need to bring it up with higher-ups and let the room vouch for me :P Worst case I can just create new account and not much of value will be lost either I guess
 
yeah, but where/what does it look like "rendered"?
aka we don't know what you're asking.
 
@Tiffany PHP doesn't convert arbitrary tag looking things into HTML
It's just a string
 
7:52 PM
Ok so ?
if (is_null($contentNode)) {
throw new \Exception('<content> element could not be found.');
}
What's the problem
also dom0 arigatou mister roboto typo on line 5 :D
 
@Tiffany this is a rare case where maybe a screenshot of it 'rendered' might be useful...
 
phpstorm is being annoying I guess...
 
@Jeeves I'll reach out to a CM and get some advice on what can be done
 
You can ignore that, it's a false error from the IDE
 
phpstorm has a noinspect tag that you can use
 
7:54 PM
@Tiffany PHPStorm will always show xml/html tags that way, you can just ignore them.
 
also use single quotes
 
not sure if it can be disabled, never bothered to check.
 
nothing to be expanded there
 
single/double quotes do the same thing
 
@Machavity Awesome!
 
7:55 PM
I happened to have double quotes in the example cause I was curious if it would react differently than single quotes, just haven't changed it back
 
No single quotes dont expand variables '$this'
 
I know
 
tbh, a lot of the PHPstorm inspections for html paths and files are annoying...
 
string interpolation
 
@Danack yea, i don't even remember the last time i wrote HTML in a PHP file.
 
7:56 PM
same
 
@Tiffany I'd recommend disabling it, by clicking the lightbulb, and finding the disable inspection...
 
All my templates are technically php files
But yeah there are a lot of inspections that make no sense and/or only get in the way
 
.....wouldn't it be ironic if my current project has switched back to writing raw html in PHP files, without even a front controller on the scene.....
 
I suppose it has to do if you know the language well or not
sometimes they help
 
@Danack Honestly, I hate every template engine I ever tried
 
7:58 PM
@Jeeves in-house template engine
:P
 
The thing i hate about using PHP instead of e.g Twig is that it allows logic to leak into the template too easily
 
I barely understand ours, fortunately I don't have to write much in it. Though, we'd probably use Twig now, if given the choice.
 
I prefer blade or latte
 
00:00 - 20:0020:00 - 00:00

« first day (3826 days earlier)      last day (1136 days later) »