Drew@sopuli.xyz to Microblog Memes@lemmy.worldEnglish · 1 day agoThanks, chatGPTsopuli.xyzimagemessage-square92fedilinkarrow-up1779arrow-down113
arrow-up1766arrow-down1imageThanks, chatGPTsopuli.xyzDrew@sopuli.xyz to Microblog Memes@lemmy.worldEnglish · 1 day agomessage-square92fedilink
minus-squarevfscanf@discuss.tchncs.delinkfedilinkEnglisharrow-up40arrow-down2·23 hours ago$prompt = str_replace('please', '', $prompt); $prompt = str_replace('thank you', '', $prompt); You’re welcome
minus-squarevoodooattack@lemmy.worldlinkfedilinkEnglisharrow-up38arrow-down1·21 hours agoPlease use spoiler tags for random PHP snippets. I’d rather not be casually traumatised
minus-squareTrailblazing Braille Taser@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up9·16 hours agoWould you have preferred an awk script?
minus-squarevoodooattack@lemmy.worldlinkfedilinkEnglisharrow-up2·13 hours agoHell yes. At least awk makes sense if you stare at it long enough. A typical PHP codebase though? No thanks
$prompt = str_replace('please', '', $prompt); $prompt = str_replace('thank you', '', $prompt);
You’re welcome
Please use spoiler tags for random PHP snippets. I’d rather not be casually traumatised
Would you have preferred an awk script?
Hell yes. At least awk makes sense if you stare at it long enough. A typical PHP codebase though? No thanks
Sorry :-/
Fellow PHP enjoyer. Splendid.
for your service.