Hirdetés
- Poco F8 Ultra – forrónaci
- Yettel topik
- iPhone topik
- Samsung Galaxy S20 és S20+ duplateszt
- Honor Magic8 Pro - bevált recept kölcsönvett hozzávalókkal
- Milyen okostelefont vegyek?
- One mobilszolgáltatások
- Poco X8 Pro Max - nem kell ide sem bank, sem akkubank
- Xiaomi 15T Pro - a téma nincs lezárva
- Samsung Galaxy S25 Ultra - titán keret, acélos teljesítmény
-
Mobilarena

Új hozzászólás Aktív témák
-
FehérHolló
veterán
Nem hinném. A PHP stringfeldolgozása bekavarhat a verziótól függően. Mindjárt keresek példát php.net-en.
Szerk.:
Always use quotes around a string literal array index. For example, $foo['bar'] is correct, while $foo[bar] is not. But why? It is common to encounter this kind of syntax in old scripts:
<?php
$foo[bar] = 'enemy';
echo $foo[bar];
// etc
?>This is wrong, but it works. The reason is that this code has an undefined constant (bar) rather than a string ('bar' - notice the quotes). PHP may in future define constants which, unfortunately for such code, have the same name. It works because PHP automatically converts a bare string (an unquoted string which does not correspond to any known symbol) into a string which contains the bare string. For instance, if there is no defined constant named bar, then PHP will substitute in the string 'bar' and use that.
Ezek szerint tényleg mindegy. Ettől függetlenül kipróbálnám " jellel.
Új hozzászólás Aktív témák
● olvasd el a téma összefoglalót!
- HIBÁTLAN iPhone 17 Pro Max 256GB Deep Blue-1 ÉV GARANCIA - Kártyafüggetlen, 100% Akksi
- LG 27UP650K-W - IPS LED - 3840x2160 4K - 60Hz 5ms - DisplayHDR 400 - AMD FreeSync
- ÁRGARANCIA!Épített KomPhone Ryzen 5 7600X 32/64GB RAM RX 9060XT 16GB GAMER PC termékbeszámítással
- Telefon felvásárlás!! Samsung Galaxy S24/Samsung Galaxy S24+/Samsung Galaxy S24 Ultra
- MS SQL Server 2016, 2017, 2019
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest


