PHP 4

[ PHP ]

(!!! Teleportom!!!)
: fopen, msql_num_fields, socket_write ...


8.

() . , . (' ' __FILE__ __LINE__ , .) . .

, PHP. () , \- , . , : [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*

: , , a-z, A-Z ASCII- 127 255 (0x7f-0xff).

- , .

define(). , /undefined.

(boolean, integer, float string) .

, . , $. constant() , . get_defined_constants() .

: () . , , , TRUE $TRUE .

/undefined , PHP , . /notice . defined(), , .

:

8-1.
<?php
define("CONSTANT", "Hello world.");
echo CONSTANT; //  "Hello world."
echo Constant; //  "Constant"  .
?>

PHP
php

: 3119 .

: - |  -