: " -"
: php-
1 ( )
1. info.php .
php-, print echo " ".
) : PHP_VERSION , phpversion(). , "" "".
) !
2. -.
3. , .. info.php ( , -, !).
4. here-doc now-doc .
) $labNum, , 1.
) here-doc html-, ( ) " ", php-. .
) here-doc now-doc .
5. phpinfo().
( - , , http-, .). , .
. .
, , : int ( integer), double ( float, real), string, array, object.
, (.. ).
, .
:
- , .. , ;
- (, ), .
2 ( )
php-
) "12abc"+1
) "-12abc"+3
) "-12.1"+3
) "-12.1abc"+3
.
. , ( ).
) html- php- .
) , "here-doc".
.