|
Professional PHP touchers... Do you find yourselfs using private and public and constants with the language? I'm going through PHP Panda as a refresher for a interview I have next week and they devote alot of time towards that, but I don't think i've ever really used those properties. Thanks for the help.
|
# ¿ Dec 29, 2021 20:39 |
|
|
# ¿ May 17, 2024 17:20 |
|
Nah not really, I'd perfer to use them since it makes the language more like Java or C#, but I didn't want to do it and then have people be like "What are you doing? I can't read this!".
|
# ¿ Dec 29, 2021 21:15 |
|
Excellent alright, thank you very much. It's hard to find what to expect for a PHP interview so I'm just hoping there isn't a bunch of algorithm questions lol.
|
# ¿ Dec 29, 2021 21:21 |
|
Thank you all for the posts. I didn't actually know Interfaces were that highly used but thats good because I like using them. It seems like PHP has matured alot lately which is probably great for you hardcore PHP developers!
|
# ¿ Jan 2, 2022 01:03 |
|
I've been getting some help in the WordPress thread with Gravity Forms but I feel bad bugging one person about it. Anyways, i'm trying to programatically reset the cost of some items to $0, and this code kinda works. Trouble is that I can't seem to get it to actually return the value out of the foreach loop. I feel like i'm missing something obvious. The price is correctly updated in the loop but outside it doesn't seem to want to update. Wondering if anyone can help. Thanks!!code:
|
# ¿ Apr 1, 2022 01:45 |
|
You're a genious omg you just saved me hours.
|
# ¿ Apr 1, 2022 02:19 |
|
|
# ¿ May 17, 2024 17:20 |
|
e; Figured it out! It was a error with the if then statement :v
aperfectcirclefan fucked around with this message at 21:47 on Apr 9, 2022 |
# ¿ Apr 9, 2022 21:23 |