,
_______ __ ____________2011. __________ .. | . ____________.. __ ______________2011. |
230113.51
1 - 2
:
1.
.
:
1. + ()
2. & ()
3.: ()
4.. ()
2.
.
:
1. $b = array("a"=>1, "b"=>2, "c"=>3);
2. $b = array[] {"a", "b", "c"};
3. $b = array("a", "b", "c");
4. $b = array("a"->1, "b"->2, "c"->3);
3.
PHP
:
1. is_int()
2. object()
3. is_double()
4. is_array()
4.
:
1.
2.
5.
PHP
:
1. 3
2. 4
3. 5
4. 6
6.
:
1. ,
2. ,
3. ,
4. ,
7.
:
1. "asdf\"
2. "asdf"
3. 'as\\df'
4. "a\rs\nd\tf"
8.
:
1.
2.
9.
PHP
:
1. , .
2. 1
3.
4. , .
10.
|
|
:
1. if
2. else
3. then
4. elseif
11.
time()
:
1.
2.
3.
4.
12.
PHP
:
1.
2.
3.
4.
13.
:
echo(int)'1 2009 ';
:
1. 2009
2. 12009
3. false
4. 1
14.
, PHP
:
1.
2.
3.
4.
15.
:
1. >, >=
2. =, ==
3. +=, *=
4.!==,!===
16.
AND PHP
:
1. AND
2. &
3. And
4. &&
17.
:
print_r("Hello World", true);
:
1. Hello World
2. true
3.
4.
18.
PHP
:
1. string
2. float
3. char
4. object
19.
php
:
1. <# echo "Plain text" #>
2. <?php echo "Plain text";?>
3. <?php echo "Plain Text"?>
4. <script language='php'> echo "Plain Text" </script>
20.