![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 45 Pomógł: 0 Dołączył: 18.09.2006 Ostrzeżenie: (0%) ![]() ![]() |
i co dziwne echuje 'zero' Pytanie, dlaczego? -------------------- Blog - programowanie, webdesign, Symfony
|
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 30 Pomógł: 0 Dołączył: 19.11.2006 Ostrzeżenie: (0%) ![]() ![]() |
Nie jestem pewny... ale być może dlatego, że $value jest typu string a Ty porównujesz tą zmienną z integerem.
-------------------- Sprzęt: Athlon64 3800+, 2GB RAM, Radeon X850
Oprogramowanie: WinXP/Ubuntu 7.10(Gnome+Beryl), Notepad2, Opera 9.50/Firefox 3, MirandaIM 0.7.3 |
|
|
![]()
Post
#3
|
|
![]() Grupa: Zarejestrowani Postów: 191 Pomógł: 5 Dołączył: 13.01.2007 Ostrzeżenie: (0%) ![]() ![]() |
zmienna $value jest konwertowana do int'a i przybiera wartość 0
-------------------- "Don't tell me you want a bridge - show me the canyon you want to cross" Giuseppe Delena
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 45 Pomógł: 0 Dołączył: 18.09.2006 Ostrzeżenie: (0%) ![]() ![]() |
Hm, to ma sens
![]() -------------------- Blog - programowanie, webdesign, Symfony
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 20:14 |