![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 60 Pomógł: 0 Dołączył: 8.03.2010 Skąd: Zielona Góra Ostrzeżenie: (0%) ![]() ![]() |
Witam.
Mam coś takiego:
Potrzebuję to do zrobienia liderów z danych kategorii. To co napisałem działa bardzo dobrze, ale coś czuję że jest bardzo mało logicznie/profesjonalnie/dobrze... (IMG:style_emoticons/default/smile.gif) Jestem perfekcjonistą, i skoro już coś robię, to chcę to zrobić dobrze. A więc jak zrobić to logicznie/profesjonalnie/dobrze? BTW. $show = $_POST['show'] Ten post edytował pawel.ad 26.03.2010, 20:11:10 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 580 Pomógł: 85 Dołączył: 25.03.2010 Skąd: Skrzyszów :) Ostrzeżenie: (0%) ![]() ![]() |
"array_key_exists(), at least in 5.2.4, passes the array by value. I conclude this from seeing performance worsen as the array to search got bigger. isset() doesn't have this problem."
performance Wierzę im na słowo honoru (IMG:style_emoticons/default/czarodziej.gif) PS. a jeśli ktoś nie jest taki ufny jak ja może bez problemu przeprowadzić testy (IMG:style_emoticons/default/smile.gif) Chętnie dowiem się, że miałem rację (IMG:style_emoticons/default/aarambo.gif) Ten post edytował zend 26.03.2010, 22:04:51 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 8.10.2025 - 10:51 |