Moderators: They make you lose count(Longest thread still alive!)

  • FTB will be shutting down this forum by the end of July. To participate in our community discussions, please join our Discord! https://ftb.team/discord

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
31 well, I can use a count :p
or apparently I can use array_pop()
Which is the same as end() except that it also deletes the element (and resets the pointer)
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
32 Well, there you go. PHP arrays are stacks in and of themselves, although the push and peek methods have different names.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
33 as I already said, the code itself would probably not be that hard. Its fixing the rest of my code to work using this new way that is the problem (though, more thanks to the amount of work vs the amount of time I have left before I need to show it then anything else).