Hirdetés
- Milyen processzort vegyek?
- Vezetékes FÜLhallgatók
- AMD K6-III, és minden ami RETRO - Oldschool tuning
- Milyen SSD-t vegyek?
- Projektor topic
- Milyen CPU léghűtést vegyek?
- Kormányok / autós szimulátorok topikja
- Nagyon gyorsan búcsút mondhatunk az olcsó notebookoknak
- Öszvér módszerrel veszi fel a harcot a memóriapánikkal szemben az ASRock
- Az ötlet jó, de milyen a kivitelezés? Teszten a Chieftec Kockája
Új hozzászólás Aktív témák
-
Soak
veterán
válasz
Sk8erPeter
#12623
üzenetére
Tudom, azt is tudom mi okozza, de attól még érdekes

-
Sk8erPeter
nagyúr
3 egyenlőségjel használata esetén nem fogja kiírni.
Bővebben:
http://php.net/manual/en/language.operators.comparison.php
If you compare a number with a string or the comparison involves numerical strings, then each string is converted to a number and the comparison performed numerically. These rules also apply to the switch statement. The type conversion does not take place when the comparison is === or !== as this involves comparing the type as well as the value.
<?php
var_dump(0 == "a"); // 0 == 0 -> true
var_dump("1" == "01"); // 1 == 1 -> true
var_dump("10" == "1e1"); // 10 == 10 -> true
var_dump(100 == "1e2"); // 100 == 100 -> true
switch ("a") {
case 0:
echo "0";
break;
case "a": // never reached because "a" is already matched with 0
echo "a";
break;
} -
Soak
veterán
Azért ez tetszett : http://ideone.com/kaImZ6
Új hozzászólás Aktív témák
- REFURBISHED - DELL Performance Dock WD19DCS (210-AZBN)
- BESZÁMÍTÁS! MSI B450M R5 5600X 32GB DDR4 512GB SSD RX 6800 16GB Zalman Z1 PLUS Cooler Master 750W
- Telefon felvásárlás!! Samsung Galaxy S23/Samsung Galaxy S23+/Samsung Galaxy S23 Ultra
- 179 - 180 - 189 - 190 - Lenovo LOQ (15IRX9) - Intel Core i7-13650HX, RTX 4060
- Acer TravelMate P214 i3-1115G4 16GB 512GB 14" FHD 1év garancia
Állásajánlatok
Cég: BroadBit Hungary Kft.
Város: Budakeszi
Cég: ATW Internet Kft.
Város: Budapest



