Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Touhou Cirno Radio / chiru.no

Name: Anonymous 2017-10-06 21:50

What are your thoughts on this amazing piece of open source software?
https://gitgud.io/chiru.no/chiru.no

yes, this is programming related

Name: noko 2017-10-13 15:59

Basically what I meant is that instead of array_keys($_GET)[0] === 'favorites' You can do isset($_GET['favourites']) which should be faster in most cases. But an easier solution is like he said, storing array_keys($_GET)[0] in a variable and using that.

So you can put $firstget = array_keys($_GET)[0] at the top, and then replace every array_keys($_GET)[0] with $firstget.

Your current changes will break your site, so don't actually use it.

Also, thanks again for the site.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List