| php-manual.net |
|
| Home | PHP Manual auf Deutsch | PHP Manual in English | PHP manuel le sur le français | Impressum |
Software
Andere Inkompatibilitäten
Example#1 Migration from 2.0: concatenation for strings
echo "1" + "1";
In PHP 2.0 würde dies 11 ausgeben, in PHP 3.0 2. Verwenden Sie stattdessen:
echo "1"."1";
$a = 1;Dies würde sowohl in PHP 2.0 als auch in 3.0 2 ausgeben.
$a = 1; |